Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ocfs2/
Dresize.c84 int new_clusters) in ocfs2_update_last_group_and_inode() argument
97 trace_ocfs2_update_last_group_and_inode(new_clusters, in ocfs2_update_last_group_and_inode()
111 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
142 le32_add_cpu(&fe->i_clusters, new_clusters); in ocfs2_update_last_group_and_inode()
151 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()
212 int new_clusters) in ocfs2_update_super_and_backups() argument
232 le32_add_cpu(&super_di->i_clusters, new_clusters); in ocfs2_update_super_and_backups()
259 int ocfs2_group_extend(struct inode * inode, int new_clusters) in ocfs2_group_extend() argument
276 if (new_clusters < 0) in ocfs2_group_extend()
278 else if (new_clusters == 0) in ocfs2_group_extend()
[all …]
Dresize.h15 int ocfs2_group_extend(struct inode * inode, int new_clusters);
Dxattr.c606 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()
[all …]
Dioctl.c840 int new_clusters; in ocfs2_ioctl() local
882 if (get_user(new_clusters, (int __user *)arg)) in ocfs2_ioctl()
888 status = ocfs2_group_extend(inode, new_clusters); in ocfs2_ioctl()
Dalloc.h87 u32 new_clusters,
Dalloc.c82 u32 new_clusters);
1355 u32 new_clusters; in ocfs2_shift_tree_depth() local
1407 new_clusters = ocfs2_sum_rightmost_rec(eb_el); in ocfs2_shift_tree_depth()
1413 root_el->l_recs[0].e_int_clusters = cpu_to_le32(new_clusters); in ocfs2_shift_tree_depth()
4705 u32 new_clusters, in ocfs2_insert_extent() argument
4717 cpos, new_clusters); in ocfs2_insert_extent()
4722 rec.e_leaf_clusters = cpu_to_le16(new_clusters); in ocfs2_insert_extent()