Searched refs:block_allocation (Results 1 – 6 of 6) sorted by relevance
/external/qemu/distrib/ext4_utils/src/ |
D | allocate.h | 24 struct block_allocation; 29 struct block_allocation *allocate_blocks(u32 len); 30 int block_allocation_num_regions(struct block_allocation *alloc); 31 int block_allocation_len(struct block_allocation *alloc); 34 void reduce_allocation(struct block_allocation *alloc, u32 len); 35 u32 get_block(struct block_allocation *alloc, u32 block); 36 u32 get_oob_block(struct block_allocation *alloc, u32 block); 37 void get_next_region(struct block_allocation *alloc); 38 void get_region(struct block_allocation *alloc, u32 *block, u32 *len); 47 void free_alloc(struct block_allocation *alloc); [all …]
|
D | indirect.c | 28 static u8 *create_backing(struct block_allocation *alloc, in create_backing() 55 static void reserve_indirect_block(struct block_allocation *alloc, int len) in reserve_indirect_block() 68 static void reserve_dindirect_block(struct block_allocation *alloc, int len) in reserve_dindirect_block() 85 static void reserve_tindirect_block(struct block_allocation *alloc, int len) in reserve_tindirect_block() 101 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) in fill_indirect_block() 109 static void fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) in fill_dindirect_block() 139 static void fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) in fill_tindirect_block() 167 struct block_allocation *alloc, u32 *block_len) in inode_attach_direct_blocks() 190 struct block_allocation *alloc, u32 *block_len) in inode_attach_indirect_blocks() 222 struct block_allocation *alloc, u32 *block_len) in inode_attach_dindirect_blocks() [all …]
|
D | allocate.c | 32 struct block_allocation { struct 68 struct block_allocation *create_allocation() in create_allocation() 70 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); in create_allocation() 146 static void dump_region_lists(struct block_allocation *alloc) { 156 void append_region(struct block_allocation *alloc, in append_region() 256 void reduce_allocation(struct block_allocation *alloc, u32 len) in reduce_allocation() 445 struct block_allocation *allocate_blocks(u32 len) in allocate_blocks() 452 struct block_allocation *alloc = create_allocation(); in allocate_blocks() 461 int block_allocation_num_regions(struct block_allocation *alloc) in block_allocation_num_regions() 472 int block_allocation_len(struct block_allocation *alloc) in block_allocation_len() [all …]
|
D | extent.c | 29 static u8 *extent_create_backing(struct block_allocation *alloc, in extent_create_backing() 55 static void extent_create_backing_file(struct block_allocation *alloc, in extent_create_backing_file() 74 static struct block_allocation *do_inode_allocate_extents( in do_inode_allocate_extents() 78 struct block_allocation *alloc = allocate_blocks(block_len + 1); in do_inode_allocate_extents() 183 struct block_allocation *alloc; in inode_allocate_data_extents() 208 struct block_allocation *alloc; in inode_allocate_file_extents() 224 struct block_allocation *alloc; in inode_allocate_extents()
|
D | indirect.h | 26 struct block_allocation *alloc);
|
D | ext4_utils.c | 284 struct block_allocation *reserve_inode_alloc = create_allocation(); in ext4_create_resize_inode()
|