Home
last modified time | relevance | path

Searched defs:alloc (Results 1 – 4 of 4) sorted by relevance

/system/extras/ext4_utils/
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 …]
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()
77 struct block_allocation *alloc = allocate_blocks(block_len + 1); in do_inode_allocate_extents() local
181 struct block_allocation *alloc; in inode_allocate_data_extents() local
206 struct block_allocation *alloc; in inode_allocate_file_extents() local
222 struct block_allocation *alloc; in inode_allocate_extents() local
Dallocate.c63 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); in create_allocation() local
130 void append_region(struct block_allocation *alloc, in append_region()
245 void reduce_allocation(struct block_allocation *alloc, u32 len) in reduce_allocation()
471 struct block_allocation *alloc = create_allocation(); in allocate_blocks() local
480 int block_allocation_num_regions(struct block_allocation *alloc) in block_allocation_num_regions()
491 int block_allocation_len(struct block_allocation *alloc) in block_allocation_len()
503 u32 get_block(struct block_allocation *alloc, u32 block) in get_block()
516 u32 get_oob_block(struct block_allocation *alloc, u32 block) in get_oob_block()
531 void get_region(struct block_allocation *alloc, u32 *block, u32 *len) in get_region()
538 void get_next_region(struct block_allocation *alloc) in get_next_region()
[all …]
/system/core/libpixelflinger/tinyutils/
DSharedBuffer.cpp20 SharedBuffer* SharedBuffer::alloc(size_t size) in alloc() function in android::SharedBuffer