| /xnu-8796.141.3/bsd/sys/ |
| H A D | queue.h | 631 TAILQ_FIRST((head)) != NULL && \ 632 TAILQ_FIRST((head))->field.tqe_prev != \ 633 &TAILQ_FIRST((head)))) \ 671 #define TAILQ_FIRST(head) ((head)->tqh_first) macro 674 for ((var) = TAILQ_FIRST((head)); \ 679 for ((var) = TAILQ_FIRST((head)); \ 700 (head)->tqh_last = &TAILQ_FIRST((head)); \ 705 TAILQ_FIRST((head)) = NULL; \ 706 (head)->tqh_last = &TAILQ_FIRST((head)); \ 738 if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \ [all …]
|
| /xnu-8796.141.3/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 | 660 rule = TAILQ_FIRST(ruleset->rules[rs_num].active.ptr); in pf_get_pool() 671 rule = TAILQ_FIRST(ruleset->rules[rs_num].inactive.ptr); in pf_get_pool() 699 while ((mv_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_mv_pool() 710 while ((empty_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_empty_pool() 798 for (p = TAILQ_FIRST(head); p != NULL && in tagname2tag() 841 for (p = TAILQ_FIRST(head); p != NULL; p = next) { in tag_unref() 924 while ((rule = TAILQ_FIRST(rs->rules[rs_num].inactive.ptr)) != NULL) { in pf_begin_rules() 951 while ((rule = TAILQ_FIRST(rs->rules[rs_num].inactive.ptr)) != NULL) { in pf_rollback_rules() 1095 r = TAILQ_FIRST(rs->rules[rs_num].active.ptr); in pf_commit_rules() 1124 while ((rule = TAILQ_FIRST(old_rules)) != NULL) { in pf_commit_rules() [all …]
|
| H A D | if_stf.c | 470 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); in stf_getsrcifa6() 660 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); in stf_checkaddr4()
|
| /xnu-8796.141.3/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 | 1599 if (NULL == TAILQ_FIRST(&audit_sdev_list)) { in audit_sdev_submit() 1663 while ((ase = TAILQ_FIRST(&asdev->asdev_queue)) != NULL) { in audit_sdev_flush() 1944 while ((ase = TAILQ_FIRST(&asdev->asdev_queue)) != NULL && in audit_sdev_read() 1965 KASSERT(TAILQ_FIRST(&asdev->asdev_queue) == ase, in audit_sdev_read() 1998 if (NULL != TAILQ_FIRST(&asdev->asdev_queue)) { in audit_sdev_poll()
|
| /xnu-8796.141.3/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 | 968 while ((slp = TAILQ_FIRST(&nfsrv_sockwait))) { in nfssvc_nfsd() 982 while ((slp = TAILQ_FIRST(&nfsrv_sockwork))) { in nfssvc_nfsd() 1552 for (unode = TAILQ_FIRST(&ulist->user_lru); unode; unode = unode_next) { in nfssvc_userstats() 1922 for (slp = TAILQ_FIRST(&nfsrv_socklist); slp != 0; slp = nslp) { in nfsrv_cleanup()
|
| /xnu-8796.141.3/bsd/netinet/ |
| H A D | tcp_sack.c | 663 while ((q = TAILQ_FIRST(&tp->snd_holes)) != NULL) { in tcp_free_sackholes() 797 struct sackhole *hole = TAILQ_FIRST(&tp->snd_holes); in tcp_sack_lost_rexmit() 806 tp->sackhint.nexthole = TAILQ_FIRST(&tp->snd_holes); in tcp_sack_lost_rexmit() 819 struct sackhole *p, *cur = TAILQ_FIRST(&tp->snd_holes); in tcp_sack_adjust()
|
| H A D | in_var.h | 227 for ((ia) = TAILQ_FIRST(&in_ifaddrhead); \
|
| H A D | in_gif.c | 385 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); ia4; in gif_encapcheck4()
|
| H A D | kpi_ipfilter.c | 117 while ((filter = TAILQ_FIRST(&tbr_filters))) { in ipf_unref()
|
| H A D | ip_input.c | 2653 for (fp = TAILQ_FIRST(&ipq[i]); fp;) { in frag_timeout() 2674 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_timeout() 2675 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i])); in frag_timeout() 2708 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_drain() 2709 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i])); in frag_drain()
|
| /xnu-8796.141.3/osfmk/vm/ |
| H A D | vm_reclaim.c | 798 vm_deferred_reclamation_metadata_t metadata = TAILQ_FIRST(&reclamation_buffers); in vm_deferred_reclamation_reclaim_memory() 926 vm_deferred_reclamation_metadata_t metadata = TAILQ_FIRST(&async_reclamation_buffers); in process_async_reclamation_list() 947 metadata = TAILQ_FIRST(&async_reclamation_buffers); in process_async_reclamation_list()
|
| /xnu-8796.141.3/bsd/netinet6/ |
| H A D | nd6_rtr.c | 1065 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_lookup() 1182 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset() 1192 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset() 1592 if (!TAILQ_FIRST(nd_router_listp)) { in defrouter_select() 1649 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select() 1816 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select() 1848 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_select() 2028 n = TAILQ_FIRST(nd_router_listp); in defrtrlist_update_common() 2124 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrtrlist_update_common() 3209 for (dr = TAILQ_FIRST(&nd_defrouter_list); dr; in pfxlist_onlink_check() [all …]
|
| H A D | in6_ifattach.c | 1076 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach() 1167 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach()
|
| /xnu-8796.141.3/bsd/kern/ |
| H A D | subr_eventhandler.c | 230 ep = TAILQ_FIRST(&list->el_entries); in eventhandler_deregister()
|
| H A D | kern_credential.c | 711 if (TAILQ_FIRST(&kauth_resolver_unsubmitted) == NULL) { in kauth_resolver_getwork_continue() 764 workp = TAILQ_FIRST(&kauth_resolver_unsubmitted); in kauth_resolver_getwork2() 852 while ((workp = TAILQ_FIRST(&kauth_resolver_unsubmitted)) == NULL) { in kauth_resolver_getwork() 1467 if (kip != TAILQ_FIRST(&kauth_identities)) { in kauth_identity_lru() 2923 if (gm != TAILQ_FIRST(&kauth_groups)) { in kauth_groups_lru()
|
| H A D | kern_lockf.c | 1477 wakelock = TAILQ_FIRST(&listhead->lf_blkhd); in lf_wakelock() 1557 printf(" block %p\n", (void *)TAILQ_FIRST(&lock->lf_blkhd)); in lf_print()
|
| H A D | kpi_socketfilter.c | 462 if (TAILQ_FIRST(&proto->pr_filter_head) != NULL) { in sflt_initsock() 479 TAILQ_FIRST(&proto->pr_filter_head); in sflt_initsock()
|
| /xnu-8796.141.3/bsd/vfs/ |
| H A D | vfs_cache.c | 1164 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in vnode_update_identity() 2824 ncp = TAILQ_FIRST(&nchead); in cache_enter_locked() 2917 negp = TAILQ_FIRST(&neghead); in cache_enter_locked() 3168 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge_locked() 3182 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in cache_purge_locked() 3200 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge()
|
| /xnu-8796.141.3/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-8796.141.3/bsd/skywalk/mem/ |
| H A D | skmem_region.c | 1108 sg = TAILQ_FIRST(&skr->skr_seg_free); in skmem_region_alloc() 1134 if (TAILQ_FIRST(&skr->skr_seg_free) != NULL) { in skmem_region_alloc() 1952 while ((sg = TAILQ_FIRST(&sgb->sgb_head)) != NULL) { in skmem_region_hash_rescale()
|