• Home
  • Raw
  • Download

Lines Matching refs:len

40 		u32 len;  in extent_create_backing()  local
43 len = min(region_len * info.block_size, backing_len); in extent_create_backing()
45 sparse_file_add_data(ext4_sparse_file, ptr, len, region_block); in extent_create_backing()
46 ptr += len; in extent_create_backing()
47 backing_len -= len; in extent_create_backing()
62 u32 len; in extent_create_backing_file() local
65 len = min(region_len * info.block_size, backing_len); in extent_create_backing_file()
67 sparse_file_add_file(ext4_sparse_file, filename, offset, len, in extent_create_backing_file()
69 offset += len; in extent_create_backing_file()
70 backing_len -= len; in extent_create_backing_file()
75 struct ext4_inode *inode, u64 len, struct block_allocation *prealloc) in do_inode_allocate_extents() argument
77 u32 block_len = DIV_ROUND_UP(len, info.block_size), prealloc_block_len; in do_inode_allocate_extents()
153 len); in do_inode_allocate_extents()
187 inode->i_size_lo = len; in do_inode_allocate_extents()
188 inode->i_size_high = len >> 32; in do_inode_allocate_extents()
200 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len, in inode_allocate_data_extents() argument
206 alloc = do_inode_allocate_extents(inode, len, NULL); in inode_allocate_data_extents()
208 error("failed to allocate extents for %"PRIu64" bytes", len); in inode_allocate_data_extents()
225 struct block_allocation* inode_allocate_file_extents(struct ext4_inode *inode, u64 len, in inode_allocate_file_extents() argument
247 alloc = do_inode_allocate_extents(inode, len, prealloc); in inode_allocate_file_extents()
249 error("failed to allocate extents for %"PRIu64" bytes", len); in inode_allocate_file_extents()
253 extent_create_backing_file(alloc, len, filename); in inode_allocate_file_extents()
258 void inode_allocate_extents(struct ext4_inode *inode, u64 len) in inode_allocate_extents() argument
262 alloc = do_inode_allocate_extents(inode, len, NULL); in inode_allocate_extents()
264 error("failed to allocate extents for %"PRIu64" bytes", len); in inode_allocate_extents()