| /xnu-12377.1.9/bsd/sys/ |
| H A D | queue.h | 629 TAILQ_FIRST((head)) != NULL && \ 630 TAILQ_FIRST((head))->field.tqe_prev != \ 631 &TAILQ_FIRST((head)))) \ 666 #define TAILQ_FIRST(head) ((head)->tqh_first) macro 669 for ((var) = TAILQ_FIRST((head)); \ 674 for ((var) = TAILQ_FIRST((head)); \ 695 (head)->tqh_last = &TAILQ_FIRST((head)); \ 700 TAILQ_FIRST((head)) = NULL; \ 701 (head)->tqh_last = &TAILQ_FIRST((head)); \ 733 if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \ [all …]
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | nwk_wq.c | 77 while (TAILQ_FIRST(&nwk_wq_head) == NULL) { in nwk_wq_thread_cont() 88 VERIFY(TAILQ_FIRST(&temp_nwk_wq_head) != NULL); in nwk_wq_thread_cont()
|
| H A D | pf_ioctl.c | 713 rule = TAILQ_FIRST(ruleset->rules[rs_num].active.ptr); in pf_get_pool() 724 rule = TAILQ_FIRST(ruleset->rules[rs_num].inactive.ptr); in pf_get_pool() 752 while ((mv_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_mv_pool() 763 while ((empty_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_empty_pool() 850 for (p = TAILQ_FIRST(head); p != NULL && in tagname2tag() 893 for (p = TAILQ_FIRST(head); p != NULL; p = next) { in tag_unref() 976 while ((rule = TAILQ_FIRST(rs->rules[rs_num].inactive.ptr)) != NULL) { in pf_begin_rules() 1003 while ((rule = TAILQ_FIRST(rs->rules[rs_num].inactive.ptr)) != NULL) { in pf_rollback_rules() 1147 r = TAILQ_FIRST(rs->rules[rs_num].active.ptr); in pf_commit_rules() 1176 while ((rule = TAILQ_FIRST(old_rules)) != NULL) { in pf_commit_rules() [all …]
|
| H A D | if_stf.c | 473 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); in stf_getsrcifa6() 663 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); in stf_checkaddr4()
|
| /xnu-12377.1.9/bsd/security/audit/ |
| H A D | audit_pipe.c | 363 while ((app = TAILQ_FIRST(&ap->ap_preselect_list)) != NULL) { in audit_pipe_preselect_flush_locked() 519 if (TAILQ_FIRST(&audit_pipe_list) == NULL) { in audit_pipe_submit() 554 if (TAILQ_FIRST(&audit_pipe_list) == NULL) { in audit_pipe_submit_user() 624 while ((ape = TAILQ_FIRST(&ap->ap_queue)) != NULL) { in audit_pipe_flush() 1015 while ((ape = TAILQ_FIRST(&ap->ap_queue)) != NULL && in audit_pipe_read() 1036 KASSERT(TAILQ_FIRST(&ap->ap_queue) == ape, in audit_pipe_read() 1069 if (TAILQ_FIRST(&ap->ap_queue) != NULL) { in audit_pipe_poll()
|
| H A D | audit_worker.c | 462 while ((ar = TAILQ_FIRST(&audit_q))) { in audit_worker() 475 while ((ar = TAILQ_FIRST(&ar_worklist))) { in audit_worker()
|
| H A D | audit_session.c | 1569 if (NULL == TAILQ_FIRST(&audit_sdev_list)) { in audit_sdev_submit() 1633 while ((ase = TAILQ_FIRST(&asdev->asdev_queue)) != NULL) { in audit_sdev_flush() 1914 while ((ase = TAILQ_FIRST(&asdev->asdev_queue)) != NULL && in audit_sdev_read() 1935 KASSERT(TAILQ_FIRST(&asdev->asdev_queue) == ase, in audit_sdev_read() 1968 if (NULL != TAILQ_FIRST(&asdev->asdev_queue)) { in audit_sdev_poll()
|
| /xnu-12377.1.9/bsd/nfs/ |
| H A D | nfs_upcall.c | 121 ep = TAILQ_FIRST(myqueue->ucq_queue); in nfsrv_uc_thread() 308 struct nfsrv_uc_arg *ep = TAILQ_FIRST(queue->ucq_queue); in nfsrv_uc_cleanup()
|
| H A D | nfs_syscalls.c | 969 while ((slp = TAILQ_FIRST(&nfsrv_sockwait))) { in nfssvc_nfsd() 983 while ((slp = TAILQ_FIRST(&nfsrv_sockwork))) { in nfssvc_nfsd() 1553 for (unode = TAILQ_FIRST(&ulist->user_lru); unode; unode = unode_next) { in nfssvc_userstats() 1926 for (slp = TAILQ_FIRST(&nfsrv_socklist); slp != 0; slp = nslp) { in nfsrv_cleanup()
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | nd6_rtr.c | 1114 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_lookup() 1226 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset() 1236 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset() 1636 if (!TAILQ_FIRST(nd_router_listp)) { in defrouter_select() 1693 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select() 1875 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select() 1907 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_select() 2095 n = TAILQ_FIRST(nd_router_listp); in defrtrlist_update_common() 2191 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrtrlist_update_common() 3277 for (dr = TAILQ_FIRST(&nd_defrouter_list); dr; in pfxlist_onlink_check() [all …]
|
| H A D | in6_ifattach.c | 1072 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach() 1162 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach()
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | subr_eventhandler.c | 234 ep = TAILQ_FIRST(&list->el_entries); in eventhandler_deregister()
|
| H A D | kern_aio.c | 1798 while ((entryp = TAILQ_FIRST(&queue->aioq_entries))) { in aio_get_some_work() 1860 if (entryp == TAILQ_FIRST(&entryp->procp->p_aio_activeq)) { in aio_delay_fsync_request() 3149 while ((entryp = TAILQ_FIRST(&wq_aio->wa_aioq_entries))) { in workq_aio_unpark_select_req_or_park_and_unlock() 3305 uth = TAILQ_FIRST(&wq_aio->wa_thidlelist); in workq_aio_wakeup_thread_internal() 3311 uth = TAILQ_FIRST(&wq_aio->wa_thidlelist); in workq_aio_wakeup_thread_internal()
|
| H A D | kern_credential.c | 694 if (TAILQ_FIRST(&kauth_resolver_unsubmitted) == NULL) { in kauth_resolver_getwork_continue() 747 workp = TAILQ_FIRST(&kauth_resolver_unsubmitted); in kauth_resolver_getwork2() 835 while ((workp = TAILQ_FIRST(&kauth_resolver_unsubmitted)) == NULL) { in kauth_resolver_getwork() 1450 if (kip != TAILQ_FIRST(&kauth_identities)) { in kauth_identity_lru() 2844 if (gm != TAILQ_FIRST(&kauth_groups)) { in kauth_groups_lru()
|
| H A D | kern_lockf.c | 1474 wakelock = TAILQ_FIRST(&listhead->lf_blkhd); in lf_wakelock() 1554 printf(" block %p\n", (void *)TAILQ_FIRST(&lock->lf_blkhd)); in lf_print()
|
| H A D | kpi_socketfilter.c | 456 if (TAILQ_FIRST(&proto->pr_filter_head) != NULL) { in sflt_initsock() 473 TAILQ_FIRST(&proto->pr_filter_head); in sflt_initsock()
|
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_cache.c | 1198 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in vnode_update_identity() 2918 ncp = TAILQ_FIRST(&nchead); in cache_enter_locked() 3011 negp = TAILQ_FIRST(&neghead); in cache_enter_locked() 3270 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge_locked() 3284 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in cache_purge_locked() 3302 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge()
|
| /xnu-12377.1.9/bsd/netinet/ |
| H A D | tcp_sack.c | 671 while ((q = TAILQ_FIRST(&tp->snd_holes)) != NULL) { in tcp_free_sackholes() 823 struct sackhole *p, *cur = TAILQ_FIRST(&tp->snd_holes); in tcp_sack_adjust()
|
| H A D | in_var.h | 291 for ((ia) = TAILQ_FIRST(&in_ifaddrhead); \
|
| H A D | in_gif.c | 384 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); ia4; in gif_encapcheck4()
|
| H A D | ip_input.c | 2287 for (fp = TAILQ_FIRST(&ipq[i]); fp;) { in frag_timeout() 2308 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_timeout() 2309 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i]), DROP_REASON_IP_FRAG_DROPPED); in frag_timeout() 2342 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_drain() 2343 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i]), DROP_REASON_IP_FRAG_DRAINED); in frag_drain()
|
| H A D | kpi_ipfilter.c | 117 while ((filter = TAILQ_FIRST(&tbr_filters))) { in ipf_unref()
|
| /xnu-12377.1.9/tools/tests/affinity/ |
| H A D | pool.c | 254 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn()
|
| H A D | sets.c | 243 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn()
|
| /xnu-12377.1.9/bsd/skywalk/mem/ |
| H A D | skmem_slab.c | 227 sl = TAILQ_FIRST(&skm->skm_sl_partial_list); in skmem_slab_alloc_locked()
|