Home
last modified time | relevance | path

Searched refs:new_clusters (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/ocfs2/
Dresize.c98 int new_clusters) in ocfs2_update_last_group_and_inode() argument
111 trace_ocfs2_update_last_group_and_inode(new_clusters, in ocfs2_update_last_group_and_inode()
125 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
156 le32_add_cpu(&fe->i_clusters, new_clusters); in ocfs2_update_last_group_and_inode()
165 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()
226 int new_clusters) in ocfs2_update_super_and_backups() argument
246 le32_add_cpu(&super_di->i_clusters, new_clusters); in ocfs2_update_super_and_backups()
273 int ocfs2_group_extend(struct inode * inode, int new_clusters) in ocfs2_group_extend() argument
290 if (new_clusters < 0) in ocfs2_group_extend()
292 else if (new_clusters == 0) in ocfs2_group_extend()
[all …]
Dresize.h29 int ocfs2_group_extend(struct inode * inode, int new_clusters);
Dxattr.c614 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
690 new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_xattr_init()
693 new_clusters); in ocfs2_calc_xattr_init()
694 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
699 new_clusters = (S_ISDIR(mode) ? 2 : 1) * in ocfs2_calc_xattr_init()
702 new_clusters); in ocfs2_calc_xattr_init()
703 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
[all …]
Dioctl.c847 int new_clusters; in ocfs2_ioctl() local
889 if (get_user(new_clusters, (int __user *)arg)) in ocfs2_ioctl()
895 status = ocfs2_group_extend(inode, new_clusters); in ocfs2_ioctl()
Dalloc.h101 u32 new_clusters,
Dalloc.c96 u32 new_clusters);
1370 u32 new_clusters; in ocfs2_shift_tree_depth() local
1422 new_clusters = ocfs2_sum_rightmost_rec(eb_el); in ocfs2_shift_tree_depth()
1428 root_el->l_recs[0].e_int_clusters = cpu_to_le32(new_clusters); in ocfs2_shift_tree_depth()
4720 u32 new_clusters, in ocfs2_insert_extent() argument
4732 cpos, new_clusters); in ocfs2_insert_extent()
4737 rec.e_leaf_clusters = cpu_to_le16(new_clusters); in ocfs2_insert_extent()