Lines Matching refs:alloc
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 *alloc, u32 *block, u32 *len);
86 void free_alloc(struct block_allocation *alloc);
87 int reserve_oob_blocks(struct block_allocation *alloc, int blocks);
88 int advance_blocks(struct block_allocation *alloc, int blocks);
89 int advance_oob_blocks(struct block_allocation *alloc, int blocks);
90 int last_region(struct block_allocation *alloc);
91 void rewind_alloc(struct block_allocation *alloc);
92 void append_region(struct block_allocation *alloc,
95 int append_oob_allocation(struct block_allocation *alloc, u32 len);
98 void print_blocks(FILE* f, struct block_allocation *alloc, char separator);
100 int reserve_blocks_for_allocation(struct block_allocation *alloc);