Home
last modified time | relevance | path

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

/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h45 #define vfs_count mnt_ref
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvfs.h46 #define vfs_count mnt_ref
/freebsd-13.1/sys/sys/
H A Dmount.h219 int mnt_ref; /* (i) Reference count */ member
292 mp->mnt_ref++; \
296 (mp)->mnt_ref--; \
297 if ((mp)->mnt_vfs_ops && (mp)->mnt_ref < 0) \
299 if ((mp)->mnt_ref == 0 && (mp)->mnt_vfs_ops) \
/freebsd-13.1/sys/kern/
H A Dvfs_mount.c131 mp->mnt_ref = 0; in mount_init()
546 if (mp->mnt_ref != 0 || mp->mnt_lockref != 0 || in vfs_mount_alloc()
591 while (mp->mnt_ref) in vfs_mount_destroy()
593 KASSERT(mp->mnt_ref == 0, in vfs_mount_destroy()
1577 mp->mnt_ref += mpcpu->mntp_ref; in vfs_op_enter()
1586 if (mp->mnt_ref <= 0 || mp->mnt_lockref < 0 || mp->mnt_writeopcount < 0) in vfs_op_enter()
1588 __func__, mp, mp->mnt_ref, mp->mnt_lockref, mp->mnt_writeopcount); in vfs_op_enter()
1691 ref = mp->mnt_ref; in vfs_dump_mount_counters()
1716 printf("ref %-5d %-5d\n", mp->mnt_ref, ref); in vfs_dump_mount_counters()
1732 sum = mp->mnt_ref; in vfs_mount_fetch_counter()
H A Dvfs_subr.c4507 vfs_mount_fetch_counter(mp, MNT_COUNT_REF), mp->mnt_ref); in DB_SHOW_COMMAND()