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

/system/extras/ext4_utils/
H A Dindirect.h23 struct block_allocation;
29 struct block_allocation *alloc);
H A Dallocate.h39 struct block_allocation { struct
43 struct block_allocation* next;
68 struct block_allocation *allocate_blocks(u32 len);
69 int block_allocation_num_regions(struct block_allocation *alloc);
70 int block_allocation_len(struct block_allocation *alloc);
73 void reduce_allocation(struct block_allocation *alloc, u32 len);
74 u32 get_block(struct block_allocation *alloc, u32 block);
75 u32 get_oob_block(struct block_allocation *alloc, u32 block);
76 void get_next_region(struct block_allocation *alloc);
77 void get_region(struct block_allocation *allo
[all...]
H A Dextent.h23 struct block_allocation;
26 struct block_allocation* inode_allocate_file_extents(
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(
76 struct ext4_inode *inode, u64 len, struct block_allocation *prealloc)
79 struct block_allocation *alloc;
204 struct block_allocation *alloc;
226 struct block_allocation* inode_allocate_file_extents(struct ext4_inode *inode, u64 len,
229 struct block_allocation *alloc, *prealloc = base_fs_allocations, *prev_prealloc = NULL;
261 struct block_allocation *alloc;
H A Dallocate.c32 struct block_allocation *create_allocation()
34 struct block_allocation *alloc = malloc(sizeof(struct block_allocation));
124 static void dump_region_lists(struct block_allocation *alloc) {
134 void print_blocks(FILE* f, struct block_allocation *alloc, char separator)
149 void append_region(struct block_allocation *alloc,
254 void reduce_allocation(struct block_allocation *alloc, u32 len)
356 struct block_allocation *blk_alloc = allocate_blocks(1);
462 struct block_allocation *allocate_blocks(u32 len)
469 struct block_allocation *allo
[all...]
H A Dcontents.h45 struct block_allocation* get_saved_allocation_chain();
H A Dmake_ext4fs.c588 struct block_allocation *fs_alloc;
698 struct block_allocation* p)
711 struct block_allocation* pn = p->next;
727 struct block_allocation* p;
876 struct block_allocation* p = get_saved_allocation_chain();
885 struct block_allocation* pn = p->next;
891 struct block_allocation* p = get_saved_allocation_chain();
912 struct block_allocation* pn = p->next;
H A Dcontents.c42 static struct block_allocation* saved_allocation_head = NULL;
44 struct block_allocation* get_saved_allocation_chain() {
197 struct block_allocation* alloc = inode_allocate_file_extents(inode, len, filename);
H A Dext4_utils.c54 struct block_allocation *base_fs_allocations = NULL;
435 struct block_allocation *reserve_inode_alloc = create_allocation();
/system/extras/ext4_utils/include/ext4_utils/
H A Dext4_utils.h124 extern struct block_allocation *base_fs_allocations;

Completed in 123 milliseconds