• Home
  • Raw
  • Download

Lines Matching refs:new_clusters

606 		int new_clusters = ocfs2_clusters_for_bytes(dir->i_sb,  in ocfs2_calc_security_init()  local
610 new_clusters); in ocfs2_calc_security_init()
611 *want_clusters += new_clusters; in ocfs2_calc_security_init()
626 int s_size = 0, a_size = 0, acl_len = 0, new_clusters; in ocfs2_calc_xattr_init() local
682 new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_xattr_init()
685 new_clusters); in ocfs2_calc_xattr_init()
686 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
691 new_clusters = (S_ISDIR(mode) ? 2 : 1) * in ocfs2_calc_xattr_init()
694 new_clusters); in ocfs2_calc_xattr_init()
695 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
812 u32 new_clusters, in ocfs2_xattr_shrink_size() argument
821 if (old_clusters <= new_clusters) in ocfs2_xattr_shrink_size()
824 cpos = new_clusters; in ocfs2_xattr_shrink_size()
825 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
863 u32 new_clusters = ocfs2_clusters_for_bytes(inode->i_sb, len); in ocfs2_xattr_value_truncate() local
866 if (new_clusters == old_clusters) in ocfs2_xattr_value_truncate()
869 if (new_clusters > old_clusters) in ocfs2_xattr_value_truncate()
871 new_clusters - old_clusters, in ocfs2_xattr_value_truncate()
875 old_clusters, new_clusters, in ocfs2_xattr_value_truncate()
1987 unsigned int new_clusters = ocfs2_xa_value_clusters(loc); in ocfs2_xa_cleanup_value_truncate() local
1991 if (new_clusters < orig_clusters) { in ocfs2_xa_cleanup_value_truncate()
1996 orig_clusters - new_clusters); in ocfs2_xa_cleanup_value_truncate()
2004 new_clusters - orig_clusters); in ocfs2_xa_cleanup_value_truncate()
2006 } else if (new_clusters > orig_clusters) in ocfs2_xa_cleanup_value_truncate()
2012 new_clusters - orig_clusters); in ocfs2_xa_cleanup_value_truncate()
3052 u32 new_clusters = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_calc_xattr_set_need() local
3062 credits += new_clusters * in ocfs2_calc_xattr_set_need()
3069 clusters_add += new_clusters; in ocfs2_calc_xattr_set_need()
3130 clusters_add += new_clusters; in ocfs2_calc_xattr_set_need()
3154 if (old_clusters >= new_clusters) { in ocfs2_calc_xattr_set_need()
3159 clusters_add += new_clusters - old_clusters; in ocfs2_calc_xattr_set_need()