Home
last modified time | relevance | path

Searched refs:last_item (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c84 mib_item_t *last_item = nilp(mib_item_t); in mibget() local
119 for (last_item = first_item; last_item; in mibget()
120 last_item = last_item->next_item) in mibget()
122 last_item->group, in mibget()
123 last_item->mib_id, in mibget()
124 last_item->length); in mibget()
170 if (last_item) in mibget()
171 last_item->next_item = temp; in mibget()
174 last_item = temp; in mibget()
175 last_item->next_item = nilp(mib_item_t); in mibget()
[all …]
/titanic_41/usr/src/cmd/fs.d/cachefs/cachefspack/
H A Drules.c233 add_item(struct item *last_item, char *str, int flags) in add_item() argument
238 last_item = add_cmd_items(last_item, &str[1], bang_list_flags); in add_item()
240 last_item->i_next = (struct item *)mmalloc( in add_item()
242 last_item = last_item->i_next; in add_item()
243 last_item->i_str = mstrdup(str); in add_item()
244 last_item->i_flag = flags; in add_item()
245 last_item->i_next = (struct item *)0; in add_item()
247 return (last_item); in add_item()
251 add_cmd_items(struct item *last_item, char *str, int flags) in add_cmd_items() argument
282 last_item = add_item(last_item, s, flags); in add_cmd_items()
[all …]
/titanic_41/usr/src/cmd/rpcsvc/
H A Drstat_proc.c453 mib_item_t *last_item = NULL; in mibget() local
489 for (last_item = first_item; last_item; in mibget()
490 last_item = last_item->next_item) in mibget()
492 last_item->group, in mibget()
493 last_item->mib_id, in mibget()
494 last_item->length); in mibget()
545 if (last_item) in mibget()
546 last_item->next_item = temp; in mibget()
549 last_item = temp; in mibget()
550 last_item->next_item = NULL; in mibget()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/
H A Dncaconfd.c564 mib_item_t *last_item = (mib_item_t *)0; in mibget() local
601 for (last_item = first_item; last_item; in mibget()
602 last_item = last_item->next_item) in mibget()
605 last_item->group, in mibget()
606 last_item->mib_id, in mibget()
607 last_item->length); in mibget()
655 if (last_item) in mibget()
656 last_item->next_item = temp; in mibget()
659 last_item = temp; in mibget()
660 last_item->next_item = (mib_item_t *)0; in mibget()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c3068 mib_item_t *last_item = NULL; in mibget() local
3104 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 …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c2849 mib_item_t *last_item = NULL; in mibwalk() local
2973 if (last_item != NULL) in mibwalk()
2974 last_item->mi_next = tmp; in mibwalk()
2977 last_item = tmp; in mibwalk()
2978 last_item->mi_next = NULL; in mibwalk()
2979 last_item->mi_opthdr = *optp; in mibwalk()
2980 last_item->mi_valp = malloc(optp->len); in mibwalk()
2981 if (last_item->mi_valp == NULL) { in mibwalk()
2986 databuf.maxlen = last_item->mi_opthdr.len; in mibwalk()
2987 databuf.buf = (char *)last_item->mi_valp; in mibwalk()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c731 mib_item_t *last_item = NULL; in mibget() local
775 for (last_item = first_item; last_item; in mibget()
776 last_item = last_item->next_item) in mibget()
779 last_item->group, in mibget()
780 last_item->mib_id, in mibget()
781 last_item->length); in mibget()
830 if (last_item != NULL) in mibget()
831 last_item->next_item = temp; in mibget()
834 last_item = temp; in mibget()
835 last_item->next_item = NULL; in mibget()
[all …]