Home
last modified time | relevance | path

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

1234567

/freebsd/sys/security/mac/
H A Dmac_internal.h311 if (!LIST_EMPTY(&mac_policy_list)) { \
333 if (!LIST_EMPTY(&mac_policy_list)) { \
364 if (!LIST_EMPTY(&mac_policy_list)) { \
394 if (!LIST_EMPTY(&mac_policy_list)) { \
414 if (!LIST_EMPTY(&mac_policy_list)) { \
520 if (!LIST_EMPTY(&mac_policy_list)) { \
537 if (!LIST_EMPTY(&mac_policy_list)) { \
/freebsd/sys/geom/
H A Dgeom_subr.c217 if (!LIST_EMPTY(&mp->geom) && mp->destroy_geom == NULL) { in g_unload_class()
294 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent()
427 KASSERT(LIST_EMPTY(&gp->consumer), in g_destroy_geom()
430 KASSERT(LIST_EMPTY(&gp->provider), in g_destroy_geom()
506 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
512 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
522 if (LIST_EMPTY(&gp->provider) && in g_wither_washer()
523 LIST_EMPTY(&gp->consumer)) in g_wither_washer()
806 KASSERT(LIST_EMPTY(&pp->consumers), in g_destroy_provider()
1202 if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer)) in g_std_spoiled()
[all …]
/freebsd/lib/libc/stdlib/
H A Dcxa_thread_atexit_impl.c141 for (i = 0; i < CXA_DTORS_ITERATIONS && !LIST_EMPTY(&dtors); i++) in __cxa_thread_call_dtors()
144 if (!LIST_EMPTY(&dtors)) { in __cxa_thread_call_dtors()
/freebsd/sys/dev/fb/
H A Dfbd.c204 if (LIST_EMPTY(&fb_list_head)) in fbd_list()
236 if (LIST_EMPTY(&fb_list_head)) in fbd_register()
271 if (LIST_EMPTY(&fb_list_head)) in fbd_unregister()
/freebsd/contrib/dma/
H A Ddma.c380 if (LIST_EMPTY(&queue->queue)) in run_queue()
394 if (LIST_EMPTY(&queue->queue)) { in show_queue()
617 if (LIST_EMPTY(&queue.queue) && !recp_from_header) in main()
623 if (LIST_EMPTY(&queue.queue)) in main()
/freebsd/sys/kern/
H A Dkern_lockf.c367 KASSERT(LIST_EMPTY(&lock->lf_outedges), in lf_free_lock()
369 KASSERT(LIST_EMPTY(&lock->lf_inedges), in lf_free_lock()
713 KASSERT(!LIST_EMPTY(&lock->lf_outedges), in lf_advlockasync()
772 if (LIST_EMPTY(&state->ls_active) && state->ls_threads == 0) { in lf_purgelocks()
773 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
825 KASSERT(LIST_EMPTY(&state->ls_pending), ("lock pending for %p", state)); in lf_purgelocks()
826 KASSERT(LIST_EMPTY(&state->ls_active), ("lock active for %p", state)); in lf_purgelocks()
1048 if (LIST_EMPTY(&state->ls_pending)) in lf_add_incoming()
1086 if (LIST_EMPTY(&state->ls_active)) { in lf_insert_lock()
1148 if (LIST_EMPTY( in lf_update_dependancies()
[all...]
H A Dsubr_turnstile.c774 KASSERT(LIST_EMPTY(&ts->ts_free), in turnstile_wait()
861 MPASS(LIST_EMPTY(&ts->ts_free)); in turnstile_signal()
909 if (LIST_EMPTY(&ts->ts_free)) { in turnstile_broadcast()
1255 if ((TD_ON_LOCK(td) && LIST_EMPTY(&td->td_contested)) in DB_SHOW_ALL_COMMAND()
/freebsd/sys/sys/
H A Djail.h437 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
453 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
470 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
488 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_private.h247 KASSERT(LIST_EMPTY(&dw_free->refs), in bhndb_dw_next_free()
262 bool is_free = LIST_EMPTY(&dwa->refs); in bhndb_dw_is_free()
/freebsd/sbin/geom/core/
H A Dgeom.c733 if (!LIST_EMPTY(&gp->lg_consumer)) in compute_tree_width()
752 if (LIST_EMPTY(&gp->lg_provider)) { in show_tree_geom()
800 if (!LIST_EMPTY(&gp->lg_consumer)) in show_tree()
970 if (!LIST_EMPTY(&gp->lg_provider)) { in list_one_geom()
982 if (!LIST_EMPTY(&gp->lg_consumer)) { in list_one_geom()
1081 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_list()
1375 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
1410 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
/freebsd/sys/ufs/ffs/
H A Dffs_softdep.c1837 if (!LIST_EMPTY(&freeblks->fb_jblkdephd)) { in process_truncates()
2761 KASSERT(LIST_EMPTY(&ums->sd_alldeps[i]), in softdep_unmount()
2995 if (LIST_EMPTY(&ump->softdep_journal_pending)) { in add_to_journal()
3771 if (LIST_EMPTY(&ump->softdep_journal_pending)) in softdep_process_journal()
4030 if (LIST_EMPTY(&dirrem->dm_jremrefhd) && in handle_written_jremref()
4245 if (LIST_EMPTY(&freeblks->fb_jblkdephd) && in handle_written_jblkdep()
4758 KASSERT(LIST_EMPTY(&jseg->js_entries), in free_jseg()
5741 if (!LIST_EMPTY(&oldadp->ad_newdirblk)) in allocdirect_merge()
6327 if (!LIST_EMPTY(&oldaip->ai_newdirblk)) in allocindir_merge()
6644 if (LIST_EMPTY(&indirdep->ir_freeblks->fb_jblkdephd)) in complete_trunc_indir()
[all …]
/freebsd/sys/dev/syscons/
H A Dscterm.c93 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
/freebsd/sys/dev/aic7xxx/
H A Daic_osm_lib.c111 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c145 while (!LIST_EMPTY(&unit->con_list)) { in ng_hci_unit_clean()
209 while (!LIST_EMPTY(&unit->neighbors)) in ng_hci_flush_neighbor_cache()
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c145 if (LIST_EMPTY(&gp->lg_provider)) in boot_disk_select()
227 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
H A Dscripted.c48 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
/freebsd/sys/arm64/coresight/
H A Dcoresight_cmd.c59 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
/freebsd/lib/libmemstat/
H A Dmemstat_malloc.c87 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_malloc()
323 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_malloc()
H A Dmemstat_uma.c87 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_uma()
327 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_uma()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.h26 #define vmci_list_empty(_l) LIST_EMPTY(_l)
/freebsd/sys/fs/nfsclient/
H A Dnfs_clstate.c1660 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen()
1899 if (!printed && !LIST_EMPTY(&dp->nfsdl_lock)) { in nfscl_expireclient()
1922 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient()
1960 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common()
1993 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext()
2352 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover()
2863 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread()
2962 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread()
3168 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
3204 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
[all …]
/freebsd/sys/dev/hyperv/input/
H A Dhv_kbdc.c149 if (LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_produce_ks()
438 while (!LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_fini()
/freebsd/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1207 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_attach()
1214 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_attach()
1266 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_detach()
1274 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_detach()
1542 if (LIST_EMPTY(&sc->hs_free_list)) { in storvsc_action()
1626 if (LIST_EMPTY(&g_hv_sgl_page_pool.in_use_sgl_list)) { in storvsc_destroy_bounce_buffer()
1657 if (LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_create_bounce_buffer()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zone.c142 if (LIST_EMPTY(head)) in zone_dataset_detach()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_main.c736 while (!LIST_EMPTY(&l2cap->con_list)) { in ng_l2cap_cleanup()
756 while (!LIST_EMPTY(&l2cap->chan_list)) in ng_l2cap_destroy_channels()

1234567