Searched refs:block_i (Results 1 – 2 of 2) sorted by relevance
412 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local415 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); in ext2_init_block_alloc_info()416 if (block_i) { in ext2_init_block_alloc_info()417 struct ext2_reserve_window_node *rsv = &block_i->rsv_window_node; in ext2_init_block_alloc_info()432 block_i->last_alloc_logical_block = 0; in ext2_init_block_alloc_info()433 block_i->last_alloc_physical_block = 0; in ext2_init_block_alloc_info()435 ei->i_block_alloc_info = block_i; in ext2_init_block_alloc_info()453 struct ext2_block_alloc_info *block_i = ei->i_block_alloc_info; in ext2_discard_reservation() local457 if (!block_i) in ext2_discard_reservation()460 rsv = &block_i->rsv_window_node; in ext2_discard_reservation()[all …]
333 struct ext2_block_alloc_info *block_i; in ext2_find_goal() local335 block_i = EXT2_I(inode)->i_block_alloc_info; in ext2_find_goal()341 if (block_i && (block == block_i->last_alloc_logical_block + 1) in ext2_find_goal()342 && (block_i->last_alloc_physical_block != 0)) { in ext2_find_goal()343 return block_i->last_alloc_physical_block + 1; in ext2_find_goal()565 struct ext2_block_alloc_info *block_i; in ext2_splice_branch() local568 block_i = EXT2_I(inode)->i_block_alloc_info; in ext2_splice_branch()590 if (block_i) { in ext2_splice_branch()591 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()592 block_i->last_alloc_physical_block = in ext2_splice_branch()