Searched refs:VNPASS (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/fs/nullfs/ |
H A D | null_subr.c | 196 VNPASS(lowervp->v_usecount > 0, lowervp); in null_nodeget() 220 VNPASS(vp->v_object == NULL, vp); in null_nodeget() 221 VNPASS((vn_irflag_read(vp) & VIRF_PGREAD) == 0, vp); in null_nodeget()
|
/freebsd/sys/sys/ |
H A D | kassert.h | 80 #define VNPASS(exp, vp) do { \ macro 98 #define VNPASS(exp, vp) do { \ macro
|
H A D | vnode.h | 559 VNPASS(seqc_in_modify(_vp->v_seqc), _vp); \ 565 VNPASS(!seqc_in_modify(_vp->v_seqc), _vp); \
|
/freebsd/sys/kern/ |
H A D | vfs_subr.c | 1503 VNPASS(mvp->v_type == VMARKER, mvp); in vnlru_free_vfsops() 1910 VNPASS(vp->v_holdcnt > 0, vp); in vtryrecycle() 2197 VNPASS(vp->v_holdcnt == VHOLD_NO_SMR, vp); in freevnode() 2244 VNPASS((vp->v_mflag & VMP_LAZYLIST) == 0, vp); in delmntque() 3367 VNPASS(vs == VGET_HOLDCNT || vs == VGET_USECOUNT, vp); in vget_finish() 3368 VNPASS(vp->v_holdcnt > 0, vp); in vget_finish() 3369 VNPASS(vs == VGET_HOLDCNT || vp->v_usecount > 0, vp); in vget_finish() 3388 VNPASS(vs == VGET_HOLDCNT || vs == VGET_USECOUNT, vp); in vget_finish_ref() 3389 VNPASS(vp->v_holdcnt > 0, vp); in vget_finish_ref() 3390 VNPASS(vs == VGET_HOLDCNT || vp->v_usecount > 0, vp); in vget_finish_ref() [all …]
|
H A D | vfs_cache.c | 694 VNPASS(LIST_EMPTY(&vp->v_cache_src), vp); in cache_hold_vnode() 2501 VNPASS(!VN_IS_DOOMED(dvp), dvp); in cache_enter_time() 2502 VNPASS(dvp->v_type != VNON, dvp); in cache_enter_time() 2504 VNPASS(!VN_IS_DOOMED(vp), vp); in cache_enter_time() 2505 VNPASS(vp->v_type != VNON, vp); in cache_enter_time() 3000 VNPASS(VN_IS_DOOMED(vp), vp); in cache_purge_vgone() 3121 VNPASS(TAILQ_EMPTY(&vp->v_cache_dst), vp); in cache_assert_no_entries() 3122 VNPASS(LIST_EMPTY(&vp->v_cache_src), vp); in cache_assert_no_entries() 3123 VNPASS(vp->v_cache_dd == NULL, vp); in cache_assert_no_entries() 3482 VNPASS(vp->v_type == VDIR || VN_IS_DOOMED(vp), vp); in vn_fullpath_dir() [all …]
|
H A D | vfs_default.c | 1256 VNPASS((mp->mnt_kern_flag & MNTK_NOMSYNC) == 0, vp); in vop_stdadd_writecount_impl() 1258 VNPASS((mp->mnt_kern_flag & MNTK_NOMSYNC) != 0, vp); in vop_stdadd_writecount_impl()
|
H A D | vfs_lookup.c | 909 VNPASS((vn_irflag_read(dp) & VIRF_MOUNTPOINT) != 0 && mp != NULL, dp); in vfs_lookup_cross_mount()
|
H A D | vfs_vnops.c | 1828 VNPASS(vp->v_holdcnt > 0, vp); in _vn_lock() 4018 VNPASS(vp->v_type == VDIR, vp); in vn_dir_check_empty()
|
H A D | vfs_bio.c | 2974 VNPASS(vp->v_holdcnt > 0, vp); in vfs_vmio_iodone() 2975 VNPASS(vp->v_object != NULL, vp); in vfs_vmio_iodone()
|
H A D | kern_descrip.c | 4039 VNPASS(vp->v_usecount > 0, vp); in pwd_chdir()
|
/freebsd/sys/fs/devfs/ |
H A D | devfs_vnops.c | 246 VNPASS(vp->v_type == VCHR || vp->v_type == VBAD, vp); in devfs_usecount_add() 270 VNPASS(vp->v_type == VCHR || vp->v_type == VBAD, vp); in devfs_usecount_subl() 311 VNPASS(vp->v_type == VCHR, vp); in devfs_usecountl() 322 VNPASS(vp->v_type == VCHR, vp); in devfs_usecount() 596 VNPASS(vp->v_usecount == 1, vp); in devfs_allocv()
|
/freebsd/sys/vm/ |
H A D | vnode_pager.c | 267 VNPASS(vp->v_usecount > 0, vp); in vnode_pager_alloc()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 512 VNPASS(vp->v_holdcnt != 0, vp); in ffs_lock()
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_subr.c | 134 VNPASS(vp->v_usecount > 0, vp); in tmpfs_pager_writecount_recalc()
|
H A D | tmpfs_vnops.c | 627 VNPASS((vn_irflag_read(vp) & VIRF_PGREAD) != 0, vp); in tmpfs_read_pgcache()
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 2979 VNPASS((vn_irflag_read(vp) & VIRF_PGREAD) != 0, vp); in ufs_read_pgcache()
|