| /netbsd/src/sys/miscfs/genfs/ |
| D | layer_subr.c | 130 KASSERT(vrefcnt(lowervp) > 0); in layer_node_create() 170 if (vrefcnt(a->layer_lowervp) < 1) { in layer_checkvp() 181 LAYERTOV(a), vrefcnt(LAYERTOV(a)), in layer_checkvp() 182 a->layer_lowervp, vrefcnt(a->layer_lowervp), in layer_checkvp()
|
| /netbsd/src/sys/coda/ |
| D | coda_subr.c | 222 coda_f2s(&cp->c_fid), vrefcnt(CTOV(cp)))); in coda_testflush_selector() 372 coda_f2s(&cp->c_fid), vrefcnt(CTOV(cp)) - 1, error));); in handleDownCall() 373 if (vrefcnt(CTOV(cp)) == 1) { in handleDownCall() 396 coda_f2s(&cp->c_fid), vrefcnt(CTOV(cp)) - 1));); in handleDownCall() 397 if (vrefcnt(CTOV(cp)) == 1) { in handleDownCall() 429 coda_f2s(&cp->c_fid), vrefcnt(CTOV(cp)) - 1, error));); in handleDownCall() 430 if (vrefcnt(CTOV(cp)) == 1) { in handleDownCall()
|
| D | coda_namecache.c | 350 if ((dcstat == IS_DOWNCALL) && (vrefcnt(CTOV(cncp->dcp)) == 1)) { in coda_nc_remove() 355 if ((dcstat == IS_DOWNCALL) && (vrefcnt(CTOV(cncp->cp)) == 1)) { in coda_nc_remove() 572 && (vrefcnt(CTOV(cncp->dcp)) == 1)) in coda_nc_flush() 586 && (vrefcnt(CTOV(cncp->cp)) == 1)) in coda_nc_flush()
|
| D | coda_vnops.c | 335 __func__, vrefcnt(vp), cp->c_ovp, vp, cp); in coda_close() 471 coda_f2s(&cp->c_fid), vrefcnt(CTOV(cp)))); ) in coda_rdwr() 857 if (vrefcnt(vp) > 1) in coda_inactive() 858 printf("%s: %p usecount %d\n", __func__, vp, vrefcnt(vp)); in coda_inactive() 1580 __func__, coda_f2s(&cp->c_fid), vrefcnt(cvp))); ) in coda_readdir() 1745 if (vrefcnt(vp) != 0) in coda_reclaim()
|
| /netbsd/src/sys/kern/ |
| D | vfs_vnode.c | 256 vrefcnt(struct vnode *vp) in vrefcnt() function 280 int refcnt = vrefcnt(vp); in _vstate_assert() 665 if (vrefcnt(vp) > 0) in vdrain_one() 671 if (vrefcnt(vp) > 0 || VSTATE_GET(vp) != VS_LOADED) { in vdrain_one() 792 if (vrefcnt(vp) > 1) { in vput() 896 if (vrefcnt(vp) <= 0 || vp->v_writecount != 0) { in vrelel() 1040 KASSERT(vrefcnt(vp) > 0); in vrelel() 1114 KASSERT(vrefcnt(vp) > 0); in vref() 1129 if (vp->v_holdcnt++ == 0 && vrefcnt(vp) == 0) in vholdl() 1160 if (vp->v_holdcnt == 0 && vrefcnt(vp) == 0) in holdrelel() [all …]
|
| D | vfs_cache.c | 710 KASSERT(vrefcnt(dvp) > 0); in cache_lookup_linked() 1066 KASSERT(vrefcnt(cvp) > 0); in cache_enter_mount() 1067 KASSERT(vrefcnt(rvp) > 0); in cache_enter_mount()
|
| D | vfs_mount.c | 471 if (vrefcnt(mvp) != 0) { in vfs_vnode_iterator_destroy() 659 if (vrefcnt(vp) > 1 && in vflush_one() 729 if (vrefcnt(olddp) == 1) { in mount_checkdirs()
|
| D | vfs_getcwd.c | 537 KASSERT(vrefcnt(vp) > 0); in vnode_to_path()
|
| D | exec_subr.c | 93 KASSERT(vp == NULL || vrefcnt(vp) > 0); in new_vmcmd()
|
| /netbsd/src/sys/miscfs/nullfs/ |
| D | null_vfsops.c | 198 if (vrefcnt(null_rootvp) > 1 && (mntflags & MNT_FORCE) == 0) in nullfs_unmount()
|
| /netbsd/src/sys/miscfs/overlay/ |
| D | overlay_vfsops.c | 223 if (vrefcnt(overlay_rootvp) > 1 && (mntflags & MNT_FORCE) == 0) in ov_unmount()
|
| /netbsd/src/sys/miscfs/fdesc/ |
| D | fdesc_vfsops.c | 122 if (vrefcnt(rtvp) > 1 && (mntflags & MNT_FORCE) == 0) in fdesc_unmount()
|
| /netbsd/src/sys/fs/udf/ |
| D | udf_vfsops.c | 448 if (vrefcnt(vp) > 1) in udf_sanity_selector() 449 printf(" more than one usecount %d\n", vrefcnt(vp)); in udf_sanity_selector()
|
| /netbsd/src/sys/ufs/mfs/ |
| D | mfs_vnops.c | 145 if (vp->v_type != VBLK || vrefcnt(vp) == 0) in mfs_strategy()
|
| /netbsd/src/sys/miscfs/umapfs/ |
| D | umap_vfsops.c | 282 if (vrefcnt(rtvp) > 1 && (mntflags & MNT_FORCE) == 0) in umapfs_unmount()
|
| /netbsd/src/sys/rump/librump/rumpvfs/ |
| D | rump_vfs.c | 383 return vrefcnt(vp); in rump_vp_getref()
|
| /netbsd/src/sys/sys/ |
| D | vnode.h | 615 int vrefcnt(struct vnode *);
|
| /netbsd/src/external/cddl/osnet/sys/sys/ |
| D | vnode.h | 164 if (vrefcnt(v) == 0) { \
|
| /netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| D | zfs_ctldir.c | 791 KASSERT(vrefcnt(*vpp) > 1, ("unreferenced mountpoint")); in zfsctl_mounted_here() 894 KASSERT(vrefcnt(*vpp) > 1, ("found unreferenced mountpoint")); 1249 KASSERT_IMPLY(error == 0, vrefcnt(vp) == 1, in zfsctl_umount_snapshots()
|
| /netbsd/src/sys/nfs/ |
| D | nfs_vnops.c | 1710 if (vrefcnt(vp) < 1) in nfs_remove() 1715 else if (vrefcnt(vp) == 1 || (np->n_sillyrename && in nfs_remove() 1843 if (tvp && vrefcnt(tvp) > 1 && !VTONFS(tvp)->n_sillyrename && in nfs_rename() 3413 if (vrefcnt(vp) == 1 && in nfsspec_close() 3497 if (vrefcnt(vp) == 1 && in nfsfifo_close()
|
| /netbsd/src/sys/ufs/lfs/ |
| D | lfs_vnops.c | 1298 if (vrefcnt(vp) > 1 && vp != ip->i_lfs->lfs_ivnode) { in lfs_close() 1325 if (vrefcnt(vp) > 1) { in lfsspec_close() 1352 if (vrefcnt(ap->a_vp) > 1) { in lfsfifo_close()
|
| /netbsd/src/sys/fs/msdosfs/ |
| D | msdosfs_denode.c | 615 vrefcnt(vp), dep->de_Name[0]); in msdosfs_inactive()
|
| D | msdosfs_vnops.c | 176 if (vrefcnt(vp) > 1) in msdosfs_close() 729 dep, vrefcnt(ap->a_vp)); in msdosfs_remove()
|
| /netbsd/src/sys/ufs/ufs/ |
| D | ufs_vnops.c | 258 if (vrefcnt(vp) > 1) in ufs_close() 2008 if (vrefcnt(vp) > 1) in ufsspec_close() 2069 if (vrefcnt(ap->a_vp) > 1) in ufsfifo_close()
|
| /netbsd/src/sys/fs/ptyfs/ |
| D | ptyfs_vnops.c | 776 if (vrefcnt(vp) > 1) in ptyfs_close()
|