Home
last modified time | relevance | path

Searched refs:mnt_count (Results 1 – 7 of 7) sorted by relevance

/linux/fs/
H A Dmount.h33 int mnt_count; member
56 int mnt_count; member
H A Dnamespace.c273 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()
276 mnt->mnt_count += n; in mnt_add_count()
291 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()
296 return mnt->mnt_count; in mnt_get_count()
323 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()
325 mnt->mnt_count = 1; in alloc_vfsmnt()
/linux/include/uapi/linux/
H A Dext4.h117 __u16 mnt_count; member
/linux/fs/nilfs2/
H A Dsuper.c814 int mnt_count; in nilfs_setup_super() local
825 mnt_count = le16_to_cpu(sbp[0]->s_mnt_count); in nilfs_setup_super()
830 } else if (max_mnt_count >= 0 && mnt_count >= max_mnt_count) { in nilfs_setup_super()
837 sbp[0]->s_mnt_count = cpu_to_le16(mnt_count + 1); in nilfs_setup_super()
/linux/Documentation/filesystems/
H A Dpath-lookup.rst321 mnt->mnt_count
324 ``mnt_count`` is a per-CPU reference counter on "``mount``" structures.
327 it needs to check with every CPU. Taking a ``mnt_count`` reference
330 ``mnt_count`` doesn't ensure that the mount remains in the namespace and,
334 filesystem. So a reference through ``->mnt_count`` provides a stable
347 the ``mnt_count``. Finally the value in ``mount_lock`` is checked against
349 was a change, the ``mnt_count`` is decremented and the whole process is
395 step. A reference through ``d_lockref`` and ``mnt_count`` is always
867 For ``mnt->mnt_count`` it is safe to take a reference as long as
/linux/fs/ext4/
H A Dioctl.c1281 ret.mnt_count = le16_to_cpu(es->s_mnt_count); in ext4_ioctl_get_tune_sb()
1318 es->s_mnt_count = cpu_to_le16(params->mnt_count); in ext4_sb_setparams()
H A Dxattr.c2761 static unsigned int mnt_count; in ext4_expand_extra_isize_ea() local
2851 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea()
2854 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()