/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_xaction.c | 139 xaction_list->next = xaction_list->prev = NULL; in sip_add_conn_obj_cache() 153 pvt_data->sip_conn_obj_cache->prev = xaction_list; in sip_add_conn_obj_cache() 247 xaction_list->prev = NULL; in sip_del_conn_obj_cache() 251 assert(tmp_list->prev != NULL); in sip_del_conn_obj_cache() 252 tmp_list->prev->next = NULL; in sip_del_conn_obj_cache() 254 assert(tmp_list->prev != NULL); in sip_del_conn_obj_cache() 255 tmp_list->prev->next = xaction_list; in sip_del_conn_obj_cache() 256 xaction_list->prev = tmp_list->prev; in sip_del_conn_obj_cache() 258 tmp_list->prev = NULL; in sip_del_conn_obj_cache()
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tu.c | 46 while (i>0 && vspand(prev(i),cl,1)) in fullwide() 49 if (i>0 && vspand(prev(i),cr,1)) in fullwide() 183 i=prev(li=i); in left() 184 if (prev(li)== -1) li=0; in left() 227 prev(int i) in prev() function
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | port.c | 167 register PORT_T* prev; in STP_port_delete() local 181 prev = NULL; in STP_port_delete() 184 if (prev) { in STP_port_delete() 185 prev->next = this->next; in STP_port_delete() 192 prev = tmp; in STP_port_delete()
|
H A D | stpm.c | 179 register STPM_T* prev; in STP_stpm_delete() local 198 prev = NULL; in STP_stpm_delete() 201 if (prev) { in STP_stpm_delete() 202 prev->next = this->next; in STP_stpm_delete() 212 prev = tmp; in STP_stpm_delete()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | Mamfile | 42 prev hurl.sh 83 prev iffe.sh 246 prev rt.sh 677 prev hurl 681 prev iffe 697 prev rt 769 prev ditto 837 prev proto 841 prev ratz 1046 prev probe [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_get.c | 101 int c, i, prev; in getach() local 130 prev = 0; in getach() 134 inputline[prev++] = inputline[i]; in getach() 135 inputline[prev] = 0; in getach()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/ |
H A D | p.51 | 2 { if ($1 != prev) { 4 prev = $1
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 255 hash_ptr->prev = NULL; in add_tblobject_to_container_tbl() 294 cont_tbl->prev = NULL; in alloc_container_table() 344 hash_obj->prev = NULL; in alloc_container_node_object() 381 hash_obj->prev = NULL; in alloc_section_node_object() 420 hash_obj->prev = NULL; in alloc_segment_node_object() 456 hash_obj->prev = NULL; in alloc_packet_node_object() 548 free_obj->next->prev = free_obj->prev; in free_packet_list() 597 if (next_obj->prev == NULL) { in free_segment_node() 605 next_obj->next->prev = next_obj->prev; in free_segment_node() 2071 sec_hash->next->prev = sec_hash->prev; in free_section_node() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 505 lnode->prev = glh->list.tail; in _glh_add_history() 564 node = glh->recall->prev; in _glh_find_backwards() 576 node = node->prev; in _glh_find_backwards() 1899 if(node->prev) in _glh_discard_line() 1900 node->prev->next = node->next; in _glh_discard_line() 1904 node->next->prev = node->prev; in _glh_discard_line() 1906 glh->list.tail = node->prev; in _glh_discard_line() 2047 node = node->prev; in _glh_find_id() 2278 for(prev=bucket->lines; prev && prev->next != hnode; prev=prev->next) in _glh_discard_copy() 2280 if(prev) in _glh_discard_copy() [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 363 cd->prev = 0; in create_cache_file_ch() 426 cd->prev = MOVE_ADDR(cd->prev, offset); in cache_remap_addresses_ch() 684 if (item->prev == 0) in list_remove() 691 item->next->prev = item->prev; in list_remove() 695 *tail = item->prev; in list_remove() 697 item->prev = item->next = 0; in list_remove() 743 item->prev = *tail; in list_insert() 744 if (item->prev != 0) in list_insert() 745 item->prev->next = item; in list_insert() 753 item->next->prev = item; in list_insert() [all …]
|
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 394 it_tgt_t *prev = NULL; in it_nv_to_tgtlist() local 430 prev->tgt_next = tgt; in it_nv_to_tgtlist() 432 prev = tgt; in it_nv_to_tgtlist() 731 it_tpgt_t *prev = NULL; in it_nv_to_tpgtlist() local 770 prev = tpgt; in it_nv_to_tpgtlist() 1053 it_tpg_t *prev = NULL; in it_nv_to_tpglist() local 1089 prev->tpg_next = tpg; in it_nv_to_tpglist() 1091 prev = tpg; in it_nv_to_tpglist() 1243 it_ini_t *prev = NULL; in it_nv_to_inilist() local 1281 prev = inip; in it_nv_to_inilist() [all …]
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | parser.y | 557 prev = *p; 572 prev = '\n'; 588 if(prev == '\n') continue; 593 if(prev == '\n') copy_line = TRUE; 638 if(prev != '\n') goto character; 674 if(prev != '\n' && scon != TRUE) goto character; 681 if(prev == '\n' ) { 702 if(prev=='{') first_test = TRUE; 740 if(prev != '\n') /* not at line begin, not start */ 833 if(c == '-' && prev == '^' && reverse){ [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | network_rcm.c | 70 struct net_cache *prev; member 141 cache_head.prev = NULL; in rcm_mod_init() 142 cache_tail.prev = &cache_head; in rcm_mod_init() 615 node->prev = &cache_head; in cache_insert() 617 node->next->prev = node; in cache_insert() 618 node->prev->next = node; in cache_insert() 629 node->next->prev = node->prev; in cache_remove() 630 node->prev->next = node->next; in cache_remove() 632 node->prev = NULL; in cache_remove()
|
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 419 saddr_t *prev = *list; in insert_addr() local 443 prev = psaddr; in insert_addr() 446 prev->next = newaddr; in insert_addr() 456 saddr_t *prev = *list; in delete_addr() local 464 while (prev != NULL && prev->next != delme) { in delete_addr() 465 prev = prev->next; in delete_addr() 468 if (prev) { in delete_addr() 469 prev->next = delme->next; in delete_addr()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_expressions.c | 181 struct token *token, *prev, *end; in get_expression_from_base_and_str() local 199 prev = token; in get_expression_from_base_and_str() 203 switch (prev->special) { in get_expression_from_base_and_str() 257 struct token *token, *prev, *end; in gen_expression_from_key() local 282 prev = token; in gen_expression_from_key() 288 (prev->special == SPECIAL_DEREFERENCE) ? '*' : '.', in gen_expression_from_key()
|
H A D | storage.c | 48 struct storage_hash *entry, *prev; in gather_storage() local 60 prev = NULL; in gather_storage() 62 if (prev && entry->pseudo == prev->pseudo) { in gather_storage() 63 assert(entry == prev); in gather_storage() 66 prev = entry; in gather_storage()
|
H A D | check_unreachable.c | 105 struct statement *prev; in we_jumped_into_the_middle_of_a_loop() local 122 prev = get_prev_statement(); in we_jumped_into_the_middle_of_a_loop() 123 if (prev && prev->type == STMT_GOTO) in we_jumped_into_the_middle_of_a_loop()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | main.c | 423 register struct namelist *nl, *prev; local 434 prev = NULL; 437 if (prev == NULL) 438 files = prev = nl; 440 prev->n_next = nl; 441 prev = nl;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_cfgacc_x86.c | 252 #define BUS_INSERT(prev, el) \ argument 253 el->next = *prev; \ 254 *prev = el; 256 #define BUS_REMOVE(prev, el) \ argument 257 *prev = el->next;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | fdsync.c | 51 struct rpcfd_block *prev; /* prev Block */ member 142 p->prev = lprev; in create_block() 146 l->prev = p; in create_block()
|
H A D | svcauth_des.c | 83 struct cache_entry *prev; /* prev entry on LRU list */ member 507 _rpc_authdes_cache[i].prev = &_rpc_authdes_cache[i - 1]; in cache_init() 518 cache_head->prev = cache_tail; in cache_init() 520 cache_tail->prev = &_rpc_authdes_cache[authdes_cachesz - 2]; in cache_init() 561 (curr->next)->prev = curr->prev; /* fix thy neighbor */ in cache_ref() 562 (curr->prev)->next = curr->next; in cache_ref() 564 curr->prev = cache_tail; in cache_ref() 565 cache_head->prev = curr; /* fix the head */ in cache_ref()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 101 hash_obj->prev = NULL; in create_container_hash_object() 131 hash_obj->prev = NULL; in create_section_hash_object() 161 hash_obj->prev = NULL; in create_segment_hash_object() 190 hash_obj->prev = NULL; in create_packet_hash_object() 1488 free_obj->next->prev = free_obj->prev; in free_pkt_object_list() 1493 free_obj->next->prev = free_obj->prev; in free_pkt_object_list() 1529 if (seg_hash->prev == NULL) { in free_segment_hash() 1537 seg_hash->next->prev = seg_hash->prev; in free_segment_hash() 2591 pkt_hash->next->prev = pkt_hash->prev; in free_packet_object() 2787 sec_hash_obj->next->prev = sec_hash_obj->prev; in fru_close_container() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_thread.c | 284 hba->spawn_thread_tail = ethread->prev; in emlxs_thread() 286 if (ethread->prev) in emlxs_thread() 287 ethread->prev->next = ethread->next; in emlxs_thread() 289 ethread->next->prev = ethread->prev; in emlxs_thread() 291 ethread->next = ethread->prev = NULL; in emlxs_thread() 559 ethread->prev = hba->spawn_thread_tail; in emlxs_thread_spawn()
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rsrc_info.c | 619 ri_ap_t *prev = NULL; in ap_list_unpack() local 648 prev = aplist = tmp; in ap_list_unpack() 650 prev->next = tmp; in ap_list_unpack() 651 prev = tmp; in ap_list_unpack() 678 ri_dev_t *prev = NULL; in dev_list_unpack() local 705 prev = devlist = tmp; in dev_list_unpack() 707 prev->next = tmp; in dev_list_unpack() 708 prev = tmp; in dev_list_unpack() 735 ri_client_t *prev = NULL; in client_list_unpack() local 766 prev->next = tmp; in client_list_unpack() [all …]
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | ssm.c | 338 struct ssm_node2inst *prev, *sp, *tsp; in ssm_attach() local 424 for (prev = NULL, sp = &ssm_node2inst_map; sp != NULL; in ssm_attach() 425 prev = sp, sp = sp->next) { in ssm_attach() 433 ASSERT(prev->next == NULL); in ssm_attach() 434 sp = prev->next = tsp; in ssm_attach() 461 struct ssm_node2inst *prev, *sp; in ssm_detach() local 499 for (prev = NULL, sp = &ssm_node2inst_map; sp != NULL; in ssm_detach() 500 prev = sp, sp = sp->next) { in ssm_detach() 502 ASSERT(prev == NULL || sp->inst != -1); in ssm_detach() 509 prev->next = sp->next; in ssm_detach()
|