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

/system/extras/ext4_utils/
H A Dallocate.h33 struct block_allocation { struct
37 struct block_allocation* next;
44 struct block_allocation *allocate_blocks(u32 len);
45 int block_allocation_num_regions(struct block_allocation *alloc);
46 int block_allocation_len(struct block_allocation *alloc);
49 void reduce_allocation(struct block_allocation *alloc, u32 len);
50 u32 get_block(struct block_allocation *alloc, u32 block);
51 u32 get_oob_block(struct block_allocation *alloc, u32 block);
52 void get_next_region(struct block_allocation *alloc);
53 void get_region(struct block_allocation *allo
[all...]
H A Dindirect.h26 struct block_allocation *alloc);
H A Dextent.h24 struct block_allocation* inode_allocate_file_extents(
H A Dindirect.c28 static u8 *create_backing(struct block_allocation *alloc,
55 static void reserve_indirect_block(struct block_allocation *alloc, int len)
68 static void reserve_dindirect_block(struct block_allocation *alloc, int len)
85 static void reserve_tindirect_block(struct block_allocation *alloc, int len)
101 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc)
109 static void fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc)
139 static void fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc)
167 struct block_allocation *alloc, u32 *block_len)
190 struct block_allocation *alloc, u32 *block_len)
222 struct block_allocation *allo
[all...]
H A Dextent.c29 static u8 *extent_create_backing(struct block_allocation *alloc,
55 static void extent_create_backing_file(struct block_allocation *alloc,
74 static struct block_allocation *do_inode_allocate_extents(
78 struct block_allocation *alloc = allocate_blocks(block_len + 1);
183 struct block_allocation *alloc;
205 struct block_allocation* inode_allocate_file_extents(struct ext4_inode *inode, u64 len,
208 struct block_allocation *alloc;
223 struct block_allocation *alloc;
H A Dcontents.h43 struct block_allocation* get_saved_allocation_chain();
H A Dallocate.c56 struct block_allocation *create_allocation()
58 struct block_allocation *alloc = malloc(sizeof(struct block_allocation));
134 static void dump_region_lists(struct block_allocation *alloc) {
144 void print_blocks(FILE* f, struct block_allocation *alloc)
157 void append_region(struct block_allocation *alloc,
257 void reduce_allocation(struct block_allocation *alloc, u32 len)
446 struct block_allocation *allocate_blocks(u32 len)
453 struct block_allocation *alloc = create_allocation();
462 int block_allocation_num_regions(struct block_allocation *allo
[all...]
H A Dcontents.c41 static struct block_allocation* saved_allocation_head = NULL;
43 struct block_allocation* get_saved_allocation_chain() {
196 struct block_allocation* alloc = inode_allocate_file_extents(inode, len, filename);
H A Dmake_ext4fs.c627 struct block_allocation* p = get_saved_allocation_chain();
636 struct block_allocation* pn = p->next;
H A Dext4_utils.c332 struct block_allocation *reserve_inode_alloc = create_allocation();

Completed in 70 milliseconds