Searched refs:mnt_count (Results 1 – 9 of 9) sorted by relevance
23 int mnt_count; member46 int mnt_count; member
142 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()145 mnt->mnt_count += n; in mnt_add_count()160 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()165 return mnt->mnt_count; in mnt_get_count()198 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()200 mnt->mnt_count = 1; in alloc_vfsmnt()
29 int mnt_count; member52 int mnt_count; member
148 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()151 mnt->mnt_count += n; in mnt_add_count()166 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()171 return mnt->mnt_count; in mnt_get_count()197 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()199 mnt->mnt_count = 1; in alloc_vfsmnt()
799 int mnt_count; in nilfs_setup_super() local810 mnt_count = le16_to_cpu(sbp[0]->s_mnt_count); in nilfs_setup_super()815 } else if (max_mnt_count >= 0 && mnt_count >= max_mnt_count) { in nilfs_setup_super()822 sbp[0]->s_mnt_count = cpu_to_le16(mnt_count + 1); in nilfs_setup_super()
804 int mnt_count; in nilfs_setup_super() local815 mnt_count = le16_to_cpu(sbp[0]->s_mnt_count); in nilfs_setup_super()820 } else if (max_mnt_count >= 0 && mnt_count >= max_mnt_count) { in nilfs_setup_super()827 sbp[0]->s_mnt_count = cpu_to_le16(mnt_count + 1); in nilfs_setup_super()
321 mnt->mnt_count324 ``mnt_count`` is a per-CPU reference counter on "``mount``" structures.327 it needs to check with every CPU. Taking a ``mnt_count`` reference330 ``mnt_count`` doesn't ensure that the mount remains in the namespace and,334 filesystem. So a reference through ``->mnt_count`` provides a stable347 the ``mnt_count``. Finally the value in ``mount_lock`` is checked against349 was a change, the ``mnt_count`` is decremented and the whole process is395 step. A reference through ``d_lockref`` and ``mnt_count`` is always868 For ``mnt->mnt_count`` it is safe to take a reference as long as
2697 static unsigned int mnt_count; in ext4_expand_extra_isize_ea() local2788 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea()2791 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
2709 static unsigned int mnt_count; in ext4_expand_extra_isize_ea() local2800 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea()2803 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()