| /src/sys/security/mac/ |
| H A D | mac_internal.h | 311 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)) { \
|
| /src/sys/geom/ |
| H A D | geom_subr.c | 217 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 …]
|
| /src/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()
|
| /src/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()
|
| /src/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()
|
| /src/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()
|
| /src/sys/sys/ |
| H A D | jail.h | 336 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \ 352 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \ 369 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \ 387 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
|
| /src/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()
|
| /src/sbin/geom/core/ |
| H A D | geom.c | 733 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()
|
| /src/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 …]
|
| /src/sys/dev/syscons/ |
| H A D | scterm.c | 93 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
|
| /src/sys/dev/aic7xxx/ |
| H A D | aic_osm_lib.c | 111 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
|
| /src/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()
|
| /src/sys/arm64/coresight/ |
| H A D | coresight_cmd.c | 59 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
|
| /src/usr.sbin/bsdinstall/partedit/ |
| H A D | part_wizard.c | 145 if (LIST_EMPTY(&gp->lg_provider)) in boot_disk_select() 227 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
|
| H A D | scripted.c | 48 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
|
| /src/sys/dev/vmware/vmci/ |
| H A D | vmci_kernel_if.h | 26 #define vmci_list_empty(_l) LIST_EMPTY(_l)
|
| /src/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()
|
| H A D | memstat_uma.c | 87 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_uma() 327 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_uma()
|
| /src/sys/fs/nfsclient/ |
| H A D | nfs_clstate.c | 1620 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen() 1859 if (!printed && !LIST_EMPTY(&dp->nfsdl_lock)) { in nfscl_expireclient() 1882 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient() 1920 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common() 1953 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext() 2312 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover() 2823 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread() 2922 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread() 3128 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate() 3164 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate() [all …]
|
| /src/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()
|
| /src/sys/fs/nfsserver/ |
| H A D | nfs_nfsdstate.c | 439 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient() 451 if (!LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_setclient() 453 } else if (LIST_EMPTY(&clp->lc_open)) { in nfsrv_setclient() 459 if (!LIST_EMPTY(&stp->ls_open)) { in nfsrv_setclient() 960 if (!LIST_EMPTY(&clp->lc_stateid[i])) { in nfsrv_destroyclient() 965 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient() 1393 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer() 1394 && LIST_EMPTY(&clp->lc_open)) || in nfsrv_servertimer() 1433 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer() 1546 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg() [all …]
|
| /src/sys/dev/hyperv/storvsc/ |
| H A D | hv_storvsc_drv_freebsd.c | 1207 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()
|