Home
last modified time | relevance | path

Searched refs:block_allocation (Results 1 – 6 of 6) sorted by relevance

/system/extras/ext4_utils/
Dallocate.h22 struct block_allocation;
27 struct block_allocation *allocate_blocks(u32 len);
28 int block_allocation_num_regions(struct block_allocation *alloc);
29 int block_allocation_len(struct block_allocation *alloc);
31 void reduce_allocation(struct block_allocation *alloc, u32 len);
32 u32 get_block(struct block_allocation *alloc, u32 block);
33 u32 get_oob_block(struct block_allocation *alloc, u32 block);
34 void get_next_region(struct block_allocation *alloc);
35 void get_region(struct block_allocation *alloc, u32 *block, u32 *len);
42 void free_alloc(struct block_allocation *alloc);
[all …]
Dindirect.c29 static u8 *create_backing(struct block_allocation *alloc, in create_backing()
56 static void reserve_indirect_block(struct block_allocation *alloc, int len) in reserve_indirect_block()
69 static void reserve_dindirect_block(struct block_allocation *alloc, int len) in reserve_dindirect_block()
86 static void reserve_tindirect_block(struct block_allocation *alloc, int len) in reserve_tindirect_block()
102 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) in fill_indirect_block()
110 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()
166 struct block_allocation *alloc, u32 *block_len) in inode_attach_direct_blocks()
189 struct block_allocation *alloc, u32 *block_len) in inode_attach_indirect_blocks()
220 struct block_allocation *alloc, u32 *block_len) in inode_attach_dindirect_blocks()
[all …]
Dallocate.c32 struct block_allocation { struct
61 struct block_allocation *create_allocation() in create_allocation()
63 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); in create_allocation()
120 static void dump_region_lists(struct block_allocation *alloc) {
130 void append_region(struct block_allocation *alloc, in append_region()
228 void reduce_allocation(struct block_allocation *alloc, u32 len) in reduce_allocation()
447 struct block_allocation *allocate_blocks(u32 len) in allocate_blocks()
454 struct block_allocation *alloc = create_allocation(); in allocate_blocks()
463 int block_allocation_num_regions(struct block_allocation *alloc) in block_allocation_num_regions()
474 int block_allocation_len(struct block_allocation *alloc) in block_allocation_len()
[all …]
Dextent.c29 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()
73 static struct block_allocation *do_inode_allocate_extents( in do_inode_allocate_extents()
77 struct block_allocation *alloc = allocate_blocks(block_len + 1); in do_inode_allocate_extents()
181 struct block_allocation *alloc; in inode_allocate_data_extents()
206 struct block_allocation *alloc; in inode_allocate_file_extents()
222 struct block_allocation *alloc; in inode_allocate_extents()
Dindirect.h26 struct block_allocation *alloc);
Dext4_utils.c265 struct block_allocation *reserve_inode_alloc = create_allocation(); in ext4_create_resize_inode()