/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_sack.c | 214 tmp = tmp->next; in tcp_notsack_insert() 241 prev->next = tmp->next; in tcp_notsack_insert() 268 new->next = tmp->next; in tcp_notsack_insert() 271 tmp->next = new; in tcp_notsack_insert() 291 tmp = tmp->next; in tcp_notsack_insert() 304 prev->next = tmp->next; in tcp_notsack_insert() 369 prev->next = tmp->next; in tcp_notsack_remove() 372 tmp = tmp->next; in tcp_notsack_remove() 412 tmp->next = NULL; in tcp_notsack_update() 426 tmp = tmp->next; in tcp_notsack_update() [all …]
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sack.c | 208 tmp = tmp->next; in tcp_notsack_insert() 235 prev->next = tmp->next; in tcp_notsack_insert() 263 new->next = tmp->next; in tcp_notsack_insert() 266 tmp->next = new; in tcp_notsack_insert() 286 tmp = tmp->next; in tcp_notsack_insert() 299 prev->next = tmp->next; in tcp_notsack_insert() 363 prev->next = tmp->next; in tcp_notsack_remove() 405 tmp->next = NULL; in tcp_notsack_update() 419 tmp = tmp->next; in tcp_notsack_update() 430 tmp = tmp->next; in tcp_notsack_update() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 49 switch (UTF8len [(*next >> 2) & 0x3F]) { in ldap_utf8next() 51 case 6: if ((*++next & 0xC0) != 0x80) break; in ldap_utf8next() 53 case 5: if ((*++next & 0xC0) != 0x80) break; in ldap_utf8next() 55 case 4: if ((*++next & 0xC0) != 0x80) break; in ldap_utf8next() 57 case 3: if ((*++next & 0xC0) != 0x80) break; in ldap_utf8next() 61 case 1: ++next; in ldap_utf8next() 63 return (char*) next; in ldap_utf8next() 152 if (sp == NULL && (sp = *next) == NULL) in ldap_utf8strtok_r() 164 *next = NULL; in ldap_utf8strtok_r() 178 *next = NULL; in ldap_utf8strtok_r() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softObjectUtil.c | 55 objp->next = NULL; in soft_add_object_to_session() 418 if (objp->next) { in soft_remove_object_from_session() 427 if (objp->next) { in soft_remove_object_from_session() 429 objp->prev->next = objp->next; in soft_remove_object_from_session() 453 objp->next = NULL; in object_delay_free() 737 obj = obj->next; in search_for_objects() 779 obj = obj->next; in search_for_objects() 912 if (objp->next) { in soft_remove_token_object_from_slot() 921 if (objp->next) { in soft_remove_token_object_from_slot() 923 objp->prev->next = objp->next; in soft_remove_token_object_from_slot() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_sync.c | 183 for (next = 0; next < ar_cnt; ++next) { 191 if (bharray[next]->ref > 1) { 192 --bharray[next]->ref; 201 --bharray[next]->ref; 217 while (++next < ar_cnt) 218 --bharray[next]->ref; 385 for (next = 0; next < ar_cnt; ++next) { 395 --bharray[next]->ref; 403 --bharray[next]->ref; 407 while (++next < ar_cnt) [all …]
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 111 hash_obj->next = NULL; in create_container_hash_object() 135 sec_obj->next = NULL; in create_section_hash_object() 140 hash_obj->next = NULL; in create_section_hash_object() 164 seg_obj->next = NULL; in create_segment_hash_object() 193 pkt_obj->next = NULL; in create_packet_hash_object() 273 free_obj->next; in free_pkt_object_list() 278 free_obj->prev->next = free_obj->next; in free_pkt_object_list() 314 next_hash->u.seg_obj->next = seg_hash->u.seg_obj->next; in free_segment_hash() 323 seg_hash->prev->next = seg_hash->next; in free_segment_hash() 1193 sec_hash_obj->prev->next = sec_hash_obj->next; in fru_close_container() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_gen_util.c | 61 new_entry->next = NULL; in add_genlist() 68 list->tail->next = new_entry; in add_genlist() 84 entry->prev->next = entry->next; in delete_genlist() 86 list->head = entry->next; in delete_genlist() 89 if (entry->next) { in delete_genlist() 90 entry->next->prev = entry->prev; in delete_genlist() 96 entry->prev = entry->next = NULL; in delete_genlist() 109 list->head = list->head->next; in remove_genlist_head() 148 entry->next = NULL; in insert_genlist_tail() 155 list->tail->next = entry; in insert_genlist_tail()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | myfopen.c | 70 newnode->next = (NODE *)NULL; in getnode() 79 for (tmp = fplist; tmp != (NODE *)NULL; tmp = tmp->next) in search() 95 newnode->next = curptr->next; in append() 96 curptr->next = newnode; in append() 106 for (prev = cur = fplist; cur != (NODE *)NULL; cur = cur->next) { in del1() 109 cur = fplist = cur->next; in del1() 111 prev->next = cur->next; in del1() 112 cur = prev->next ? prev->next : prev; in del1()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 514 sa = sa->next; in update_cache() 519 sa = sa->next; in update_cache() 524 sa = sa->next; in update_cache() 529 sf = sf->next; in update_cache() 540 sf = sf->next; in update_cache() 547 sf = sf->next; in update_cache() 561 sf = sf->next; in update_cache() 671 if (ent->next) in cache_insert() 705 ent->prev->next = ent->next; in cache_remove() 720 if (sa->next) in swap_area_add() [all …]
|
/illumos-gate/usr/src/cmd/projects/ |
H A D | projects.c | 135 struct projlist *pl, *next; in print_projects() local 186 next = pl->pl_next; in print_projects() 190 pl = next; in print_projects() 201 char **next; in print_projent() local 210 next = projent->pj_users; in print_projent() 211 if (*next == NULL) { in print_projent() 214 (void) fprintf(stdout, "%s\n", *next); in print_projent() 215 for (next++; *next != NULL; next++) { in print_projent() 221 next = projent->pj_groups; in print_projent() 222 if (*next == NULL) { in print_projent() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | table.c | 63 TABLE_ENTRY *next; member 103 ptr = ptr->next; in find_match() 117 ptr = ptr->next; in find_match() 159 ptr = ptr->next; in find_request() 177 ptr = ptr->next; in find_request() 206 ptr->next = table; in insert_table() 207 if (ptr->next != NULL) { in insert_table() 208 ptr->next->last = ptr; in insert_table() 249 ptr = ptr->next; in delete_invite() 272 table = ptr->next; in delete() [all …]
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_list.h | 54 struct mlist_head *next, *prev; member 65 (ptr)->next = (ptr); (ptr)->prev = (ptr); \ 91 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 92 pos = pos->next, prefetch(pos->next)) 102 for (pos = (head)->next, n = pos->next; pos != (head); \ 103 pos = n, n = pos->next)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfreserve.c | 57 { data = (Void_t*)f->next; 58 f->next += n; 85 if((n = f->endb - f->next) < 0) 135 if((n = f->endb - f->next) < sz) 137 { f->endb = f->endr = f->next; 151 if((n = f->endb - f->next) <= 0) 169 data = (Void_t*)f->next; 174 data = (Void_t*)f->next; 177 { (void)SFWR(f,f->next,sz,f->disc); 179 data = (Void_t*)f->next; [all …]
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioList.cc | 38 aptr(0), next(0), prev(0) in AudioListEntry() 49 if (next != 0) { in ~AudioListEntry() 50 next->prev = prev; in ~AudioListEntry() 53 prev->next = next; in ~AudioListEntry() 77 next = after->next; in link() 78 after->next = this; in link() 79 if (next != 0) in link() 80 next->prev = this; in link() 124 return (head.next); in first() 155 ep = ep->next; in getposition() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | token_store.c | 36 struct line *next; member 48 new->next = NULL; in copy_token() 67 if (!cursor->next) in find_line() 71 cursor = cursor->next; in find_line() 83 new->next = *current; in insert_into_line() 109 cursor->prev->next = cursor; in store_token() 121 cursor->next = __alloc_line(0); in store_token() 122 cursor->next->prev = cursor; in store_token() 123 cursor = cursor->next; in store_token() 132 token = token->next; in store_all_tokens() [all …]
|
H A D | ptrmap.c | 37 struct ptrmap *next; member 54 struct ptrmap *next = map->next; in __ptrmap_add() local 55 if (next) // head is full in __ptrmap_add() 56 map = next; in __ptrmap_add() 66 newmap->next = head->next; in __ptrmap_add() 67 head->next = newmap; in __ptrmap_add() 81 for (; map; map = map->next) { in __ptrmap_lookup() 96 for (; map; map = map->next) { in __ptrmap_update()
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 143 e = e->next) { in find_elem() 184 e = e->next) { in find_elem_mach() 213 new->next = head; in add_pkg() 220 prev->next = new; in add_pkg() 221 new->next = NULL; in add_pkg() 230 new->next = cur; in add_pkg() 236 prev->next = new; in add_pkg() 237 new->next = cur; in add_pkg() 262 last->next = e; in add_elem() 263 e->next = cur; in add_elem() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnssrv.c | 41 struct srv_dns_entry *next; in krb5int_free_srv_dns_data() local 43 next = p->next; in krb5int_free_srv_dns_data() 46 p = next; in krb5int_free_srv_dns_data() 154 srv->next = head; in krb5int_make_srv_query_realm() 165 for (entry = head; entry != NULL; entry = entry->next) { in krb5int_make_srv_query_realm() 166 if ((entry->next && in krb5int_make_srv_query_realm() 167 entry->next->priority > srv->priority) || in krb5int_make_srv_query_realm() 168 entry->next == NULL) { in krb5int_make_srv_query_realm() 169 srv->next = entry->next; in krb5int_make_srv_query_realm() 170 entry->next = srv; in krb5int_make_srv_query_realm()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_reset_notify.c | 54 p = p->next; in scsi_hba_reset_notify_setup() 59 *listp = p->next; in scsi_hba_reset_notify_setup() 61 beforep->next = p->next; in scsi_hba_reset_notify_setup() 72 p->next = *listp; in scsi_hba_reset_notify_setup() 86 struct scsi_reset_notify_entry *p, *next; in scsi_hba_reset_notify_tear_down() local 90 next = p->next; in scsi_hba_reset_notify_tear_down() 92 p = next; in scsi_hba_reset_notify_tear_down() 118 p = p->next; in scsi_hba_reset_notify_callback() 127 for (i = 0, p = *listp; i < count; i++, p = p->next) { in scsi_hba_reset_notify_callback()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getpwnam_r.c | 245 char *p, *next; in str2passwd() local 266 next = buffer; in str2passwd() 306 p = next; /* uid */ in str2passwd() 322 tmp = strtoul(p, &next, 10); in str2passwd() 342 if (*next++ != ':') { in str2passwd() 344 (void) gettok(&next); in str2passwd() 348 p = next; /* gid */ in str2passwd() 357 tmp = strtoul(p, &next, 10); in str2passwd() 372 if (*next++ != ':') { in str2passwd() 374 (void) gettok(&next); in str2passwd() [all …]
|
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 428 for (psaddr = (*list)->next; psaddr != NULL; psaddr = psaddr->next) { in insert_addr() 446 prev->next = newaddr; in insert_addr() 465 prev = prev->next; in delete_addr() 469 prev->next = delme->next; in delete_addr() 574 newmap->next = NULL; in create_maplist() 667 saddr_t *next; in apply_advice() local 676 next = psaddr->next; in apply_advice() 716 psaddr = next; in apply_advice() 766 clptr->next = NULL; in create_choplist() 776 clptr->next = NULL; in create_choplist() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 805 next = *first; in vmu_update_bounds() 821 next = AVL_NEXT(tree, next); in vmu_update_bounds() 839 rss += next->vmb_end - next->vmb_start + 1; in vmu_update_bounds() 840 next = tmp; in vmu_update_bounds() 843 rss += next->vmb_end - next->vmb_start + 1; in vmu_update_bounds() 846 next = AVL_NEXT(tree, next); in vmu_update_bounds() 908 next = *first; in vmu_amp_update_incore_bounds() 918 next = AVL_NEXT(tree, next); in vmu_amp_update_incore_bounds() 981 next = AVL_NEXT(tree, next); in vmu_amp_update_incore_bounds() 1008 next = AVL_NEXT(tree, next); in vmu_vnode_update_incore_bounds() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_pf.c | 1176 next(); in pf_primary() 1183 next(); in pf_primary() 1192 next(); in pf_primary() 1199 next(); in pf_primary() 1206 next(); in pf_primary() 1213 next(); in pf_primary() 1223 next(); in pf_primary() 1228 next(); in pf_primary() 1236 next(); in pf_primary() 1496 next(); in pf_expression() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_tree.c | 45 struct profile_node *next, *prev; member 68 next = child->next; in profile_free_node() 138 if (last && (last->next != p)) in profile_verify_node() 183 new->next = p; in profile_add_node() 187 last->next = new; in profile_add_node() 261 for (; p; p = p->next) { in profile_find_node() 289 for (p = p->next; p; p = p->next) { in profile_find_node() 702 node->prev->next = node->next; in profile_rename_node() 705 if (node->next) in profile_rename_node() 714 last->next = node; in profile_rename_node() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | revnetgroup.c | 67 stringlist next; member 78 groupentrylist next; member 138 cur = cur->next; in nextgroup() 160 groups = groups->next) { in dumptable() 162 if (groups->next) { in dumptable() 167 entry = entry->next; in dumptable() 217 new->groups->next = NULL; in newentry() 219 new->next = NULL; in newentry() 240 cur = prev->next; in appendgroup() 242 cur->next = NULL; in appendgroup() [all …]
|