Searched refs:block_i (Results 1 – 2 of 2) sorted by relevance
414 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local417 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); in ext2_init_block_alloc_info()418 if (block_i) { in ext2_init_block_alloc_info()419 struct ext2_reserve_window_node *rsv = &block_i->rsv_window_node; in ext2_init_block_alloc_info()434 block_i->last_alloc_logical_block = 0; in ext2_init_block_alloc_info()435 block_i->last_alloc_physical_block = 0; in ext2_init_block_alloc_info()437 ei->i_block_alloc_info = block_i; in ext2_init_block_alloc_info()455 struct ext2_block_alloc_info *block_i = ei->i_block_alloc_info; in ext2_discard_reservation() local459 if (!block_i) in ext2_discard_reservation()462 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()561 struct ext2_block_alloc_info *block_i; in ext2_splice_branch() local564 block_i = EXT2_I(inode)->i_block_alloc_info; in ext2_splice_branch()586 if (block_i) { in ext2_splice_branch()587 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()588 block_i->last_alloc_physical_block = in ext2_splice_branch()