/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSessionUtil.c | 71 session_p1 = session_p->next; in soft_delete_all_sessions() 168 new_sp->next = NULL; in soft_add_session() 209 sp->next = NULL; in session_delay_free() 268 if (session_p->next) { in soft_delete_session() 270 session_p->next->prev = NULL; in soft_delete_session() 277 if (session_p->next) { in soft_delete_session() 279 session_p->prev->next = session_p->next; in soft_delete_session() 754 object_p = object_p->next; in soft_acquire_all_session_mutexes() 756 session_p = session_p->next; in soft_acquire_all_session_mutexes() 774 object_p = object_p->next; in soft_release_all_session_mutexes() [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | dump_rcm.c | 58 struct dump_conf *next; member 148 cache = cache->next; in dump_unregister() 474 ent = ent->next; in update_cache() 485 ent = ent->next; in update_cache() 492 ent = ent->next; in update_cache() 506 ent = ent->next; in update_cache() 536 ent->next = cache; in cache_insert() 537 if (ent->next) in cache_insert() 553 ent->prev->next = ent->next; in cache_remove() 555 cache = ent->next; in cache_remove() [all …]
|
H A D | network_rcm.c | 69 struct net_cache *next; member 143 cache_tail.next = NULL; in rcm_mod_init() 235 probe = cache_head.next; in net_unregister() 586 probe = probe->next; in cache_lookup() 614 node->next = cache_head.next; in cache_insert() 630 node->prev->next = node->next; in cache_remove() 631 node->next = NULL; in cache_remove() 739 probe = probe->next; in update_cache() 760 probe = probe->next; in update_cache() 767 probe = probe->next; in update_cache() [all …]
|
H A D | mpxio_rcm.c | 69 struct phci_list *next; member 78 struct group *next; member 162 phci_list_t *next; in rcm_mod_fini() local 172 next = reg->next; in rcm_mod_fini() 175 reg = next; in rcm_mod_fini() 704 reg->next = reg_list; in refresh_regs() 726 prev_reg->next = reg->next; in refresh_regs() 744 reg = reg->next; in refresh_regs() 894 group_t *next; in free_grouplist() local 897 next = group->next; in free_grouplist() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/cwchash/ |
H A D | hashtable.c | 90 h->table[i] = e->next; in hashtable_expand() 92 e->next = newtable[index]; in hashtable_expand() 112 pE = &(e->next); in hashtable_expand() 116 *pE = e->next; in hashtable_expand() 117 e->next = newtable[index]; in hashtable_expand() 156 e->next = h->table[index]; in hashtable_insert() 174 e = e->next; in hashtable_search() 200 *pE = e->next; in hashtable_remove() 207 pE = &(e->next); in hashtable_remove() 208 e = e->next; in hashtable_remove() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | vuid_store.c | 78 seg->next = state; 167 seg_next = seg->next; 180 val_node_next = val_node->next; 196 for (seg = state; seg; seg = seg->next) { 203 new_previous_seg->next = new_seg; 223 new_seg->next = VUID_SEG_NULL; 226 for (val_node = seg->list; val_node; val_node = val_node->next) { 229 new_val->next = VUID_VALUE_NULL; 235 new_previous_val->next = new_val; 249 for (seg = state; seg; seg = seg->next) { [all …]
|
H A D | beep.c | 347 int next; in beep_mktone() local 369 next = beep_state.queue_tail + 1; in beep_mktone() 370 if (next == beep_state.queue_size) in beep_mktone() 371 next = 0; in beep_mktone() 385 beep_state.queue_tail = next; in beep_mktone() 435 int next; in beep_timeout() local 460 next = beep_state.queue_head; in beep_timeout() 466 next++; in beep_timeout() 467 if (next == beep_state.queue_size) in beep_timeout() 468 next = 0; in beep_timeout() [all …]
|
/illumos-gate/usr/src/psm/stand/bootlst/common/ |
H A D | sasubr.c | 45 static caddr_t next; in bkmem_alloc() local 48 if (next == NULL) in bkmem_alloc() 49 next = (caddr_t)roundup((uintptr_t)&_end, MINALLOC); in bkmem_alloc() 50 ret = next; in bkmem_alloc() 51 next += roundup(s, MINALLOC); in bkmem_alloc() 52 if (next >= TOPMEM) in bkmem_alloc()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_subr.c | 225 char *next, *p; in rpc_uaddr2port() local 245 (void) strtoi(next, &next); in rpc_uaddr2port() 246 (void) strtoi(next, &next); in rpc_uaddr2port() 247 (void) strtoi(next, &next); in rpc_uaddr2port() 248 p1 = strtoi(next, &next); in rpc_uaddr2port() 249 p2 = strtoi(next, &next); in rpc_uaddr2port() 260 next = addr; in rpc_uaddr2port() 261 while (next = strchr(next, '.')) { in rpc_uaddr2port() 262 p = ++next; in rpc_uaddr2port() 263 next = strchr(next, '.'); in rpc_uaddr2port() [all …]
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 796 rp = rp->next) { in process_next() 798 *rp_prev = rp->next; in process_next() 812 rp_prev = &rp->next; in process_next() 823 rp = rp->next) { in process_next() 827 rp_prev = &rp->next; in process_next() 885 rp_prev = &rp->next; in process_next() 896 rp = rp->next) { in process_next() 1182 rp = rp->next) { in finish_children() 1456 rp->next = NULL; in new_running_struct() 1521 rp->next = NULL; in add_running() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 100 hash_obj->next = NULL; in create_container_hash_object() 125 sec_obj->next = NULL; in create_section_hash_object() 155 seg_obj->next = NULL; in create_segment_hash_object() 185 pkt_obj->next = NULL; in create_packet_hash_object() 1491 free_obj->prev->next = free_obj->next; in free_pkt_object_list() 1526 next_hash->u.seg_obj->next = seg_hash->u.seg_obj->next; in free_segment_hash() 1535 seg_hash->prev->next = seg_hash->next; in free_segment_hash() 2580 next_hash->u.pkt_obj->next = pkt_hash->u.pkt_obj->next; in free_packet_object() 2589 pkt_hash->prev->next = pkt_hash->next; in free_packet_object() 2785 sec_hash_obj->prev->next = sec_hash_obj->next; in fru_close_container() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_utils.c | 65 list_node->next = NULL; in oce_list_link_init() 74 list_node->next = next_node; in oce_list_insert_node() 76 prev_node->next = list_node; in oce_list_insert_node() 83 prev_node->next = next_node; in oce_list_del_node() 89 oce_list_del_node(list_node->prev, list_node->next); in oce_list_remove() 90 list_node->next = list_node->prev = NULL; in oce_list_remove() 96 list_hdr->head.next = list_hdr->head.prev = &list_hdr->head; in oce_list_create() 105 list_hdr->head.next = list_hdr->head.prev = NULL; in oce_list_destroy() 133 oce_list_insert_node(list_node, head, head->next); in oce_list_insert_head() 177 list_node = list_hdr->head.next; in oce_list_remove_head()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfseek.c | 43 f->next = f->endr = f->endw = f->data; 119 r = p + (f->next - f->data); 126 f->next = f->data+p; 147 { s = f->here + (f->next - f->data); 155 if(f->next > f->data && SFSYNC(f) < 0) 175 s = f->here - (f->endb - f->next); 194 f->next = f->endb - (f->here - r); 222 if(f->endb > f->next) 224 f->iosz = (f->next - f->data) + (f->endb - f->next)/2; 231 f->next = f->endr = f->endb = f->data; [all …]
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tdb_agent.c | 152 sap->next = (uintptr_t)(sap + 1); in alloc_sync_addr() 153 sap->next = (uintptr_t)0; in alloc_sync_addr() 160 sap->next = (uintptr_t)0; in alloc_sync_addr() 207 sap->next = (uintptr_t)(sap + 1); in initialize_sync_hash() 208 sap->next = (uintptr_t)0; in initialize_sync_hash() 212 udp->tdb_hash_lock_stats.next = (uintptr_t)0; in initialize_sync_hash() 329 sapp = &sap->next; in tdb_sync_obj_register() 377 *sapp = sap->next; in tdb_sync_obj_deregister() 380 sap->next = (uintptr_t)0; in tdb_sync_obj_deregister() 387 tdbp->tdb_sync_addr_last->next = (uintptr_t)sap; in tdb_sync_obj_deregister() [all …]
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 126 lro->next = ss->lro_free; in myri10ge_lro_flush() 230 ss->lro_active = lro->next; in myri10ge_lro_rx() 233 while (curr->next != lro) in myri10ge_lro_rx() 234 curr = curr->next; in myri10ge_lro_rx() 235 curr->next = lro->next; in myri10ge_lro_rx() 297 ss->lro_active = lro->next; in myri10ge_lro_rx() 300 while (curr->next != lro) in myri10ge_lro_rx() 301 curr = curr->next; in myri10ge_lro_rx() 302 curr->next = lro->next; in myri10ge_lro_rx() 315 ss->lro_free = lro->next; in myri10ge_lro_rx() [all …]
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 53 for (tmp = packages[bucket]; tmp != NULL; tmp = tmp->next) { in processed_package() 70 tmp->next = packages[bucket]; in mark_processed() 88 for (tmp = dependlist; tmp->next != NULL; tmp = tmp->next) { in add_dependency() 91 tmp->next = pkg; in add_dependency() 102 dependlist = dependlist->next; in free_dependency_list() 103 tmp->next = NULL; in free_dependency_list() 115 for (tmp = dependlist; tmp != NULL; tmp = tmp->next) in print_dependencies() 232 for (tmp = dependlist; tmp != NULL; tmp = tmp->next) { in process_dependencies()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm_impl.h | 206 struct link *next; member 221 struct link_list *next; member 248 struct module *next; member 256 struct create_list *next; member 262 struct minor *next; member 273 struct remove_list *next; member 290 struct n2m *next; member 299 struct numeral *next; member 307 struct numeral_set *next; member 312 struct temp *next; member [all …]
|
/illumos-gate/usr/src/cmd/rmt/ |
H A D | rmt.c | 213 (void) kill(next, RECV); in main() 217 (void) kill(next, TAPE); in main() 289 (void) kill(next, RECV); in main() 294 (void) kill(next, TAPE); in main() 371 (void) kill(next, RECV); in main() 375 (void) kill(next, TAPE); in main() 385 (void) kill(next, RECV); in main() 416 next = parent; in main() 447 if (next == parent) { in main() 455 (void) kill(next, SEND); in main() [all …]
|
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | dat_dictionary.c | 59 struct DAT_DICTIONARY_NODE *next; member 182 p_dictionary->head = cur_node->next; in dat_dictionary_destroy() 287 cur_node->next = next_node; in dat_dictionary_insert() 290 prev_node->next = cur_node; in dat_dictionary_insert() 317 for (cur_node = p_dictionary->head->next; in dat_dictionary_search() 319 cur_node = cur_node->next) { in dat_dictionary_search() 362 cur_node = cur_node->next, i++) { in dat_dictionary_enumerate() 390 for (cur_node = p_dictionary->head->next; in dat_dictionary_remove() 392 cur_node = cur_node->next) { in dat_dictionary_remove() 400 next_node = cur_node->next; in dat_dictionary_remove() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 193 next = p->next; in gssauth_zone_fini() 194 NOT_DEAD(next); in gssauth_zone_fini() 227 prev->next = next; in gssauth_zone_fini() 321 prev->next = current->next; in rpc_gss_secget() 404 next = cur->next; in rpc_gss_secfree() 405 NOT_DEAD(next); in rpc_gss_secfree() 1459 next = cur->next; in rpc_gss_revauth() 1460 NOT_DEAD(next); in rpc_gss_revauth() 1479 prev->next = next; in rpc_gss_revauth() 1514 next = cur->next; in rpc_gss_secpurge() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_provider.c | 196 g_dapl_provider_list.head->next = g_dapl_provider_list.tail; in dapl_provider_list_create() 224 g_dapl_provider_list.head = cur_node->next; in dapl_provider_list_destroy() 276 cur_node->next = next_node; in dapl_provider_list_insert() 279 prev_node->next = cur_node; in dapl_provider_list_insert() 310 for (cur_node = g_dapl_provider_list.head->next; in dapl_provider_list_search() 312 cur_node = cur_node->next) { in dapl_provider_list_search() 337 for (cur_node = g_dapl_provider_list.head->next; in dapl_provider_list_remove() 339 cur_node = cur_node->next) { in dapl_provider_list_remove() 342 next_node = cur_node->next; in dapl_provider_list_remove() 344 prev_node->next = next_node; in dapl_provider_list_remove()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_gpt.c | 304 if (next != NULL) { in vmm_gpt_node_next() 306 return (next); in vmm_gpt_node_next() 326 if (next != NULL) { in vmm_gpt_node_next() 328 return (next); in vmm_gpt_node_next() 426 if (next != NULL) { in vmm_gpt_node_remove() 603 if (next != NULL) { in vmm_gpt_populate_region() 604 gpa = next->vgn_gpa; in vmm_gpt_populate_region() 605 node = next; in vmm_gpt_populate_region() 716 if (next != NULL) { in vmm_gpt_vacate_region() 717 gpa = next->vgn_gpa; in vmm_gpt_vacate_region() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | ctxop.c | 85 uintptr_t next; in ctxop_walk_step() local 88 if (mdb_vread(&next, sizeof (next), in ctxop_walk_step() 102 if (next == 0 || next == priv->cws_head) { in ctxop_walk_step() 107 wsp->walk_addr = next; in ctxop_walk_step()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl.c | 97 last_tbl->next = tbl; in tbl_alloc() 117 tbl->first_row = rp->next; in tbl_free() 120 rp->first = cp->next; in tbl_free() 127 tbl->first_span = sp->next; in tbl_free() 130 sp->first = dp->next; in tbl_free() 137 tbl = tbl->next; in tbl_free() 158 span = tbl->current_span ? tbl->current_span->next in tbl_span() 177 sp = sp->next; in tbl_end()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | char.c | 97 struct token *next = token->next, *done = NULL; in get_string_constant() local 106 switch (token_type(next)) { in get_string_constant() 110 next = next->next; in get_string_constant() 113 done = next; in get_string_constant() 129 token = token->next; in get_string_constant()
|