Lines Matching refs:alloc
32 int block_allocation_num_regions(struct block_allocation *alloc);
33 int block_allocation_len(struct block_allocation *alloc);
36 void reduce_allocation(struct block_allocation *alloc, u32 len);
37 u32 get_block(struct block_allocation *alloc, u32 block);
38 u32 get_oob_block(struct block_allocation *alloc, u32 block);
39 void get_next_region(struct block_allocation *alloc);
40 void get_region(struct block_allocation *alloc, u32 *block, u32 *len);
49 void free_alloc(struct block_allocation *alloc);
50 int reserve_oob_blocks(struct block_allocation *alloc, int blocks);
51 int advance_blocks(struct block_allocation *alloc, int blocks);
52 int advance_oob_blocks(struct block_allocation *alloc, int blocks);
53 int last_region(struct block_allocation *alloc);
54 void rewind_alloc(struct block_allocation *alloc);
55 void append_region(struct block_allocation *alloc,
58 int append_oob_allocation(struct block_allocation *alloc, u32 len);