/illumos-gate/usr/src/cmd/gencat/ |
H A D | gencat.c | 234 current_set->prev = prev; 236 if (prev) 270 prev = setp->prev; 273 if (prev) 278 next->prev = prev; 350 prev = current_msg->prev; 359 current_msg->prev = prev; 361 if (prev) 395 prev = current_msg->prev; 398 if (prev) { [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | logent.c | 49 char *prev; local 54 prev = _uu_setlocale(LC_ALL, "C"); 69 (void) _uu_resetlocale(LC_ALL, prev); 78 (void) _uu_resetlocale(LC_ALL, prev); 95 char *prev = _uu_setlocale(LC_ALL, "C"); local 109 (void) _uu_resetlocale(LC_ALL, prev); 115 (void) _uu_resetlocale(LC_ALL, prev); 132 char *prev = _uu_setlocale(LC_ALL, "C"); local 142 (void) _uu_resetlocale(LC_ALL, prev); 151 (void) _uu_resetlocale(LC_ALL, prev);
|
H A D | versys.c | 50 char *prev; local 55 prev = _uu_setlocale(LC_ALL, "C"); 63 (void) _uu_resetlocale(LC_ALL, prev); 77 (void) _uu_resetlocale(LC_ALL, prev); 82 (void) _uu_resetlocale(LC_ALL, prev);
|
H A D | getargs.c | 50 char *prev; local 52 prev = _uu_setlocale(LC_ALL, "C"); 66 (void) _uu_resetlocale(LC_ALL, prev); 91 char *prev; local 93 prev = _uu_setlocale(LC_ALL, "C"); 159 (void) _uu_resetlocale(LC_ALL, prev);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_gen_util.c | 62 new_entry->prev = list->tail; in add_genlist() 83 if (entry->prev) { in delete_genlist() 84 entry->prev->next = entry->next; in delete_genlist() 90 entry->next->prev = entry->prev; in delete_genlist() 92 list->tail = entry->prev; in delete_genlist() 96 entry->prev = entry->next = NULL; in delete_genlist() 149 entry->prev = list->tail; in insert_genlist_tail()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | myfopen.c | 104 register NODE *cur, *prev; in del1() local 106 for (prev = cur = fplist; cur != (NODE *)NULL; cur = cur->next) { in del1() 111 prev->next = cur->next; in del1() 112 cur = prev->next ? prev->next : prev; in del1() 115 curptr = prev; in del1() 119 prev = cur; in del1()
|
/illumos-gate/usr/src/uts/intel/promif/ |
H A D | prom_prop.c | 55 prom_decode_composite_string(void *buf, size_t buflen, char *prev) in prom_decode_composite_string() argument 60 if (prev == 0) in prom_decode_composite_string() 63 prev += strlen(prev) + 1; in prom_decode_composite_string() 64 if (prev >= ((char *)buf + buflen)) in prom_decode_composite_string() 66 return (prev); in prom_decode_composite_string()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry.cc | 189 db_index_entry_p fst, prev, curr; in lookup() local 203 prev = fst; in lookup() 207 prev->addresult(curr); in lookup() 208 prev = curr; in lookup() 214 prev->addresult(NULL); /* terminate the list -CM */ in lookup() 280 db_index_entry_p curr, prev, rp, save; in add() local 287 prev = curr; in add() 305 save = prev->next; in add() 306 prev->next = new db_index_entry(hval, i, recnum, prev->next); in add() 307 if (prev->next == NULL) { in add() [all …]
|
/illumos-gate/usr/src/cmd/smbsrv/smbstat/ |
H A D | smbstat.c | 702 smbstat_cpu_snapshot_t *curr, *prev; in smbstat_cpu_process() local 708 prev = smbstat_cpu_previous_snapshot(); in smbstat_cpu_process() 715 prev->cs_ticks[j]); in smbstat_cpu_process() 717 prev->cs_ticks[j]); in smbstat_cpu_process() 848 smbstat_srv_snapshot_t *curr, *prev; in smbstat_srv_process() local 851 prev = smbstat_srv_previous_snapshot(); in smbstat_srv_process() 853 if (prev->ss_snaptime == 0) in smbstat_srv_process() 898 smbstat_srv_snapshot_t *prev) in smbstat_srv_process_throughput() argument 956 smbstat_srv_snapshot_t *prev) in smbstat_srv_process_utilization() argument 1031 smbstat_srv_snapshot_t *prev) in smbstat_srv_process_requests() argument [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | eloop.c | 115 prev = NULL; in eloop_register_timeout() 120 prev = tmp; in eloop_register_timeout() 124 if (prev == NULL) { in eloop_register_timeout() 128 timeout->next = prev->next; in eloop_register_timeout() 129 prev->next = timeout; in eloop_register_timeout() 146 prev = NULL; in eloop_cancel_timeout() 156 if (prev == NULL) in eloop_cancel_timeout() 159 prev->next = next; in eloop_cancel_timeout() 162 prev = timeout; in eloop_cancel_timeout() 313 prev = timeout; in eloop_destroy() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ddi_hp_impl.h | 114 type *curr, *prev = NULL; \ 116 for (curr = (head); curr; prev = curr, curr = curr->next); \ 117 if (prev == NULL) \ 120 prev->next = (node); \ 126 type *curr, *prev = NULL; \ 127 for (curr = (head); curr; prev = curr, curr = curr->next) { \ 132 if (prev == NULL) \ 135 prev->next = curr->next; \
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | list.c | 87 ll_t **prev = &ptr->front; in ll_traverse() local 95 prev = &(t->n); in ll_traverse() 99 if ((*prev = t->n) == NULL) in ll_traverse() 100 ptr->back = prev; in ll_traverse() 114 ll_t **prev = &head->front; in ll_check() local 120 prev = &ptr->n; in ll_check() 124 assert(head->back == prev); in ll_check()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | listq.h | 405 struct _d_list_entry_t *prev; member 454 d_entry->prev = (d_list_entry_t *) 0; in d_list_push_head() 463 d_list->head->prev = d_entry; in d_list_push_head() 506 d_entry->prev = d_list->tail; in d_list_push_tail() 533 d_list->tail = d_list->tail->prev; in d_list_pop_tail() 594 d_entry->next->prev = d_entry->prev; in d_list_remove_entry() 618 d_entry->prev = d_entry_prev; in d_list_insert_entry() 620 d_entry_next->prev = d_entry; in d_list_insert_entry() 631 return d_entry->prev; in d_list_prev_entry() 746 (_d_entry)->prev = (_d_list)->tail; \ [all …]
|
/illumos-gate/usr/src/uts/common/io/bnx/include/ |
H A D | listq.h | 413 struct _d_list_entry_t *prev; member 462 d_entry->prev = (d_list_entry_t *) 0; in d_list_push_head() 471 d_list->head->prev = d_entry; in d_list_push_head() 514 d_entry->prev = d_list->tail; in d_list_push_tail() 541 d_list->tail = d_list->tail->prev; in d_list_pop_tail() 602 d_entry->next->prev = d_entry->prev; in d_list_remove_entry() 626 d_entry->prev = d_entry_prev; in d_list_insert_entry() 628 d_entry_next->prev = d_entry; in d_list_insert_entry() 639 return d_entry->prev; in d_list_prev_entry() 754 (_d_entry)->prev = (_d_list)->tail; \ [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_double_checking.c | 59 static int conditions_match(struct expression *cond, struct expression *prev) in conditions_match() argument 61 prev = strip_condition(prev); in conditions_match() 63 if (prev == cond) in conditions_match() 66 if (prev->type == EXPR_LOGICAL) { in conditions_match() 67 if (conditions_match(cond, prev->left) || in conditions_match() 68 conditions_match(cond, prev->right)) in conditions_match() 82 struct expression *prev; in is_obvious_else() local 98 prev = strip_condition(parent->if_conditional); in is_obvious_else() 100 return conditions_match(cond, prev); in is_obvious_else()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_utils.c | 66 list_node->prev = NULL; in oce_list_link_init() 73 next_node->prev = list_node; in oce_list_insert_node() 75 list_node->prev = prev_node; in oce_list_insert_node() 82 next_node->prev = prev_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() 119 oce_list_insert_node(list_node, head->prev, head); in oce_list_insert_tail() 154 list_node = list_hdr->head.prev; in oce_list_remove_tail()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sack.c | 203 prev = NULL; in tcp_notsack_insert() 206 prev = tmp; in tcp_notsack_insert() 234 if (prev != NULL) { in tcp_notsack_insert() 235 prev->next = tmp->next; in tcp_notsack_insert() 285 prev = tmp; in tcp_notsack_insert() 298 if (prev != NULL) { in tcp_notsack_insert() 302 tmp = prev->next; in tcp_notsack_insert() 340 notsack_blk_t *prev, *tmp; in tcp_notsack_remove() local 346 prev = NULL; in tcp_notsack_remove() 358 if (prev == NULL) { in tcp_notsack_remove() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_nodeid.c | 51 struct available *prev; member 100 if (np->prev) in np_unlink() 101 np->prev->next = np->next; in np_unlink() 106 np->next->prev = np->prev; in np_unlink() 115 fp->prev = np->prev; in np_insert() 118 if (np->prev) in np_insert() 119 np->prev->next = fp; in np_insert() 122 np->prev = fp; in np_insert() 142 fp->prev = np; in np_add()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | maps.c | 417 map_info_t *cur, *prev; in free_linkmaps() local 421 if (prev) { in free_linkmaps() 424 free(prev->mi_name); in free_linkmaps() 425 if (prev->mi_refname) in free_linkmaps() 426 free(prev->mi_refname); in free_linkmaps() 427 free(prev); in free_linkmaps() 430 if (prev) { in free_linkmaps() 433 free(prev->mi_name); in free_linkmaps() 434 if (prev->mi_refname) in free_linkmaps() 435 free(prev->mi_refname); in free_linkmaps() [all …]
|
H A D | bpt.c | 66 bptlist_t *new, *cur, *prev; in set_breakpoint() local 83 if (prev == NULL) { in set_breakpoint() 92 prev->bl_next = new; in set_breakpoint() 115 bptlist_t *cur, *prev; in delete_bp() local 124 if (prev == NULL) in delete_bp() 127 prev->bl_next = cur->bl_next; in delete_bp() 190 bptlist_t *cur, *prev; in delete_all_breakpoints() local 197 if (prev) in delete_all_breakpoints() 198 free(prev); in delete_all_breakpoints() 199 if (prev) in delete_all_breakpoints() [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | htbl.c | 69 hentry_t *prev; in destroy_hash() local 78 prev = tmp; in destroy_hash() 81 free(prev->key); in destroy_hash() 82 prev->key = NULL; in destroy_hash() 83 free(prev->lib); in destroy_hash() 84 prev->lib = NULL; in destroy_hash() 86 free((char *)prev); in destroy_hash() 88 tmp->prev = NULL; in destroy_hash() 154 new->prev = NULL; in add_fcall() 158 tmp->prev = new; in add_fcall()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_sack.c | 209 prev = NULL; in tcp_notsack_insert() 212 prev = tmp; in tcp_notsack_insert() 240 if (prev != NULL) { in tcp_notsack_insert() 241 prev->next = tmp->next; in tcp_notsack_insert() 290 prev = tmp; in tcp_notsack_insert() 303 if (prev != NULL) { in tcp_notsack_insert() 307 tmp = prev->next; in tcp_notsack_insert() 345 notsack_blk_t *prev, *tmp; in tcp_notsack_remove() local 351 prev = NULL; in tcp_notsack_remove() 363 if (prev == NULL) { in tcp_notsack_remove() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | vuid_queue.c | 68 for (vp = vq->bottom; vp; vp = vp->prev) { in vq_put() 81 vqn->prev = vp; in vq_put() 84 vp->next->prev = vqn; in vq_put() 114 vq->top->prev = VUID_Q_NODE_NULL; in vq_get() 143 vqn->prev = VUID_Q_NODE_NULL; in vq_putback() 146 vq->top->prev = vqn; in vq_putback() 195 if (victim->prev != base) { in vq_compress() 252 vqn->prev->next = vqn->next; in vq_delete_node() 255 vq->bottom = vqn->prev; in vq_delete_node() 258 vqn->next->prev = vqn->prev; in vq_delete_node() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 51 krb5_kt_list lp, prev; local 59 prev = lp; 61 free((char *)prev); 83 prev->next = lp->next; 156 prev = lp; 234 if (prev) 505 prev->next 507 if (!prev->next) { 512 lp1 = prev->next; 558 prev = lp; [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_ht.c | 309 HT_ITEM *cur, *prev; in ht_remove_item() local 324 prev = 0; in ht_remove_item() 330 if (prev == 0) in ht_remove_item() 334 prev->hi_next = cur->hi_next; in ht_remove_item() 353 prev = cur; in ht_remove_item() 441 HT_ITEM *cur, *prev; in ht_clean_table() local 448 prev = 0; in ht_clean_table() 455 if (prev == 0) in ht_clean_table() 473 if (prev == 0) in ht_clean_table() 476 cur = prev->hi_next; in ht_clean_table() [all …]
|