Searched refs:mnt_lockref (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/kern/ |
H A D | vfs_mount.c | 680 MPPASS(mp->mnt_ref == 0 && mp->mnt_lockref == 0 && in vfs_mount_alloc() 746 MPPASS(mp->mnt_lockref == 0, mp); in vfs_mount_destroy() 1880 mp->mnt_lockref += mpcpu->mntp_lockref; in vfs_op_enter() 1886 MPASSERT(mp->mnt_ref > 0 && mp->mnt_lockref >= 0 && in vfs_op_enter() 1889 mp->mnt_ref, mp->mnt_lockref, mp->mnt_writeopcount)); in vfs_op_enter() 2002 lockref = mp->mnt_lockref; in vfs_dump_mount_counters() 2020 printf("lockref %-5d %-5d\n", mp->mnt_lockref, lockref); in vfs_dump_mount_counters() 2038 sum = mp->mnt_lockref; in vfs_mount_fetch_counter() 2314 if (mp->mnt_lockref) { in dounmount() 2316 error = msleep(&mp->mnt_lockref, MNT_MTX(mp), PVFS, in dounmount() [all …]
|
H A D | vfs_subr.c | 935 mp->mnt_lockref++; in vfs_busy() 962 c = --mp->mnt_lockref; in vfs_unbusy() 974 wakeup(&mp->mnt_lockref); in vfs_unbusy() 4871 vfs_mount_fetch_counter(mp, MNT_COUNT_LOCKREF), mp->mnt_lockref); in DB_SHOW_COMMAND()
|
/freebsd/sys/sys/ |
H A D | mount.h | 254 int mnt_lockref; /* (i) Lock reference count */ member
|