Home
last modified time | relevance | path

Searched refs:mnt_ref (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvfs.h47 #define vfs_count mnt_ref
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h43 #define vfs_count mnt_ref
/freebsd/sys/sys/
H A Dmount.h244 int mnt_ref; /* (i) Reference count */ member
324 mp->mnt_ref++; \
328 (mp)->mnt_ref--; \
329 if ((mp)->mnt_vfs_ops && (mp)->mnt_ref < 0) \
331 if ((mp)->mnt_ref == 0 && (mp)->mnt_vfs_ops) \
/freebsd/sys/kern/
H A Dvfs_mount.c161 mp->mnt_ref = 0; in mount_init()
681 MPPASS(mp->mnt_ref == 0 && mp->mnt_lockref == 0 && in vfs_mount_alloc()
726 while (mp->mnt_ref) in vfs_mount_destroy()
728 KASSERT(mp->mnt_ref == 0, in vfs_mount_destroy()
1883 mp->mnt_ref += mpcpu->mntp_ref; in vfs_op_enter()
1892 MPASSERT(mp->mnt_ref > 0 && mp->mnt_lockref >= 0 && in vfs_op_enter()
1895 mp->mnt_ref, mp->mnt_lockref, mp->mnt_writeopcount)); in vfs_op_enter()
2000 ref = mp->mnt_ref; in vfs_dump_mount_counters()
2025 printf("ref %-5d %-5d\n", mp->mnt_ref, ref); in vfs_dump_mount_counters()
2041 sum = mp->mnt_ref; in vfs_mount_fetch_counter()
[all...]
H A Dvfs_subr.c4891 vfs_mount_fetch_counter(mp, MNT_COUNT_REF), mp->mnt_ref); in DB_SHOW_COMMAND()