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

/system/extras/ext4_utils/
H A Dallocate.h25 struct block_allocation;
30 struct block_allocation *allocate_blocks(u32 len);
31 int block_allocation_num_regions(struct block_allocation *alloc);
32 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);
46 void free_alloc(struct block_allocation *allo
[all...]
H A Dindirect.h26 struct block_allocation *alloc);
H A Dindirect.c30 static u8 *create_backing(struct block_allocation *alloc,
57 static void reserve_indirect_block(struct block_allocation *alloc, int len)
70 static void reserve_dindirect_block(struct block_allocation *alloc, int len)
87 static void reserve_tindirect_block(struct block_allocation *alloc, int len)
103 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc)
111 static void fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc)
141 static void fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc)
169 struct block_allocation *alloc, u32 *block_len)
192 struct block_allocation *alloc, u32 *block_len)
224 struct block_allocation *allo
[all...]
H A Dextent.c30 static u8 *extent_create_backing(struct block_allocation *alloc,
56 static void extent_create_backing_file(struct block_allocation *alloc,
75 static struct block_allocation *do_inode_allocate_extents(
79 struct block_allocation *alloc = allocate_blocks(block_len + 1);
184 struct block_allocation *alloc;
209 struct block_allocation *alloc;
225 struct block_allocation *alloc;
H A Dallocate.c33 struct block_allocation { struct
62 struct block_allocation *create_allocation()
64 struct block_allocation *alloc = malloc(sizeof(struct block_allocation));
121 static void dump_region_lists(struct block_allocation *alloc) {
131 void append_region(struct block_allocation *alloc,
247 void reduce_allocation(struct block_allocation *alloc, u32 len)
467 struct block_allocation *allocate_blocks(u32 len)
474 struct block_allocation *alloc = create_allocation();
483 int block_allocation_num_regions(struct block_allocation *allo
[all...]
H A Dext4_utils.c297 struct block_allocation *reserve_inode_alloc = create_allocation();

Completed in 1897 milliseconds