Searched refs:new_clusters (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/ocfs2/ |
| H A D | resize.c | 82 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() 147 le32_add_cpu(&fe->i_clusters, new_clusters); in ocfs2_update_last_group_and_inode() 156 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode() 218 int new_clusters) in ocfs2_update_super_and_backups() argument 238 le32_add_cpu(&super_di->i_clusters, new_clusters); in ocfs2_update_super_and_backups() 265 int ocfs2_group_extend(struct inode * inode, int new_clusters) in ocfs2_group_extend() argument 282 if (new_clusters < 0) in ocfs2_group_extend() 284 else if (new_clusters == 0) in ocfs2_group_extend() [all …]
|
| H A D | resize.h | 13 int ocfs2_group_extend(struct inode * inode, int new_clusters);
|
| H A D | xattr.c | 604 int new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_security_init() local 608 new_clusters); in ocfs2_calc_security_init() 609 *want_clusters += new_clusters; in ocfs2_calc_security_init() 624 int s_size = 0, a_size = 0, acl_len = 0, new_clusters; in ocfs2_calc_xattr_init() local 680 new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_xattr_init() 683 new_clusters); in ocfs2_calc_xattr_init() 684 *want_clusters += new_clusters; in ocfs2_calc_xattr_init() 689 new_clusters = (S_ISDIR(mode) ? 2 : 1) * in ocfs2_calc_xattr_init() 692 new_clusters); in ocfs2_calc_xattr_init() 693 *want_clusters += new_clusters; in ocfs2_calc_xattr_init() [all …]
|
| H A D | ioctl.c | 858 int new_clusters; in ocfs2_ioctl() local 863 if (get_user(new_clusters, (int __user *)arg)) in ocfs2_ioctl() 869 status = ocfs2_group_extend(inode, new_clusters); in ocfs2_ioctl()
|
| H A D | alloc.c | 81 u32 new_clusters); 1360 u32 new_clusters; in ocfs2_shift_tree_depth() local 1412 new_clusters = ocfs2_sum_rightmost_rec(eb_el); in ocfs2_shift_tree_depth() 1418 root_el->l_recs[0].e_int_clusters = cpu_to_le32(new_clusters); in ocfs2_shift_tree_depth() 4718 u32 new_clusters, in ocfs2_insert_extent() argument 4730 cpos, new_clusters); in ocfs2_insert_extent() 4735 rec.e_leaf_clusters = cpu_to_le16(new_clusters); in ocfs2_insert_extent()
|