Home
last modified time | relevance | path

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

/freebsd-14.2/sys/kern/
H A Dvfs_mount.c681 MPPASS(mp->mnt_ref == 0 && mp->mnt_lockref == 0 && in vfs_mount_alloc()
747 MPPASS(mp->mnt_lockref == 0, mp); in vfs_mount_destroy()
1881 mp->mnt_lockref += mpcpu->mntp_lockref; in vfs_op_enter()
1887 MPASSERT(mp->mnt_ref > 0 && mp->mnt_lockref >= 0 && in vfs_op_enter()
1890 mp->mnt_ref, mp->mnt_lockref, mp->mnt_writeopcount)); in vfs_op_enter()
2003 lockref = mp->mnt_lockref; in vfs_dump_mount_counters()
2039 sum = mp->mnt_lockref; in vfs_mount_fetch_counter()
2315 if (mp->mnt_lockref) { in dounmount()
2317 error = msleep(&mp->mnt_lockref, MNT_MTX(mp), PVFS, in dounmount()
2321 KASSERT(mp->mnt_lockref == 0, in dounmount()
[all …]
H A Dvfs_subr.c899 mp->mnt_lockref++; in vfs_busy()
926 c = --mp->mnt_lockref; in vfs_unbusy()
938 wakeup(&mp->mnt_lockref); in vfs_unbusy()
4802 vfs_mount_fetch_counter(mp, MNT_COUNT_LOCKREF), mp->mnt_lockref); in DB_SHOW_COMMAND()
/freebsd-14.2/sys/sys/
H A Dmount.h256 int mnt_lockref; /* (i) Lock reference count */ member