Searched refs:mnt_lockref (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/kern/ |
H A D | vfs_mount.c | 681 MPPASS(mp->mnt_ref == 0 && mp->mnt_lockref == 0 && in vfs_mount_alloc() 745 MPPASS(mp->mnt_lockref == 0, mp); in vfs_mount_destroy() 1884 mp->mnt_lockref += mpcpu->mntp_lockref; in vfs_op_enter() 1890 MPASSERT(mp->mnt_ref > 0 && mp->mnt_lockref >= 0 && in vfs_op_enter() 1893 mp->mnt_ref, mp->mnt_lockref, mp->mnt_writeopcount)); in vfs_op_enter() 2006 lockref = mp->mnt_lockref; in vfs_dump_mount_counters() 2024 printf("lockref %-5d %-5d\n", mp->mnt_lockref, lockref); in vfs_dump_mount_counters() 2042 sum = mp->mnt_lockref; in vfs_mount_fetch_counter() 2318 if (mp->mnt_lockref) { in dounmount() 2320 error = msleep(&mp->mnt_lockref, MNT_MTX(mp), PVFS, in dounmount() [all …]
|
H A D | vfs_subr.c | 929 mp->mnt_lockref++; in vfs_busy() 956 c = --mp->mnt_lockref; in vfs_unbusy() 968 wakeup(&mp->mnt_lockref); in vfs_unbusy() 4886 vfs_mount_fetch_counter(mp, MNT_COUNT_LOCKREF), mp->mnt_lockref); in DB_SHOW_COMMAND()
|
/freebsd/sys/sys/ |
H A D | mount.h | 258 int mnt_lockref; /* (i) Lock reference count */ member
|