Searched refs:last_item (Results 1 – 5 of 5) sorted by relevance
82 mib_item_t *last_item = nilp(mib_item_t); in mibget() local117 for (last_item = first_item; last_item; in mibget()118 last_item = last_item->next_item) in mibget()120 last_item->group, in mibget()121 last_item->mib_id, in mibget()122 last_item->length); in mibget()168 if (last_item) in mibget()169 last_item->next_item = temp; in mibget()172 last_item = temp; in mibget()173 last_item->next_item = nilp(mib_item_t); in mibget()[all …]
451 mib_item_t *last_item = NULL; in mibget() local487 for (last_item = first_item; last_item; in mibget()488 last_item = last_item->next_item) in mibget()490 last_item->group, in mibget()491 last_item->mib_id, in mibget()492 last_item->length); in mibget()543 if (last_item) in mibget()544 last_item->next_item = temp; in mibget()547 last_item = temp; in mibget()548 last_item->next_item = NULL; in mibget()[all …]
3068 mib_item_t *last_item = NULL; in mibget() local3104 for (last_item = first_item; last_item != NULL; in mibget()3105 last_item = last_item->next_item) { in mibget()3107 ++i, last_item->group, in mibget()3108 last_item->mib_id, in mibget()3109 last_item->length); in mibget()3158 if (last_item != NULL) in mibget()3159 last_item->next_item = temp; in mibget()3162 last_item = temp; in mibget()3163 last_item->next_item = NULL; in mibget()[all …]
2911 mib_item_t *last_item = NULL; in mibwalk() local3035 if (last_item != NULL) in mibwalk()3036 last_item->mi_next = tmp; in mibwalk()3039 last_item = tmp; in mibwalk()3040 last_item->mi_next = NULL; in mibwalk()3041 last_item->mi_opthdr = *optp; in mibwalk()3042 last_item->mi_valp = malloc(optp->len); in mibwalk()3043 if (last_item->mi_valp == NULL) { in mibwalk()3048 databuf.maxlen = last_item->mi_opthdr.len; in mibwalk()3049 databuf.buf = (char *)last_item->mi_valp; in mibwalk()
1142 mib_item_t *last_item = NULL; in mibget() local1185 for (last_item = first_item; last_item; in mibget()1186 last_item = last_item->next_item) in mibget()1189 last_item->group, in mibget()1190 last_item->mib_id, in mibget()1191 last_item->length); in mibget()1240 if (last_item != NULL) in mibget()1241 last_item->next_item = temp; in mibget()1244 last_item = temp; in mibget()1245 last_item->next_item = NULL; in mibget()[all …]