Home
last modified time | relevance | path

Searched refs:mnt_lockref (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/kern/
H A Dvfs_mount.c680 MPPASS(mp->mnt_ref == 0 && mp->mnt_lockref == 0 && in vfs_mount_alloc()
746 MPPASS(mp->mnt_lockref == 0, mp); in vfs_mount_destroy()
1873 mp->mnt_lockref += mpcpu->mntp_lockref; in vfs_op_enter()
1879 MPASSERT(mp->mnt_ref > 0 && mp->mnt_lockref >= 0 && in vfs_op_enter()
1882 mp->mnt_ref, mp->mnt_lockref, mp->mnt_writeopcount)); in vfs_op_enter()
1995 lockref = mp->mnt_lockref; in vfs_dump_mount_counters()
2031 sum = mp->mnt_lockref; in vfs_mount_fetch_counter()
2307 if (mp->mnt_lockref) { in dounmount()
2309 error = msleep(&mp->mnt_lockref, MNT_MTX(mp), PVFS, in dounmount()
2313 KASSERT(mp->mnt_lockref == 0, in dounmount()
[all …]
H A Dvfs_subr.c893 mp->mnt_lockref++; in vfs_busy()
920 c = --mp->mnt_lockref; in vfs_unbusy()
932 wakeup(&mp->mnt_lockref); in vfs_unbusy()
4787 vfs_mount_fetch_counter(mp, MNT_COUNT_LOCKREF), mp->mnt_lockref); in DB_SHOW_COMMAND()
/freebsd/sys/sys/
H A Dmount.h254 int mnt_lockref; /* (i) Lock reference count */ member