Home
last modified time | relevance | path

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

12345

/netbsd-src/sys/net/npf/
H A Dnpf_conndb.c153 KASSERT(LIST_EMPTY(&cd->cd_list)); in npf_conndb_destroy()
154 KASSERT(LIST_EMPTY(&cd->cd_gclist)); in npf_conndb_destroy()
420 if (sync && (gcref || !LIST_EMPTY(&cd->cd_gclist))) { in npf_conndb_gc()
430 if (LIST_EMPTY(&cd->cd_gclist)) { in npf_conndb_gc()
H A Dnpf_worker.c299 KASSERTMSG(LIST_EMPTY(&winfo->instances), in npf_worker()
/netbsd-src/sys/kern/
H A Dkern_turnstile.c396 KASSERT(LIST_EMPTY(&ts->ts_sleepq[TS_READER_Q])); in turnstile_block()
397 KASSERT(LIST_EMPTY(&ts->ts_sleepq[TS_WRITER_Q])); in turnstile_block()
415 KASSERT(!LIST_EMPTY(&ts->ts_sleepq[TS_READER_Q]) || in turnstile_block()
416 !LIST_EMPTY(&ts->ts_sleepq[TS_WRITER_Q])); in turnstile_block()
H A Dkern_condvar.c466 if (__predict_false(!LIST_EMPTY(CV_SLEEPQ(cv)))) { in cv_signal()
513 if (__predict_false(!LIST_EMPTY(CV_SLEEPQ(cv)))) { in cv_broadcast()
557 return !LIST_EMPTY(CV_SLEEPQ(cv)); in cv_has_waiters()
/netbsd-src/crypto/external/bsd/libsaslc/dist/src/
H A Ddict.c174 while (!LIST_EMPTY(dict + i)) in saslc__dict_destroy()
301 if (!LIST_EMPTY(dict)) in saslc__dict_insert()
H A Dmech.c158 while (!LIST_EMPTY(list)) { in saslc__mech_list_destroy()
/netbsd-src/sys/ufs/lfs/
H A Dulfs_inode.h172 #define VPISEMPTY(vp) (LIST_EMPTY(&(vp)->v_dirtyblkhd) && \
177 (!LIST_EMPTY(&(vp)->v_dirtyblkhd) && \
/netbsd-src/sys/arch/mips/atheros/
H A Dar_intr.c160 first = LIST_EMPTY(&intr->intr_qh); in genath_misc_intr_establish()
184 if (LIST_EMPTY(&intr->intr_qh)) { in genath_misc_intr_disestablish()
/netbsd-src/sys/arch/atari/atari/
H A Dintr.c155 if (LIST_EMPTY(vec_list)) { in intr_establish()
259 if (LIST_EMPTY(vec_list) && (ih->ih_type & FAST_VEC) != 0) in intr_disestablish()
/netbsd-src/sys/fs/nfs/server/
H A Dnfs_nfsdstate.c302 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient()
311 if (!LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_setclient()
313 } else if (LIST_EMPTY(&clp->lc_open)) { in nfsrv_setclient()
319 if (!LIST_EMPTY(&stp->ls_open)) { in nfsrv_setclient()
725 if (!LIST_EMPTY(&clp->lc_stateid[i])) { in nfsrv_destroyclient()
732 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient()
1117 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer()
1118 && LIST_EMPTY(&clp->lc_open)) || in nfsrv_servertimer()
1157 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer()
1262 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg()
[all …]
/netbsd-src/sys/arch/m68k/m68k/
H A Dm68k_intr.c328 if (LIST_EMPTY(list)) { in m68k_intr_establish()
369 empty = LIST_EMPTY(&m68k_intrhands_autovec[ih->ih_ipl]); in m68k_intr_disestablish()
/netbsd-src/tests/include/sys/
H A Dt_list.c80 ATF_CHECK_MSG(LIST_EMPTY(&new_head), "New list not empty!"); in ATF_TC_BODY()
/netbsd-src/sys/netbt/
H A Drfcomm_session.c220 KASSERT(LIST_EMPTY(&rs->rs_dlcs)); in rfcomm_session_free()
317 while (!LIST_EMPTY(&rs->rs_dlcs)) { in rfcomm_session_timeout()
324 if (LIST_EMPTY(&rs->rs_dlcs)) { in rfcomm_session_timeout()
401 while (!LIST_EMPTY(&rs->rs_dlcs)) { in rfcomm_session_disconnected()
558 if (!LIST_EMPTY(&rs->rs_dlcs)) in rfcomm_session_linkmode()
891 if (LIST_EMPTY(&rs->rs_dlcs)) { in rfcomm_session_recv_ua()
/netbsd-src/sys/net/
H A Dif_pppoe.c304 if (!LIST_EMPTY(&pppoe_softc_list)) { in pppoedetach()
397 if (LIST_EMPTY(&pppoe_softc_list)) { in pppoe_clone_create()
434 if (LIST_EMPTY(&pppoe_softc_list)) { in pppoe_clone_destroy()
542 if (LIST_EMPTY(&pppoe_softc_list)) { in pppoe_find_softc_by_hunique()
818 if (LIST_EMPTY(&pppoe_softc_list)) { in pppoe_dispatch_disc_pkt()
882 if (!LIST_EMPTY(&pppoe_softc_list)) { in pppoe_dispatch_disc_pkt()
934 if (!LIST_EMPTY(&pppoe_softc_list)) { in pppoe_dispatch_disc_pkt()
1105 if (!LIST_EMPTY(&pppoe_softc_list)) { in pppoe_disc_input()
1142 if (LIST_EMPTY(&pppoe_softc_list)) { in pppoe_data_input()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dpmap_subr.c296 KDASSERT(LIST_EMPTY(&md->mdpg_pvoh)); in pmap_zero_page()
377 KDASSERT(LIST_EMPTY(&md->mdpg_pvoh)); in pmap_copy_page()
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_display.c95 if (LIST_EMPTY(&sp->wp->cutq) && sp->wp->dcbp == NULL) { in bdisplay()
H A Dex_cscope.c460 if (LIST_EMPTY(&exp->cscq)) { in cscope_find()
920 for (exp = EXP(sp); !LIST_EMPTY(&exp->cscq);) { in cscope_reset()
942 if (LIST_EMPTY(&exp->cscq)) { in cscope_display()
/netbsd-src/sys/arch/newsmips/dev/
H A Dhb.c110 if (LIST_EMPTY(&ip->intr_q)) { in hb_intr_establish()
/netbsd-src/sys/fs/nfs/common/
H A Dnfs_fha.c491 if (!LIST_EMPTY(&softc->fha_hash[i].list)) in fhe_stats_sysctl()
502 if (LIST_EMPTY(&softc->fha_hash[i].list)) { in fhe_stats_sysctl()
/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clstate.c1444 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen()
1642 if (!printed && !LIST_EMPTY(&dp->nfsdl_lock)) { in nfscl_expireclient()
1665 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient()
1702 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common()
1726 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext()
2057 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover()
2528 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread()
2606 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread()
2800 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
2836 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
[all …]
/netbsd-src/sbin/fsck_lfs/
H A Dvnode.c176 if (LIST_EMPTY(&vp->v_dirtyblkhd) && in vget()
/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_inode.c468 (!LIST_EMPTY(&ovp->v_cleanblkhd) || in ext2fs_truncate()
469 !LIST_EMPTY(&ovp->v_dirtyblkhd))) in ext2fs_truncate()
/netbsd-src/usr.sbin/altq/libaltq/
H A Dqop.c203 while (!LIST_EMPTY(&qop_iflist)) in qcmd_destroyall()
451 while (!LIST_EMPTY(&ifinfo->cllist)) { in qop_clear()
467 while (!LIST_EMPTY(&ifinfo->cllist)) { in qop_clear()
547 while (!LIST_EMPTY(&clinfo->fltrlist)) in qop_delete_class()
/netbsd-src/usr.bin/locate/locate/
H A Dlocate.c165 if (LIST_EMPTY(&db_list)) in main()
/netbsd-src/tests/fs/puffs/h_dtfs/
H A Ddtfs_vnops.c226 if (!LIST_EMPTY(&df->df_dirents)) in dtfs_node_rmdir()
349 if (!LIST_EMPTY(&df_targ->df_dirents)) in dtfs_node_rename()

12345