• Home
  • Raw
  • Download

Lines Matching refs:new_clusters

614 		int new_clusters = ocfs2_clusters_for_bytes(dir->i_sb,  in ocfs2_calc_security_init()  local
618 new_clusters); in ocfs2_calc_security_init()
619 *want_clusters += new_clusters; in ocfs2_calc_security_init()
634 int s_size = 0, a_size = 0, acl_len = 0, new_clusters; in ocfs2_calc_xattr_init() local
687 new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_xattr_init()
690 new_clusters); in ocfs2_calc_xattr_init()
691 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
696 new_clusters = (S_ISDIR(mode) ? 2 : 1) * in ocfs2_calc_xattr_init()
699 new_clusters); in ocfs2_calc_xattr_init()
700 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
818 u32 new_clusters, in ocfs2_xattr_shrink_size() argument
827 if (old_clusters <= new_clusters) in ocfs2_xattr_shrink_size()
830 cpos = new_clusters; in ocfs2_xattr_shrink_size()
831 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
869 u32 new_clusters = ocfs2_clusters_for_bytes(inode->i_sb, len); in ocfs2_xattr_value_truncate() local
872 if (new_clusters == old_clusters) in ocfs2_xattr_value_truncate()
875 if (new_clusters > old_clusters) in ocfs2_xattr_value_truncate()
877 new_clusters - old_clusters, in ocfs2_xattr_value_truncate()
881 old_clusters, new_clusters, in ocfs2_xattr_value_truncate()
1966 unsigned int new_clusters = ocfs2_xa_value_clusters(loc); in ocfs2_xa_cleanup_value_truncate() local
1970 if (new_clusters < orig_clusters) { in ocfs2_xa_cleanup_value_truncate()
1975 orig_clusters - new_clusters); in ocfs2_xa_cleanup_value_truncate()
1983 new_clusters - orig_clusters); in ocfs2_xa_cleanup_value_truncate()
1985 } else if (new_clusters > orig_clusters) in ocfs2_xa_cleanup_value_truncate()
1991 new_clusters - orig_clusters); in ocfs2_xa_cleanup_value_truncate()
3032 u32 new_clusters = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_calc_xattr_set_need() local
3042 credits += new_clusters * in ocfs2_calc_xattr_set_need()
3049 clusters_add += new_clusters; in ocfs2_calc_xattr_set_need()
3052 new_clusters); in ocfs2_calc_xattr_set_need()
3111 clusters_add += new_clusters; in ocfs2_calc_xattr_set_need()
3118 new_clusters); in ocfs2_calc_xattr_set_need()
3136 if (old_clusters >= new_clusters) { in ocfs2_calc_xattr_set_need()
3141 clusters_add += new_clusters - old_clusters; in ocfs2_calc_xattr_set_need()
3144 new_clusters - in ocfs2_calc_xattr_set_need()