Home
last modified time | relevance | path

Searched refs:prev (Results 251 – 275 of 707) sorted by relevance

1...<<11121314151617181920>>...29

/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c130 used_io_mem_t *curr, *prev; in insert_used_resource() local
137 curr = prev = *head; in insert_used_resource()
141 prev = curr; in insert_used_resource()
144 if (prev == curr) { in insert_used_resource()
150 prev->next = used; in insert_used_resource()
1085 used_io_mem_t *prev; in used_res_io_mem() local
1089 prev = used; in used_res_io_mem()
1091 kmem_free(prev, sizeof (used_io_mem_t)); in used_res_io_mem()
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_cryptoadm.c1060 kcf_soft_conf_entry_t *prev = NULL, *entry = NULL, *new_entry, *p; in add_soft_config() local
1080 prev = p; in add_soft_config()
1111 if (prev == NULL) { in add_soft_config()
1115 prev->ce_next = entry->ce_next; in add_soft_config()
1155 kcf_soft_conf_entry_t *p, *entry = NULL, *prev = NULL; in remove_soft_config() local
1164 prev = p; in remove_soft_config()
1167 if (prev == NULL) { in remove_soft_config()
1171 prev->ce_next = entry->ce_next; in remove_soft_config()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/
H A Dimplicit_dependencies_verbose.pretty13663 'reason': set([('list_head', 'prev'),
13672 'reason': set([('list_head', 'prev'),
13677 'reason': set([('list_head', 'prev'),
13688 'reason': set([('list_head', 'prev'),
13695 'reason': set([('list_head', 'prev'),
13706 'reason': set([('list_head', 'prev'),
13710 'reason': set([('list_head', 'prev'),
13715 'reason': set([('list_head', 'prev'),
13719 'reason': set([('list_head', 'prev'),
13741 'reason': set([('list_head', 'prev'),
[all …]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c43 hp_node_t prev; member
442 if (listp->prev != NULL) in node_list_add()
443 listp->prev->hp_sibling = node; in node_list_add()
447 listp->prev = node; in node_list_add()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.lex.c103 hp->next = hp->prev = hp; in lex()
125 new->prev = wdp; in lex()
134 hp->prev = wdp; in lex()
169 new->prev = wdp; in copylex()
176 hp->prev = wdp; in copylex()
193 vp->prev = vp; in freelex()
545 for (ip = hp->next->next; ip != hp->prev; ip = ip->next) in getexcl()
744 new->prev = wdp; in dosub()
754 hp->prev = wdp; in dosub()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c319 struct ncu_adv_domains *adp, *prev; in test_condition_adv_domain() local
362 prev = adp; in test_condition_adv_domain()
363 adp = prev->next; in test_condition_adv_domain()
364 free(prev->dns_domain); in test_condition_adv_domain()
365 free(prev->nis_domain); in test_condition_adv_domain()
366 free(prev); in test_condition_adv_domain()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmultilist.c343 void *prev = list_prev(&mls->mls_list, obj); in multilist_sublist_move_forward() local
349 if (prev == NULL) in multilist_sublist_move_forward()
353 list_insert_before(&mls->mls_list, prev, obj); in multilist_sublist_move_forward()
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c1054 ASSERT(ctx->next != NULL && ctx->prev != NULL); in ctxop_detach_chain()
1056 ctx->prev->next = ctx->next; in ctxop_detach_chain()
1057 ctx->next->prev = ctx->prev; in ctxop_detach_chain()
1065 ctx->next = ctx->prev = NULL; in ctxop_detach_chain()
1089 ctx->next = ctx->prev = NULL; in ctxop_allocate()
1106 ASSERT(ctx->next == NULL && ctx->prev == NULL); in ctxop_attach()
1132 ctx->prev = ctx; in ctxop_attach()
1137 ctx->prev = tail; in ctxop_attach()
1138 head->prev = ctx; in ctxop_attach()
1264 ctx = tail = t->t_ctx->prev; in restorectx()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c1441 emul64_nowrite_t **prev = NULL; in emul64_write_off() local
1448 cur = emul64_find_nowrite(tgt, sb, blkcnt, &overlap, &prev); in emul64_write_off()
1451 *prev = nowrite; in emul64_write_off()
1482 emul64_nowrite_t **prev = NULL; in emul64_write_on() local
1488 cur = emul64_find_nowrite(tgt, sb, blkcnt, &overlap, &prev); in emul64_write_on()
1491 *prev = cur->emul64_nwnext; in emul64_write_on()
1526 emul64_nowrite_t **prev; in emul64_find_nowrite() local
1530 prev = &tgt->emul64_tgt_nowrite; in emul64_find_nowrite()
1536 prev = &cur->emul64_nwnext; in emul64_find_nowrite()
1540 *prevp = prev; in emul64_find_nowrite()
/illumos-gate/usr/src/cmd/man/
H A Dman.c614 char *prev = NULL; in get_all_sect() local
641 if (prev != NULL && strcmp(prev, tmp) == 0) { in get_all_sect()
646 free(prev); in get_all_sect()
647 if ((prev = strdup(*dv + 3)) == NULL) in get_all_sect()
665 free(prev); in get_all_sect()
892 struct man_node *prev = NULL; in fullpaths() local
896 prev = b; in fullpaths()
913 if (prev) in fullpaths()
914 prev->next = b->next; in fullpaths()
/illumos-gate/usr/src/cmd/sh/
H A Dname.c468 struct namnod **prev; in lookup() local
480 prev = &(nscan->namlft); in lookup()
482 prev = &(nscan->namrgt); in lookup()
483 nscan = *prev; in lookup()
495 return(*prev = nscan); in lookup()
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1913 deventry_t *dentry, *current, *prev; in da_remove_list() local
1964 prev = current; in da_remove_list()
2011 prev = current; in da_remove_list()
2020 prev->next = current->next; in da_remove_list()
2025 if (prev->next) { in da_remove_list()
2031 current = prev->next; in da_remove_list()
2075 deventry_t **dentry, *current, *prev; in da_rm_list_entry() local
2101 prev = NULL; in da_rm_list_entry()
2103 prev = current, current = current->next) { in da_rm_list_entry()
2117 if (prev == NULL) in da_rm_list_entry()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc.c863 struct svc_callout *prev; in svc_reg() local
887 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) { in svc_reg()
943 struct svc_callout *prev; in svc_unreg() local
951 if (prev == NULL_SVC) { in svc_unreg()
954 prev->sc_next = s->sc_next; in svc_unreg()
975 struct svc_callout *prev; in svc_register() local
996 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) { in svc_register()
1043 struct svc_callout *prev; in svc_unregister() local
1048 if (prev == NULL_SVC) { in svc_unregister()
1051 prev->sc_next = s->sc_next; in svc_unregister()
[all …]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio.c2042 aio_req_t **prev; in _aio_hash_insert() local
2047 prev = &hashp->hash_ptr; in _aio_hash_insert()
2053 prev = &next->req_link; in _aio_hash_insert()
2055 *prev = reqp; in _aio_hash_insert()
2068 aio_req_t **prev; in _aio_hash_del() local
2074 prev = &hashp->hash_ptr; in _aio_hash_del()
2077 *prev = next->req_link; in _aio_hash_del()
2081 prev = &next->req_link; in _aio_hash_del()
2095 aio_req_t **prev; in _aio_hash_find() local
2101 prev = &hashp->hash_ptr; in _aio_hash_find()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_drv.c579 new->prev = new; in ds_log_add()
585 ds_log_entry_t *tail = ds_log.head->prev; in ds_log_add()
588 new->prev = tail; in ds_log_add()
590 head->prev = new; in ds_log_add()
623 head->next->prev = head->prev; in ds_log_remove()
624 head->prev->next = head->next; in ds_log_remove()
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppbuiltin.c180 for (in = pp.in; in; in = in->prev) in ppbuiltin()
214 for (in = pp.in; in->prev; in = in->prev) in ppbuiltin()
215 if (in->prev->type == IN_FILE && in->file) in ppbuiltin()
/illumos-gate/usr/src/cmd/users/
H A Dusers.c536 struct display *prev; /* Previous display item */ in adddisp() local
543 prev = displayhead; in adddisp()
550 prev = current; in adddisp()
576 prev->next = new; in adddisp()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_helper.c1005 struct statement *prev, *tmp; in get_current_statement() local
1007 prev = last_ptr_list((struct ptr_list *)big_statement_stack); in get_current_statement()
1009 if (!prev || !get_macro_name(prev->pos)) in get_current_statement()
1010 return prev; in get_current_statement()
1013 if (positions_eq(tmp->pos, prev->pos)) in get_current_statement()
1015 if (prev->pos.line > tmp->pos.line) in get_current_statement()
1016 return prev; in get_current_statement()
1019 return prev; in get_current_statement()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dclusters.c897 int32_t prev, count, follow; in truncAtCluster() local
900 prev = 0; count = 0; in truncAtCluster()
904 prev = follow; in truncAtCluster()
933 createNewEndOfDirectory(fd, entry, prev); in truncAtCluster()
934 } else if (prev != 0) { in truncAtCluster()
935 markLastInFAT(prev); in truncAtCluster()
1230 int32_t prev = clusterNum; in checkForFATLoop() local
1239 prev = follow; in checkForFATLoop()
1249 markLastInFAT(prev); in checkForFATLoop()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c490 new->nxt = new->prev = NULL; in insert_mon()
548 new->prev = found; in insert_mon()
550 found->nxt->prev = new; in insert_mon()
557 new->prev = (mon_entry *) NULL; in insert_mon()
559 new->nxt->prev = new; in insert_mon()
627 if (nl->prev != NULL) in delete_onemon()
628 nl->prev->nxt = nl->nxt; in delete_onemon()
633 nl->nxt->prev = nl->prev; in delete_onemon()
/illumos-gate/usr/src/uts/intel/sys/
H A Dbootconf.h165 #define BOP_NEXTPROP(bop, prev) ((bop)->bsys_nextprop)(bop, prev) argument
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnbo.c525 xmca_t *prev, *del, *this; in xnbo_mcast_find() local
530 prev = del = NULL; in xnbo_mcast_find()
538 if (prev == NULL) in xnbo_mcast_find()
541 prev->next = this->next; in xnbo_mcast_find()
546 prev = this; in xnbo_mcast_find()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c83 action_list *alp, *prev, *tmp; in do_mount1() local
212 prev = tmp; in do_mount1()
213 prev->next = alp; in do_mount1()
268 prev = tmp; in do_mount1()
269 prev->next = alp; in do_mount1()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c54 eibnx_nodeq_t *prev; in eibnx_cleanup_port_nodes() local
70 prev = NULL; in eibnx_cleanup_port_nodes()
73 prev = node; in eibnx_cleanup_port_nodes()
75 if (prev == NULL) { in eibnx_cleanup_port_nodes()
78 prev->nc_next = node->nc_next; in eibnx_cleanup_port_nodes()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c2480 NODELIST *prev; in emlxs_tx_node_flush() local
2566 prev = ndlp; in emlxs_tx_node_flush()
2568 prev = prev->nlp_next[channelno]; in emlxs_tx_node_flush()
2771 IOCBQ *prev; in emlxs_tx_lun_flush() local
2792 prev = NULL; in emlxs_tx_lun_flush()
2834 prev = iocbq; in emlxs_tx_lun_flush()
2843 prev = NULL; in emlxs_tx_lun_flush()
3366 IOCBQ *prev; in emlxs_tx_move() local
3393 prev = NULL; in emlxs_tx_move()
3419 prev = iocbq; in emlxs_tx_move()
[all …]

1...<<11121314151617181920>>...29