| /xnu-8792.41.9/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-8792.41.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 | 656 rule = TAILQ_FIRST(ruleset->rules[rs_num].active.ptr); in pf_get_pool() 667 rule = TAILQ_FIRST(ruleset->rules[rs_num].inactive.ptr); in pf_get_pool() 687 while ((mv_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_mv_pool() 698 while ((empty_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_empty_pool() 786 for (p = TAILQ_FIRST(head); p != NULL && in tagname2tag() 829 for (p = TAILQ_FIRST(head); p != NULL; p = next) { in tag_unref() 912 while ((rule = TAILQ_FIRST(rs->rules[rs_num].inactive.ptr)) != NULL) { in pf_begin_rules() 935 while ((rule = TAILQ_FIRST(rs->rules[rs_num].inactive.ptr)) != NULL) { in pf_rollback_rules() 1071 r = TAILQ_FIRST(rs->rules[rs_num].active.ptr); in pf_commit_rules() 1100 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()
|
| H A D | ntstat.c | 614 while ((procdetails = TAILQ_FIRST(&dead_list))) { in nstat_prune_procdetails() 1562 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_pcb_detach() 2787 while ((src = TAILQ_FIRST(&dead_list))) { in ntstat_userland_stats_close() 2883 while ((src = TAILQ_FIRST(&dead_list))) { in ntstat_userland_stats_event() 2948 while ((src = TAILQ_FIRST(&dead_list))) { in nstats_userland_stats_defunct_for_process() 3445 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_provider_stats_close() 5364 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_idle_check() 5509 while ((src = TAILQ_FIRST(&cleanup_list))) { in nstat_control_disconnect() 6363 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_control_handle_query_request() 6651 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_control_handle_get_update()
|
| /xnu-8792.41.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 | 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-8792.41.9/bsd/nfs/ |
| H A D | nfs_upcall.c | 119 ep = TAILQ_FIRST(myqueue->ucq_queue); in nfsrv_uc_thread() 297 struct nfsrv_uc_arg *ep = TAILQ_FIRST(queue->ucq_queue); in nfsrv_uc_cleanup()
|
| H A D | nfs_syscalls.c | 933 while ((slp = TAILQ_FIRST(&nfsrv_sockwait))) { in nfssvc_nfsd() 947 while ((slp = TAILQ_FIRST(&nfsrv_sockwork))) { in nfssvc_nfsd() 1517 for (unode = TAILQ_FIRST(&ulist->user_lru); unode; unode = unode_next) { in nfssvc_userstats() 1887 for (slp = TAILQ_FIRST(&nfsrv_socklist); slp != 0; slp = nslp) { in nfsrv_cleanup()
|
| /xnu-8792.41.9/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 | 2649 for (fp = TAILQ_FIRST(&ipq[i]); fp;) { in frag_timeout() 2670 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_timeout() 2671 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i])); in frag_timeout() 2704 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_drain() 2705 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i])); in frag_drain()
|
| /xnu-8792.41.9/osfmk/vm/ |
| H A D | vm_reclaim.c | 801 vm_deferred_reclamation_metadata_t metadata = TAILQ_FIRST(&reclamation_buffers); in vm_deferred_reclamation_reclaim_memory() 929 vm_deferred_reclamation_metadata_t metadata = TAILQ_FIRST(&async_reclamation_buffers); in process_async_reclamation_list() 950 metadata = TAILQ_FIRST(&async_reclamation_buffers); in process_async_reclamation_list()
|
| /xnu-8792.41.9/bsd/vfs/ |
| H A D | vfs_cache.c | 1039 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in vnode_update_identity() 2311 ncp = TAILQ_FIRST(&nchead); in cache_enter_locked() 2400 negp = TAILQ_FIRST(&neghead); in cache_enter_locked() 2602 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge_locked() 2616 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in cache_purge_locked() 2634 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge()
|
| /xnu-8792.41.9/bsd/netinet6/ |
| H A D | nd6_rtr.c | 1068 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_lookup() 1185 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset() 1195 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset() 1595 if (!TAILQ_FIRST(nd_router_listp)) { in defrouter_select() 1652 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select() 1819 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select() 1851 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_select() 2031 n = TAILQ_FIRST(nd_router_listp); in defrtrlist_update_common() 2127 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrtrlist_update_common() 3218 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() 1166 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach()
|
| /xnu-8792.41.9/bsd/kern/ |
| H A D | subr_eventhandler.c | 263 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 | 461 if (TAILQ_FIRST(&proto->pr_filter_head) != NULL) { in sflt_initsock() 478 TAILQ_FIRST(&proto->pr_filter_head); in sflt_initsock()
|
| /xnu-8792.41.9/tools/tests/affinity/ |
| H A D | sets.c | 243 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn()
|
| H A D | pool.c | 254 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn()
|