Home
last modified time | relevance | path

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

123

/xnu-12377.61.12/bsd/kern/
H A Dsubr_eventhandler.c217 if (!TAILQ_EMPTY(&list->el_entries)) { in eventhandler_deregister()
233 while (!TAILQ_EMPTY(&list->el_entries)) { in eventhandler_deregister()
339 VERIFY(TAILQ_EMPTY(&list->el_entries)); in eventhandler_lists_ctxt_destroy()
H A Dkern_lockf.c397 if (!TAILQ_EMPTY(&lock->lf_blkhd)) { in lf_abort_advlocks()
809 if (!TAILQ_EMPTY(&lock->lf_blkhd)) { in lf_setlock()
816 if (!TAILQ_EMPTY(&lock->lf_blkhd)) { in lf_setlock()
1473 while (!TAILQ_EMPTY(&listhead->lf_blkhd)) { in lf_wakelock()
1489 if (!TAILQ_EMPTY(&listhead->lf_blkhd)) { in lf_wakelock()
1553 if (!TAILQ_EMPTY(&lock->lf_blkhd)) { in lf_print()
1617 if (!TAILQ_EMPTY(&blk->lf_blkhd)) { in lf_printlist()
H A Dkern_event.c3441 assert(TAILQ_EMPTY(&kqwl->kqwl_suppressed)); in kqworkloop_dealloc()
4505 unbind = TAILQ_EMPTY(queue); in kqworkq_acknowledge_events()
4520 if (!TAILQ_EMPTY(queue)) { in kqworkq_acknowledge_events()
4558 !TAILQ_EMPTY(&kqwq->kqwq_queue[kqr->tr_kq_qos_index - 1])); in kqworkq_begin_processing()
4625 } else if (!TAILQ_EMPTY(&kqwl->kqwl_suppressed)) { in kqworkloop_begin_processing()
5376 !TAILQ_EMPTY(&kqu.kqwq->kqwq_queue[kqr->tr_kq_qos_index - 1]));
5748 !TAILQ_EMPTY(&kqu.kqwq->kqwq_queue[kqr->tr_kq_qos_index - 1]));
5868 if (TAILQ_EMPTY(&kqwl->kqwl_suppressed)) {
5873 if (!TAILQ_EMPTY(&kqwl->kqwl_queue[i - 1])) {
6374 if (!TAILQ_EMPTY(&kqwl->kqwl_suppressed)) {
[all …]
H A Dkern_aio.c2254 return !TAILQ_EMPTY(&procp->p_aio_activeq); in aio_has_active_requests_for_process()
2827 assert(TAILQ_EMPTY(&wq_aio->wa_aioq_entries)); in workq_aio_exit()
2828 assert(TAILQ_EMPTY(&wq_aio->wa_thrunlist)); in workq_aio_exit()
2852 assertf(TAILQ_EMPTY(&wq_aio->wa_thidlelist), in workq_aio_exit()
H A Dkern_guarded.c859 return TAILQ_EMPTY(&vgi->vgi_owners); in vgi_remove_vgo()
865 assert(TAILQ_EMPTY(&vgi->vgi_owners)); in free_vgi()
H A Dkpi_socket.c113 while (TAILQ_EMPTY(&sock->so_comp) && sock->so_error == 0) { in sock_accept_common()
133 if (TAILQ_EMPTY(&sock->so_comp)) { in sock_accept_common()
/xnu-12377.61.12/bsd/netinet6/
H A Dnd6_rti.c80 if (!TAILQ_EMPTY(&rti->nd_rti_router_list)) { in ndrti_free()
117 if (TAILQ_EMPTY(&rti->nd_rti_router_list)) { in nd6_rtilist_update()
H A Dnd6_prproxy.c1391 VERIFY(TAILQ_EMPTY(&soltgt->soltgt_q)); in nd6_solsrc_enq()
1399 VERIFY(!TAILQ_EMPTY(&soltgt->soltgt_q)); in nd6_solsrc_enq()
1437 VERIFY(soltgt == NULL || TAILQ_EMPTY(&soltgt->soltgt_q)); in nd6_solsrc_deq()
1478 VERIFY(TAILQ_EMPTY(&soltgt->soltgt_q)); in nd6_soltgt_free()
H A Draw_ip6.c1095 if (TAILQ_EMPTY(&ifnet_head) || SIN6(nam)->sin6_family != AF_INET6) { in rip6_bind()
1161 if (TAILQ_EMPTY(&ifnet_head)) { in rip6_connect()
/xnu-12377.61.12/bsd/netinet/
H A Dtcp_sack.c435 if (!TCP_RACK_ENABLED(tp) && SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
496 if (TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
716 tp->snd_fack == th->th_ack && TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_partialack()
864 TAILQ_EMPTY(&tp->snd_holes) || in tcp_sack_byte_islost()
971 TAILQ_EMPTY(&tp->snd_holes) && in tcp_sack_process_dsack()
H A Draw_ip.c1055 if (TAILQ_EMPTY(&ifnet_head) || in rip_bind()
1095 if (TAILQ_EMPTY(&ifnet_head)) { in rip_connect()
/xnu-12377.61.12/bsd/net/
H A Dnwk_wq.c85 VERIFY(TAILQ_EMPTY(&nwk_wq_head)); in nwk_wq_thread_cont()
H A Dpf_ruleset.c448 if (!TAILQ_EMPTY(ruleset->rules[i].active.ptr) || in pf_remove_if_empty_ruleset()
449 !TAILQ_EMPTY(ruleset->rules[i].inactive.ptr) || in pf_remove_if_empty_ruleset()
H A Ddlil_output.c644 if (TAILQ_EMPTY(&ifp->if_flt_head)) { in dlil_interface_filters_output()
/xnu-12377.61.12/bsd/nfs/
H A Dnfs_upcall.c107 while (!nfsrv_uc_shutdown && TAILQ_EMPTY(myqueue->ucq_queue)) { in nfsrv_uc_thread()
307 while (!TAILQ_EMPTY(queue->ucq_queue)) { in nfsrv_uc_cleanup()
H A Dnfs_syscalls.c782 first = TAILQ_EMPTY(&nfsrv_socklist); in nfssvc_addsock()
943 while (!nfsd->nfsd_slp && TAILQ_EMPTY(&nfsrv_sockwait) && TAILQ_EMPTY(&nfsrv_sockwork)) { in nfssvc_nfsd()
967 if (!slp && !TAILQ_EMPTY(&nfsrv_sockwait)) { in nfssvc_nfsd()
981 if (!slp && !TAILQ_EMPTY(&nfsrv_sockwork)) { in nfssvc_nfsd()
1256 if (TAILQ_EMPTY(&nfsrv_sockwait) && (opcnt < 8)) { in nfssvc_nfsd()
/xnu-12377.61.12/bsd/security/audit/
H A Daudit_worker.c449 while (TAILQ_EMPTY(&audit_q)) { in audit_worker()
H A Daudit_pipe.c433 if (TAILQ_EMPTY(&audit_pipe_list)) { in audit_pipe_preselect()
993 while (TAILQ_EMPTY(&ap->ap_queue)) { in audit_pipe_read()
/xnu-12377.61.12/bsd/vfs/
H A Dvfs_quota.c569 if (TAILQ_EMPTY(&dqfreelist) && in dqget()
610 if (TAILQ_EMPTY(&dqfreelist)) { in dqget()
/xnu-12377.61.12/bsd/miscfs/specfs/
H A Dspec_vnops.c1175 if (!TAILQ_EMPTY(&info->throttle_uthlist[level])) { in throttle_timer_start()
1208 if (TAILQ_EMPTY(&info->throttle_uthlist[level])) { in throttle_timer_start()
1317 …if (elapsed_msecs >= (uint64_t)info->throttle_io_periods[wake_level] && !TAILQ_EMPTY(&info->thrott… in throttle_timer()
1342 if (!TAILQ_EMPTY(&info->throttle_uthlist[wake_level])) { in throttle_timer()
1387 if (TAILQ_EMPTY(&info->throttle_uthlist[mylevel])) { in throttle_add_to_list()
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c1086 ASSERT(!TAILQ_EMPTY(fes)); in tx_flow_batch_packet()
3971 ASSERT(!TAILQ_EMPTY(fes)); in tx_flow_enqueue_gso_pktq()
4483 ASSERT(TAILQ_EMPTY(&fsw->fsw_linger_head)); in fsw_linger_purge()
4551 ASSERT(TAILQ_EMPTY(&fsw->fsw_rxstrc_head)); in fsw_rxstrc_purge()
5106 ASSERT(TAILQ_EMPTY(&fsw->fsw_linger_head)); in fsw_process_linger()
5147 if (!TAILQ_EMPTY(&linger_head)) { in fsw_process_linger()
5148 ASSERT(TAILQ_EMPTY(&fsw->fsw_linger_head) || fsw->fsw_linger_cnt); in fsw_process_linger()
5150 ASSERT(TAILQ_EMPTY(&fsw->fsw_linger_head)); in fsw_process_linger()
5154 ASSERT(TAILQ_EMPTY(&linger_head)); in fsw_process_linger()
5175 ASSERT(TAILQ_EMPTY(&fsw->fsw_rxstrc_head)); in fsw_process_rxstrc()
/xnu-12377.61.12/bsd/sys/
H A Dqueue.h654 if (!TAILQ_EMPTY(head2)) { \
664 #define TAILQ_EMPTY(head) ((head)->tqh_first == NULL) macro
/xnu-12377.61.12/bsd/skywalk/mem/
H A Dskmem_region.c424 ASSERT(TAILQ_EMPTY(&skmem_region_head)); in skmem_region_fini()
955 ASSERT(TAILQ_EMPTY(&skr->skr_seg_free)); in skmem_region_destroy()
991 ASSERT(TAILQ_EMPTY(&skr->skr_hash_table[i].sgb_head)); in skmem_region_destroy()
2049 ASSERT(TAILQ_EMPTY(&sgb->sgb_head)); in skmem_region_hash_rescale()
H A Dskmem_cache.c502 ASSERT(TAILQ_EMPTY(&skmem_cache_head)); in skmem_cache_fini()
860 ASSERT(TAILQ_EMPTY(&skm->skm_sl_partial_list)); in skmem_cache_destroy()
862 ASSERT(TAILQ_EMPTY(&skm->skm_sl_empty_list)); in skmem_cache_destroy()
/xnu-12377.61.12/bsd/net/pktsched/
H A Dpktsched_fq_codel.c1150 VERIFY(!TAILQ_EMPTY(grp_list)); in fq_if_dequeue_common()
1272 VERIFY(TAILQ_EMPTY(grp_list)); in fq_if_dequeue_common()
1551 VERIFY(TAILQ_EMPTY(&fqs->fqs_empty_list)); in fq_if_purge()
2200 ASSERT(TAILQ_EMPTY(&fqs->fqs_empty_list)); in fq_if_purge_empty_flow_list()
2214 VERIFY(TAILQ_EMPTY(&fqs->fqs_empty_list)); in fq_if_purge_empty_flow_list()

123