Home
last modified time | relevance | path

Searched refs:LIST_EMPTY (Results 1 – 25 of 27) sorted by relevance

12

/xnu-12377.61.12/bsd/net/
H A Diptap.c228 if (LIST_EMPTY(&iptap_list)) { in iptap_clone_create()
434 if (LIST_EMPTY(&iptap_list)) { in iptap_detach()
H A Dremote_vif.c237 if (LIST_EMPTY(&_s_rvi_clients)) { in rvi_insert_client()
H A Dbridgestp.c2234 if (LIST_EMPTY(&bs->bs_bplist) || mif == NULL) { in bstp_reinit()
2306 KASSERT(LIST_EMPTY(&bs->bs_bplist), ("bstp still active")); in bstp_detach()
H A Dif_vlan.c840 return LIST_EMPTY(&vlp->vlp_vlan_list); in vlan_parent_no_vlans()
H A Dnecp_client.c1516 if (LIST_EMPTY(&necp_collect_stats_flow_list)) { in necp_collect_stats_client_callout()
1770 if (LIST_EMPTY(&necp_fd_observer_list)) { in necp_client_update_observer_add()
1789 if (LIST_EMPTY(&necp_fd_observer_list)) { in necp_client_update_observer_update()
1808 if (LIST_EMPTY(&necp_fd_observer_list)) { in necp_client_update_observer_remove()
1975 if (!LIST_EMPTY(defunct_list)) { in necp_process_defunct_list()
2008 ASSERT(LIST_EMPTY(defunct_list)); in necp_process_defunct_list()
2084 ASSERT(LIST_EMPTY(&fd_data->stats_arena_list)); in necpop_close()
8260 (fd_data->stats_arena_active == NULL && !LIST_EMPTY(&fd_data->stats_arena_list))) { in necp_client_remove()
H A Ddlil.c4905 VERIFY(LIST_EMPTY(&ifp->if_multiaddrs)); in ifnet_attach()
5118 if (!LIST_EMPTY(&ifp->if_multiaddrs)) { in ifnet_attach()
5663 VERIFY(LIST_EMPTY(&ifp->if_netns_tokens)); in ifnet_detach_final()
H A Dpf_norm.c424 VERIFY(LIST_EMPTY(&frag->fr_cache) || in pf_free_fragment()
H A Dnecp.c186 if (LIST_EMPTY((head)) || (LIST_FIRST(head)->sortfield >= (elm)->sortfield)) { \
199 …if (LIST_EMPTY((head)) || (LIST_FIRST(head)->firstsortfield > (elm)->firstsortfield) || ((LIST_FIR…
212 …if (LIST_EMPTY((head)) || (LIST_FIRST(head)->firstsortfield > (elm)->firstsortfield) || ((LIST_FIR…
H A Dif.c5582 if (LIST_EMPTY(&ifp->if_multiaddrs)) { in if_detach_ifma()
/xnu-12377.61.12/osfmk/kern/
H A Dhv_io_notifier.c261 while (!LIST_EMPTY(&grp->list)) { in hv_io_notifier_grp_free()
/xnu-12377.61.12/bsd/vfs/
H A Dvfs_bio.c1807 while (!LIST_EMPTY(&local_iterblkhd)) { in buf_iterate()
1864 if (LIST_EMPTY(&vp->v_cleanblkhd) && LIST_EMPTY(&vp->v_dirtyblkhd)) { in buf_invalidateblks()
1881 if (LIST_EMPTY(&vp->v_cleanblkhd) && LIST_EMPTY(&vp->v_dirtyblkhd)) { in buf_invalidateblks()
1891 while (!LIST_EMPTY(&local_iterblkhd)) { in buf_invalidateblks()
1966 while (!LIST_EMPTY(&local_iterblkhd)) { in buf_invalidateblks()
2071 while (!LIST_EMPTY(&local_iterblkhd)) { in buf_flushdirtyblks_skipinfo()
2165 if (LIST_EMPTY(listheadp)) { in buf_iterprepare()
2194 while (!LIST_EMPTY(iterheadp)) { in buf_itercomplete()
H A Dvfs_vnops.c1889 if (FILEGLOB_DTYPE(fg) == DTYPE_VNODE && !LIST_EMPTY(&vp->v_leases)) { in vn_closefile()
H A Dvfs_subr.c2488 && (!LIST_EMPTY(&vp->v_cleanblkhd) || !LIST_EMPTY(&vp->v_dirtyblkhd))) { in vnode_list_add()
5467 if (!LIST_EMPTY(&vp->v_nclinks) || !TAILQ_EMPTY(&vp->v_ncchildren)) { in process_vp()
6919 if (__improbable(!LIST_EMPTY(&vp->v_leases))) { in vnode_reclaim_internal()
13214 if (__probable(LIST_EMPTY(&vp->v_leases))) { in vnode_breaklease()
/xnu-12377.61.12/bsd/dev/dtrace/
H A Ddtrace_subr.c224 if (LIST_EMPTY(&dtrace_proc_awaited_head)) in dtrace_proc_waitfor()
/xnu-12377.61.12/bsd/kern/
H A Dkern_persona.c351 assert(LIST_EMPTY(&persona->pna_members)); in persona_put_and_unlock()
H A Dkern_proc.c2681 if (LIST_EMPTY(&pgrp->pg_members)) { in pgrp_add_member()
2704 if (LIST_EMPTY(&pgrp->pg_members)) { in pgrp_del_member()
3033 assert(LIST_EMPTY(&pgrp->pg_members)); in pgrp_destroy()
H A Dkern_exit.c2865 LIST_EMPTY(&parent->p_children); in reap_child_locked()
H A Dkern_descrip.c1099 assert(LIST_EMPTY(&kqhash[i])); in fdt_invalidate()
/xnu-12377.61.12/bsd/sys/
H A Dqueue.h524 #define LIST_EMPTY(head) ((head)->lh_first == NULL) macro
/xnu-12377.61.12/bsd/netinet/
H A Dmptcp.c597 !LIST_EMPTY(&mp_tp->mpt_segq)) { in mptcp_input()
H A Dtcp_input.c3665 th->th_seq == tp->rcv_nxt && LIST_EMPTY(&tp->t_segq)) { in tcp_input()
3901 } else if (th->th_ack == tp->snd_una && LIST_EMPTY(&tp->t_segq) && in tcp_input()
4946 VERIFY(LIST_EMPTY(&tp->t_segq)); in tcp_input()
6004 if (th->th_seq == tp->rcv_nxt && LIST_EMPTY(&tp->t_segq)) { in tcp_input()
H A Dtcp_timer.c2225 if (!LIST_EMPTY(&listp->lhead)) { in tcp_run_timerlist()
H A Din_pcb.c2926 if (LIST_EMPTY(&phd->phd_pcblist)) { in in_pcbremlists()
/xnu-12377.61.12/bsd/nfs/
H A Dnfs_subs.c2115 if (LIST_EMPTY(&nxfs->nxfs_exports)) { in nfsrv_export()
/xnu-12377.61.12/bsd/net/pktsched/
H A Dpktsched_fq_codel.c1555 VERIFY(LIST_EMPTY(&fqs->fqs_flows[i])); in fq_if_purge()

12