/freebsd/sys/security/mac/ |
H A D | mac_internal.h | 296 if (!LIST_EMPTY(&mac_policy_list)) { \ 318 if (!LIST_EMPTY(&mac_policy_list)) { \ 349 if (!LIST_EMPTY(&mac_policy_list)) { \ 379 if (!LIST_EMPTY(&mac_policy_list)) { \ 399 if (!LIST_EMPTY(&mac_policy_list)) { \ 505 if (!LIST_EMPTY(&mac_policy_list)) { \ 522 if (!LIST_EMPTY(&mac_policy_list)) { \
|
/freebsd/sys/geom/ |
H A D | geom_subr.c | 215 if (!LIST_EMPTY(&mp->geom) && mp->destroy_geom == NULL) { in g_unload_class() 292 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent() 414 KASSERT(LIST_EMPTY(&gp->consumer), in g_destroy_geom() 417 KASSERT(LIST_EMPTY(&gp->provider), in g_destroy_geom() 494 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer() 500 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer() 510 if (LIST_EMPTY(&gp->provider) && in g_wither_washer() 511 LIST_EMPTY(&gp->consumer)) in g_wither_washer() 794 KASSERT(LIST_EMPTY(&pp->consumers), in g_destroy_provider() 1184 if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer)) in g_std_spoiled() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | cxa_thread_atexit_impl.c | 141 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 D | fbd.c | 204 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 D | dma.c | 380 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 D | kern_lockf.c | 367 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() 771 if (LIST_EMPTY(&state->ls_active) && state->ls_threads == 0) { in lf_purgelocks() 772 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks() 818 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks() 1047 if (LIST_EMPTY(&state->ls_pending)) in lf_add_incoming() 1085 if (LIST_EMPTY(&state->ls_active)) { in lf_insert_lock() 1147 if (LIST_EMPTY(&deplock->lf_outedges)) { in lf_update_dependancies() 1210 while (!LIST_EMPTY(&granted)) { in lf_activate_lock() [all …]
|
H A D | subr_hash.c | 94 KASSERT(LIST_EMPTY(hp), ("%s: hashtbl %p not empty " in hashdestroy()
|
H A D | subr_turnstile.c | 774 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 D | jail.h | 309 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \ 325 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \ 342 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \ 360 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_rm.c | 83 if (!LIST_EMPTY(&v->plexes) && !(*flags & GV_FLAG_R)) { in gv_remove() 99 if (!LIST_EMPTY(&p->subdisks) && in gv_remove() 341 if (!LIST_EMPTY(&d->subdisks)) { in gv_rm_drive()
|
H A D | geom_vinum_raid5.c | 185 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_check() 262 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_rebuild() 351 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_request()
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_private.h | 247 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 D | geom.c | 729 if (!LIST_EMPTY(&gp->lg_consumer)) in compute_tree_width() 748 if (LIST_EMPTY(&gp->lg_provider)) { in show_tree_geom() 796 if (!LIST_EMPTY(&gp->lg_consumer)) in show_tree() 947 if (!LIST_EMPTY(&gp->lg_provider)) { in list_one_geom() 955 if (!LIST_EMPTY(&gp->lg_consumer)) { in list_one_geom() 1045 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_list() 1270 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status() 1304 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 1837 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 D | scterm.c | 93 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic_osm_lib.c | 111 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
|
/freebsd/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_misc.c | 145 while (!LIST_EMPTY(&unit->con_list)) { in ng_hci_unit_clean() 209 while (!LIST_EMPTY(&unit->neighbors)) in ng_hci_flush_neighbor_cache()
|
/freebsd/sys/arm64/coresight/ |
H A D | coresight_cmd.c | 59 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | part_wizard.c | 124 if (LIST_EMPTY(&gp->lg_provider)) in boot_disk_select() 206 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
|
/freebsd/sys/dev/vmware/vmci/ |
H A D | vmci_kernel_if.h | 26 #define vmci_list_empty(_l) LIST_EMPTY(_l)
|
/freebsd/lib/libmemstat/ |
H A D | memstat_malloc.c | 87 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_malloc() 323 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_malloc()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 1617 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen() 1856 if (!printed && !LIST_EMPTY(&dp->nfsdl_lock)) { in nfscl_expireclient() 1879 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient() 1917 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common() 1950 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext() 2309 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover() 2820 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread() 2918 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread() 3123 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate() 3159 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate() [all …]
|
/freebsd/sys/dev/hyperv/input/ |
H A D | hv_kbdc.c | 149 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/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 434 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient() 446 if (!LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_setclient() 448 } else if (LIST_EMPTY(&clp->lc_open)) { in nfsrv_setclient() 454 if (!LIST_EMPTY(&stp->ls_open)) { in nfsrv_setclient() 955 if (!LIST_EMPTY(&clp->lc_stateid[i])) { in nfsrv_destroyclient() 960 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient() 1388 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer() 1389 && LIST_EMPTY(&clp->lc_open)) || in nfsrv_servertimer() 1428 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer() 1541 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg() [all …]
|
/freebsd/sys/dev/hyperv/storvsc/ |
H A D | hv_storvsc_drv_freebsd.c | 1202 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_attach() 1209 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_attach() 1261 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_detach() 1269 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_detach() 1537 if (LIST_EMPTY(&sc->hs_free_list)) { in storvsc_action() 1621 if (LIST_EMPTY(&g_hv_sgl_page_pool.in_use_sgl_list)) { in storvsc_destroy_bounce_buffer() 1652 if (LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_create_bounce_buffer()
|