Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance
/fs/ocfs2/ |
D | file.c | 1213 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local 1247 &alloc_size, NULL); in ocfs2_allocate_unwritten_extents() 1257 if (alloc_size > clusters) in ocfs2_allocate_unwritten_extents() 1258 alloc_size = clusters; in ocfs2_allocate_unwritten_extents() 1268 ret = __ocfs2_extend_allocation(inode, cpos, alloc_size, 1); in ocfs2_allocate_unwritten_extents() 1276 cpos += alloc_size; in ocfs2_allocate_unwritten_extents() 1277 clusters -= alloc_size; in ocfs2_allocate_unwritten_extents() 1382 u32 trunc_start, trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_remove_inode_range() local 1433 &alloc_size, NULL); in ocfs2_remove_inode_range() 1439 if (alloc_size > trunc_len) in ocfs2_remove_inode_range() [all …]
|
D | xattr.c | 702 u32 trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_xattr_shrink_size() local 712 &alloc_size, in ocfs2_xattr_shrink_size() 719 if (alloc_size > trunc_len) in ocfs2_xattr_shrink_size() 720 alloc_size = trunc_len; in ocfs2_xattr_shrink_size() 723 phys_cpos, alloc_size, in ocfs2_xattr_shrink_size() 732 alloc_size); in ocfs2_xattr_shrink_size() 733 cpos += alloc_size; in ocfs2_xattr_shrink_size() 734 trunc_len -= alloc_size; in ocfs2_xattr_shrink_size()
|
/fs/btrfs/ |
D | inode.c | 4822 u64 alloc_size; in prealloc_file_range() local 4832 alloc_size = min(num_bytes, root->fs_info->max_extent); in prealloc_file_range() 4833 ret = btrfs_reserve_extent(trans, root, alloc_size, in prealloc_file_range()
|