Home
last modified time | relevance | path

Searched refs:TAILQ_FIRST (Results 1 – 25 of 63) sorted by relevance

123

/xnu-10063.141.1/bsd/sys/
H A Dqueue.h631 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-10063.141.1/bsd/net/
H A Dnwk_wq.c77 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 Dpf_ioctl.c712 rule = TAILQ_FIRST(ruleset->rules[rs_num].active.ptr); in pf_get_pool()
723 rule = TAILQ_FIRST(ruleset->rules[rs_num].inactive.ptr); in pf_get_pool()
751 while ((mv_pool_pa = TAILQ_FIRST(poola)) != NULL) { in pf_mv_pool()
762 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 Dif_stf.c472 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); in stf_getsrcifa6()
662 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); in stf_checkaddr4()
H A Dntstat.c674 while ((procdetails = TAILQ_FIRST(&dead_list))) { in nstat_prune_procdetails()
1556 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_pcb_detach()
2826 while ((src = TAILQ_FIRST(&dead_list))) { in ntstat_userland_stats_close()
2922 while ((src = TAILQ_FIRST(&dead_list))) { in ntstat_userland_stats_event()
2987 while ((src = TAILQ_FIRST(&dead_list))) { in nstats_userland_stats_defunct_for_process()
3494 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_provider_stats_close()
5388 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_idle_check()
5535 while ((src = TAILQ_FIRST(&cleanup_list))) { in nstat_control_disconnect()
6408 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_control_handle_query_request()
6696 while ((src = TAILQ_FIRST(&dead_list))) { in nstat_control_handle_get_update()
/xnu-10063.141.1/bsd/security/audit/
H A Daudit_pipe.c363 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 Daudit_worker.c462 while ((ar = TAILQ_FIRST(&audit_q))) { in audit_worker()
475 while ((ar = TAILQ_FIRST(&ar_worklist))) { in audit_worker()
H A Daudit_session.c1575 if (NULL == TAILQ_FIRST(&audit_sdev_list)) { in audit_sdev_submit()
1639 while ((ase = TAILQ_FIRST(&asdev->asdev_queue)) != NULL) { in audit_sdev_flush()
1920 while ((ase = TAILQ_FIRST(&asdev->asdev_queue)) != NULL && in audit_sdev_read()
1941 KASSERT(TAILQ_FIRST(&asdev->asdev_queue) == ase, in audit_sdev_read()
1974 if (NULL != TAILQ_FIRST(&asdev->asdev_queue)) { in audit_sdev_poll()
/xnu-10063.141.1/bsd/nfs/
H A Dnfs_upcall.c121 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 Dnfs_syscalls.c967 while ((slp = TAILQ_FIRST(&nfsrv_sockwait))) { in nfssvc_nfsd()
981 while ((slp = TAILQ_FIRST(&nfsrv_sockwork))) { in nfssvc_nfsd()
1551 for (unode = TAILQ_FIRST(&ulist->user_lru); unode; unode = unode_next) { in nfssvc_userstats()
1924 for (slp = TAILQ_FIRST(&nfsrv_socklist); slp != 0; slp = nslp) { in nfsrv_cleanup()
/xnu-10063.141.1/bsd/netinet/
H A Dtcp_sack.c663 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 Din_var.h226 for ((ia) = TAILQ_FIRST(&in_ifaddrhead); \
H A Din_gif.c384 for (ia4 = TAILQ_FIRST(&in_ifaddrhead); ia4; in gif_encapcheck4()
H A Dip_input.c2650 for (fp = TAILQ_FIRST(&ipq[i]); fp;) { in frag_timeout()
2671 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_timeout()
2672 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i])); in frag_timeout()
2705 TAILQ_FIRST(&ipq[i])->ipq_nfrags; in frag_drain()
2706 frag_freef(&ipq[i], TAILQ_FIRST(&ipq[i])); in frag_drain()
H A Dkpi_ipfilter.c117 while ((filter = TAILQ_FIRST(&tbr_filters))) { in ipf_unref()
/xnu-10063.141.1/bsd/netinet6/
H A Dnd6_rtr.c1067 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_lookup()
1183 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset()
1193 dr = TAILQ_FIRST(&nd_defrouter_list); in defrouter_reset()
1593 if (!TAILQ_FIRST(nd_router_listp)) { in defrouter_select()
1650 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select()
1822 dr = TAILQ_FIRST(nd_router_listp); in defrouter_select()
1854 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrouter_select()
2034 n = TAILQ_FIRST(nd_router_listp); in defrtrlist_update_common()
2130 for (dr = TAILQ_FIRST(nd_router_listp); dr; in defrtrlist_update_common()
3215 for (dr = TAILQ_FIRST(&nd_defrouter_list); dr; in pfxlist_onlink_check()
[all …]
H A Din6_ifattach.c1072 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach()
1162 ifa = TAILQ_FIRST(&ifp->if_addrlist); in in6_ifdetach()
/xnu-10063.141.1/bsd/kern/
H A Dsubr_eventhandler.c230 ep = TAILQ_FIRST(&list->el_entries); in eventhandler_deregister()
H A Dkern_credential.c694 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 Dkern_lockf.c1474 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 Dkpi_socketfilter.c454 if (TAILQ_FIRST(&proto->pr_filter_head) != NULL) { in sflt_initsock()
471 TAILQ_FIRST(&proto->pr_filter_head); in sflt_initsock()
/xnu-10063.141.1/osfmk/vm/
H A Dvm_reclaim.c1005 vm_deferred_reclamation_metadata_t metadata = TAILQ_FIRST(&reclamation_buffers); in vm_deferred_reclamation_reclaim_memory()
1153 vm_deferred_reclamation_metadata_t metadata = TAILQ_FIRST(&async_reclamation_buffers); in process_async_reclamation_list()
1177 metadata = TAILQ_FIRST(&async_reclamation_buffers); in process_async_reclamation_list()
/xnu-10063.141.1/bsd/vfs/
H A Dvfs_cache.c1189 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in vnode_update_identity()
2861 ncp = TAILQ_FIRST(&nchead); in cache_enter_locked()
2954 negp = TAILQ_FIRST(&neghead); in cache_enter_locked()
3213 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge_locked()
3227 while ((ncp = TAILQ_FIRST(&vp->v_ncchildren))) { in cache_purge_locked()
3245 (TAILQ_FIRST(&vp->v_ncchildren) == NULL) && in cache_purge()
/xnu-10063.141.1/tools/tests/affinity/
H A Dpool.c254 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn()
H A Dsets.c243 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn()

123