Lines Matching defs:zRunner
143 entPhysicalEntry_t *zRunner;
144 zRunner = gPhysicalTableHead;
146 while (zRunner) {
147 if (zRunner->entPhysicalIndex > 0)
149 zRunner = zRunner->pNextEntry;
152 if (zRunner == NULL) return NULL;
154 *my_loop_context = (void *)zRunner;
155 *my_data_context = (void *)zRunner;
159 snmp_set_var_value(vptr, (u_char *)&zRunner->entPhysicalIndex, sizeof(zRunner->entPhysicalIndex));
180 entPhysicalEntry_t *zRunner;
182 zRunner = (entPhysicalEntry_t *) *my_loop_context;
184 while (zRunner) {
185 zRunner = zRunner->pNextEntry;
186 if (zRunner && zRunner->entPhysicalIndex > 0)
190 if (zRunner == NULL) return NULL;
192 *my_loop_context = (void *)zRunner;
193 *my_data_context = (void *)zRunner;
197 snmp_set_var_value(vptr, (u_char *)&zRunner->entPhysicalIndex, sizeof(zRunner->entPhysicalIndex));
824 entPhysicalEntry_t *zRunner, *temp;
827 zRunner = gPhysicalTableHead;
836 temp = zRunner;
837 while (zRunner != NULL) {
839 abs(zRunner->entPhysicalIndex)) {
840 temp = zRunner;
841 zRunner = zRunner->pNextEntry;
853 } else if (zRunner == NULL) {
859 abs(zRunner->entPhysicalIndex)) {
860 /* Index < zRunner, insert entry before it */
861 xnewPhysicalEntry->pNextEntry = zRunner;
862 if (zRunner == gPhysicalTableHead) {
878 zRunner = gPhysicalTableHead;
896 while (zRunner->pNextEntry != NULL) {
897 if ((abs(zRunner->pNextEntry->entPhysicalIndex)
898 - abs(zRunner->entPhysicalIndex)) > 1) {
899 temp = zRunner->pNextEntry;
900 zRunner->pNextEntry = xnewPhysicalEntry;
901 zIndex = abs(zRunner->entPhysicalIndex) + 1;
908 zRunner = zRunner->pNextEntry;
910 zIndex = abs(zRunner->entPhysicalIndex) + 1;
912 zRunner->pNextEntry = xnewPhysicalEntry;
926 entPhysicalEntry_t *zRunner;
934 zRunner = gPhysicalTableHead;
935 while (zRunner) {
936 zPhysicalIndex = zRunner->entPhysicalIndex;
939 return zRunner;
944 zRunner = zRunner->pNextEntry;
952 entPhysicalEntry_t *zRunner;
960 zRunner = gPhysicalTableHead;
961 while (zRunner) {
962 zPhysicalIndex = zRunner->entPhysicalIndex;
965 return zRunner;
970 zRunner = zRunner->pNextEntry;
1015 entPhysicalEntry_t *zRunner, *temp, *prevEntry;
1023 zRunner = gPhysicalTableHead;
1025 while (zRunner) {
1026 zPhysicalIndex = zRunner->entPhysicalIndex;
1044 temp = zRunner->pNextEntry;
1045 zRunner->pNextEntry = NULL;
1050 FreePhysicalEntry(zRunner);
1060 prevEntry = zRunner;
1061 zRunner = zRunner->pNextEntry;
1090 entPhysicalEntry_t *zRunner;
1098 zRunner = gPhysicalTableHead;
1100 while (zRunner) {
1101 zPhysicalIndex = zRunner->entPhysicalIndex;
1121 zRunner->entPhysicalIndex = -zPhysicalIndex;
1127 zRunner = zRunner->pNextEntry;
1135 entPhysicalEntry_t *zRunner;
1143 zRunner = gPhysicalTableHead;
1145 while (zRunner) {
1146 zPhysicalIndex = zRunner->entPhysicalIndex;
1152 zRunner->entPhysicalIndex = xPhysicalIndex;
1156 zRunner = zRunner->pNextEntry;
1167 entPhysicalEntry_t *zRunner;
1176 zRunner = gPhysicalTableHead;
1177 while (zRunner) {
1178 if (zRunner->entPhysicalContainedIn == parentIdx) {
1183 child_list[0] = zRunner->entPhysicalIndex;
1193 child_list[i] = zRunner->entPhysicalIndex;
1197 zRunner = zRunner->pNextEntry;