• Home
  • Raw
  • Download

Lines Matching refs:region

27 	struct region *first;
28 struct region *last;
29 struct region *iter;
38 struct region { struct
42 struct region *next; argument
43 struct region *prev; argument
102 static void region_list_remove(struct region_list *list, struct region *reg) in region_list_remove()
120 static void region_list_append(struct region_list *list, struct region *reg) in region_list_append()
137 static void dump_starting_from(struct region *reg)
160 struct region *reg; in append_region()
161 reg = malloc(sizeof(struct region)); in append_region()
260 struct region *last_reg = alloc->list.last; in reduce_allocation()
267 struct region *reg = alloc->list.last->prev; in reduce_allocation()
360 static struct region *ext4_allocate_contiguous_blocks(u32 len) in ext4_allocate_contiguous_blocks()
363 struct region *reg; in ext4_allocate_contiguous_blocks()
369 reg = malloc(sizeof(struct region)); in ext4_allocate_contiguous_blocks()
396 static struct region *ext4_allocate_partial(u32 len) in ext4_allocate_partial()
399 struct region *reg; in ext4_allocate_partial()
420 reg = malloc(sizeof(struct region)); in ext4_allocate_partial()
434 static struct region *ext4_allocate_multiple_contiguous_blocks(u32 len) in ext4_allocate_multiple_contiguous_blocks()
436 struct region *first_reg = NULL; in ext4_allocate_multiple_contiguous_blocks()
437 struct region *prev_reg = NULL; in ext4_allocate_multiple_contiguous_blocks()
438 struct region *reg; in ext4_allocate_multiple_contiguous_blocks()
460 struct region *do_allocate(u32 len) in do_allocate()
462 struct region *reg = ext4_allocate_contiguous_blocks(len); in do_allocate()
480 struct region *reg = do_allocate(len); in allocate_blocks()
497 struct region *reg = alloc->list.first; in block_allocation_num_regions()
508 struct region *reg = alloc->list.first; in block_allocation_len()
519 struct region *reg = alloc->list.iter; in get_block()
532 struct region *reg = alloc->oob_list.iter; in get_oob_block()
575 static struct region *do_split_allocation(struct block_allocation *alloc, u32 len) in do_split_allocation()
577 struct region *reg = alloc->list.iter; in do_split_allocation()
578 struct region *new; in do_split_allocation()
579 struct region *tmp; in do_split_allocation()
590 new = malloc(sizeof(struct region)); in do_split_allocation()
612 static struct region *split_allocation(struct block_allocation *alloc, u32 len) in split_allocation()
618 struct region *middle = do_split_allocation(alloc, len); in split_allocation()
626 struct region *oob = split_allocation(alloc, blocks); in reserve_oob_blocks()
627 struct region *next; in reserve_oob_blocks()
644 struct region *reg = list->iter; in advance_list_ptr()
676 struct region *reg = do_allocate(len); in append_oob_allocation()
796 struct region *reg; in free_alloc()
800 struct region *next = reg->next; in free_alloc()
807 struct region *next = reg->next; in free_alloc()