Searched refs:lh_first (Results 1 - 25 of 45) sorted by relevance

12

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_chash.c161 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
238 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
310 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
538 for (cp = CNODEHASH(hfsmp, cnid)->lh_first; cp; cp = cp->c_hash.le_next) {
/xnu-2422.115.4/bsd/kern/
H A Dkern_shutdown.c477 for (p = allproc.lh_first; p; p = p->p_list.le_next) {
481 for (p = zombproc.lh_first; p; p = p->p_list.le_next) {
498 for (p = allproc.lh_first; p; p = p->p_list.le_next) {
536 for (p = allproc.lh_first; p; p = p->p_list.le_next) {
540 for (p = zombproc.lh_first; p; p = p->p_list.le_next) {
H A Dkern_proc.c226 for (uip = uipp->lh_first; uip != 0; uip = uip->ui_hash.le_next)
936 for (p = PIDHASH(pid)->lh_first; p != 0; p = p->p_hash.le_next) {
961 for (p = zombproc.lh_first; p != 0; p = p->p_list.le_next)
996 for (pgrp = PGRPHASH(pgid)->lh_first; pgrp != 0; pgrp = pgrp->pg_hash.le_next)
1029 for (sess = SESSHASH(sessid)->lh_first; sess != 0; sess = sess->s_hash.le_next)
1439 for (p = pgrp->pg_members.lh_first; p != 0; p = p->p_pglist.le_next) {
1441 for (p = pgrp->pg_members.lh_first; p != 0;
1458 for (p = pgrp->pg_members.lh_first; p != 0;
1461 for (p = pgrp->pg_members.lh_first; p != 0;
2140 for (p = allproc.lh_first; (
[all...]
H A Duipc_usrreq.c903 while (unp->unp_refs.lh_first) {
924 if (unp->unp_refs.lh_first != NULL) {
925 unp2 = unp->unp_refs.lh_first;
1540 cp->unp_refs = (u_int32_t)VM_KERNEL_ADDRPERM(up->unp_refs.lh_first);
1621 for (unp = head->lh_first, i = 0; unp && i < n;
1744 for (unp = head->lh_first, i = 0; unp && i < n;
1773 VM_KERNEL_ADDRPERM(unp->unp_refs.lh_first);
2055 for (fg = fmsghead.lh_first; fg != 0; fg = fg->f_msglist.le_next) {
2061 for (fg = fmsghead.lh_first; fg != 0;
2196 for (nunref = 0, fg = fmsghead.lh_first, fp
[all...]
H A Dposix_sem.c238 for (pcp = pcpp->lh_first; pcp != 0; pcp = nnp) {
304 for (p = pcpp->lh_first; p != 0; p = p->psem_hash.le_next)
352 while ( (pcp = pcpp->lh_first) )
H A Dposix_shm.c251 for (pcp = pcpp->lh_first; pcp != 0; pcp = nnp) {
319 for (p = pcpp->lh_first; p != 0; p = p->pshm_hash.le_next)
353 while ( (pcp = pcpp->lh_first) )
H A Dkern_exit.c684 while ((q = p->p_children.lh_first) != NULL) {
1213 for (p = q->p_children.lh_first; p != 0; p = p->p_sibling.le_next) {
1441 for (p = q->p_children.lh_first; p != 0; p = p->p_sibling.le_next) {
1865 while ((q = p->p_children.lh_first) != NULL) {
H A Dkern_resource.c210 for (p = pg->pg_members.lh_first; p != 0; p = p->p_pglist.le_next) {
225 for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) {
/xnu-2422.115.4/bsd/netinet6/
H A Dnd6_prproxy.c412 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
474 for (fwd = nd_prefix.lh_first; fwd; fwd = fwd->ndpr_next) {
612 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
631 for (fwd = nd_prefix.lh_first; fwd; fwd = fwd->ndpr_next) {
743 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
793 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
850 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
906 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
921 for (fwd = nd_prefix.lh_first; fwd; fwd = fwd->ndpr_next) {
1007 for (pr = nd_prefix.lh_first; p
[all...]
H A Dip6_fw.c926 if (!chainptr->lh_first) {
940 for (fcp = chainptr->lh_first; fcp; fcp = fcp->chain.le_next) {
952 for (fcp = chainptr->lh_first; fcp; fcp = fcp->chain.le_next) {
978 fcp = chainptr->lh_first;
1007 for (fcp = ip6_fw_chain.lh_first; fcp; fcp = fcp->chain.le_next)
1381 while (ip6_fw_chain.lh_first &&
1382 ip6_fw_chain.lh_first->rule->fw_number != (u_short)-1)
1384 struct ip6_fw_chain *fcp = ip6_fw_chain.lh_first;
1385 LIST_REMOVE(ip6_fw_chain.lh_first, chain);
H A Dnd6_rtr.c1077 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
1939 for (search = pr->ndpr_advrtrs.lh_first; search;
1986 for (search = nd_prefix.lh_first; search; search = search->ndpr_next) {
2012 pr = nd_prefix.lh_first;
2049 pr = nd_prefix.lh_first;
2241 for (pfr = pr->ndpr_advrtrs.lh_first; pfr; pfr = next) {
2995 pr = nd_prefix.lh_first;
3018 pr = nd_prefix.lh_first;
3035 for (pr0 = nd_prefix.lh_first; pr0;
3058 pr = nd_prefix.lh_first;
[all...]
H A Dnd6.c1191 pr = nd_prefix.lh_first;
1216 pr = nd_prefix.lh_first;
1549 for (pr = nd_prefix.lh_first; pr; pr = npr) {
1821 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
2458 pr = nd_prefix.lh_first;
2485 pfr = pr->ndpr_advrtrs.lh_first;
2540 pfr = pr->ndpr_advrtrs.lh_first;
2690 for (pr = nd_prefix.lh_first; pr; pr = next) {
2736 next = nd_prefix.lh_first;
/xnu-2422.115.4/bsd/sys/
H A Dunpcb.h106 u_int32_t lh_first; \
H A Dqueue.h420 struct type *lh_first; /* first element */ \
464 #define LIST_EMPTY(head) ((head)->lh_first == NULL)
466 #define LIST_FIRST(head) ((head)->lh_first)
/xnu-2422.115.4/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeReserve.c279 for (tmp_nrp = nrhead->lh_first; tmp_nrp;
334 for (nrp = nrhead->lh_first; nrp; nrp = nrp->nr_hash.le_next) {
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_cache.c1722 for (p = ncpp->lh_first; p != 0; p = p->nc_hash.le_next)
1903 for (entry=old_head->lh_first; entry != NULL; entry=next) {
2037 for (ncp = ncpp->lh_first; ncp != 0; ncp = ncp->nc_hash.le_next) {
2107 for (entry = old_head->lh_first; entry != NULL; entry = next) {
2110 if (head->lh_first == NULL) {
2183 for (entry = head->lh_first; entry != NULL; chain_len++, entry = entry->hash_chain.le_next) {
2196 if (head->lh_first == NULL) {
2246 for (entry = head->lh_first; entry != NULL; entry = entry->hash_chain.le_next) {
2253 if (head->lh_first == NULL) {
2285 for (entry=head->lh_first; entr
[all...]
H A Dvfs_bio.c249 if ((bp->b_hash.le_next = (head)->lh_first) != NULL)
250 (head)->lh_first->b_hash.le_prev = &(bp)->b_hash.le_next;
251 (head)->lh_first = bp;
252 bp->b_hash.le_prev = &(head)->lh_first;
267 nbp = dp->lh_first;
1702 if (vp->v_dirtyblkhd.lh_first && busy) {
1753 iterheadp->lh_first = listheadp->lh_first;
1754 listheadp->lh_first->b_vnbufs.le_prev = &iterheadp->lh_first;
[all...]
H A Dvfs_quota.c539 for (dq = dqh->lh_first; dq; dq = dq->dq_hash.le_next) {
1068 for (dq = dqh->lh_first; dq; dq = nextdq) {
/xnu-2422.115.4/tools/lldbmacros/core/
H A Dkernelcore.py52 element - value : Value object for lh_first
63 elt = element.lh_first
328 proc_val = cast(all_proc_head.lh_first, 'proc *')
339 proc_val = cast(zproc_head.lh_first, 'proc *')
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_srvcache.c238 for (rp = NFSRCHASH(nd->nd_retxid)->lh_first; rp != 0;
377 for (rp = NFSRCHASH(nd->nd_retxid)->lh_first; rp != 0;
/xnu-2422.115.4/bsd/netinet/
H A Din_pcblist.c203 xt->t_segq = (u_int32_t)(uintptr_t)tp->t_segq.lh_first;
322 for (inp = pcbinfo->ipi_listhead->lh_first, i = 0; inp && i < n;
H A Dmptcp_var.h420 struct mptcp_key_entry *lh_first; /* list of keys */ member in struct:mptcp_keys_pool_head
H A Draw_ip.c1096 for (inp = ripcbinfo.ipi_listhead->lh_first, i = 0; inp && i < n;
1199 for (inp = ripcbinfo.ipi_listhead->lh_first, i = 0; inp && i < n;
/xnu-2422.115.4/tools/lldbmacros/
H A Dnet.py278 ifmulti = cast(ifp.if_multiaddrs.lh_first, 'ifmultiaddr *')
310 inmulti = cast(inmultihead.lh_first, 'in_multi *')
331 in6multi = cast(in6multihead.lh_first, 'in6_multi *')
1600 pcb = cast(head.lh_first, 'inpcb *')
1631 pcb = cast(head.lh_first, 'inpcbport *')
1658 pcb = Cast(kev_pcb_head.lh_first, 'kern_event_pcb *')
1751 pcb0 = cast(head.lh_first, 'inpcb *')
1759 pcb0 = cast(head.lh_first, 'inpcb *')
/xnu-2422.115.4/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c217 for (fd = fc->lh_first; fd != 0; fd = fd->fd_hash.le_next) {

Completed in 254 milliseconds

12