Lines Matching refs:u32
26 u32 block;
27 u32 len;
34 u32 first_block;
42 u32 free_blocks;
43 u32 first_free_block;
44 u32 free_inodes;
45 u32 first_free_inode;
158 u32 block, u32 len, int bg_num) in append_region()
175 u32 block = bg->first_block + 2; in allocate_bg_inode_table()
190 static int bitmap_set_bit(u8 *bitmap, u32 bit) in bitmap_set_bit()
199 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) in bitmap_set_8_bits()
208 static int reserve_blocks(struct block_group_info *bg, u32 start, u32 num) in reserve_blocks()
212 u32 block = start; in reserve_blocks()
244 static void free_blocks(struct block_group_info *bg, u32 num_blocks) in free_blocks()
247 u32 block = bg->first_free_block - 1; in free_blocks()
257 void reduce_allocation(struct block_allocation *alloc, u32 len) in reduce_allocation()
299 u32 block = bg->first_block; in init_bg()
316 u32 overrun = bg->first_block + info.blocks_per_group - aux_info.len_blocks; in init_bg()
344 static u32 ext4_allocate_blocks_from_block_group(u32 len, int bg_num) in ext4_allocate_blocks_from_block_group()
349 u32 block = aux_info.bgs[bg_num].first_free_block; in ext4_allocate_blocks_from_block_group()
362 u32 allocate_block() in allocate_block()
366 u32 block = ext4_allocate_blocks_from_block_group(1, i); in allocate_block()
375 static struct region *ext4_allocate_best_fit_partial(u32 len) in ext4_allocate_best_fit_partial()
379 u32 found_bg_len = 0; in ext4_allocate_best_fit_partial()
382 u32 bg_len = aux_info.bgs[i].free_blocks; in ext4_allocate_best_fit_partial()
392 u32 allocate_len = min(len, found_bg_len); in ext4_allocate_best_fit_partial()
394 u32 block = ext4_allocate_blocks_from_block_group(allocate_len, found_bg); in ext4_allocate_best_fit_partial()
413 static struct region *ext4_allocate_best_fit(u32 len) in ext4_allocate_best_fit()
446 struct block_allocation *allocate_blocks(u32 len) in allocate_blocks()
485 u32 get_block(struct block_allocation *alloc, u32 block) in get_block()
498 u32 get_oob_block(struct block_allocation *alloc, u32 block) in get_oob_block()
513 void get_region(struct block_allocation *alloc, u32 *block, u32 *len) in get_region()
527 u32 get_free_blocks(u32 bg) in get_free_blocks()
543 static struct region *do_split_allocation(struct block_allocation *alloc, u32 len) in do_split_allocation()
580 static struct region *split_allocation(struct block_allocation *alloc, u32 len) in split_allocation()
642 int append_oob_allocation(struct block_allocation *alloc, u32 len) in append_oob_allocation()
658 struct ext4_inode *get_inode(u32 inode) in get_inode()
675 u32 block_num = allocate_block(); in get_xattr_block_for_inode()
699 u32 reserve_inodes(int bg, u32 num) in reserve_inodes()
702 u32 inode; in reserve_inodes()
722 u32 allocate_inode() in allocate_inode()
725 u32 inode; in allocate_inode()
737 u32 get_free_inodes(u32 bg) in get_free_inodes()
743 void add_directory(u32 inode) in add_directory()