Lines Matching refs:prealloc
75 struct ext4_inode *inode, u64 len, struct block_allocation *prealloc) in do_inode_allocate_extents() argument
84 if (!prealloc) { in do_inode_allocate_extents()
91 prealloc_block_len = block_allocation_len(prealloc); in do_inode_allocate_extents()
99 region_list_merge(&prealloc->list, &alloc->list); in do_inode_allocate_extents()
102 alloc = prealloc; in do_inode_allocate_extents()
228 struct block_allocation *alloc, *prealloc = base_fs_allocations, *prev_prealloc = NULL; in inode_allocate_file_extents() local
231 while (prealloc && prealloc->filename != NULL) { in inode_allocate_file_extents()
232 if (!strcmp(filename, prealloc->filename)) { in inode_allocate_file_extents()
235 prev_prealloc = prealloc; in inode_allocate_file_extents()
236 prealloc = prealloc->next; in inode_allocate_file_extents()
238 if (prealloc) { in inode_allocate_file_extents()
242 prev_prealloc->next = prealloc->next; in inode_allocate_file_extents()
244 prealloc->next = NULL; in inode_allocate_file_extents()
247 alloc = do_inode_allocate_extents(inode, len, prealloc); in inode_allocate_file_extents()