Searched refs:block_i (Results 1 – 2 of 2) sorted by relevance
419 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local422 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); in ext2_init_block_alloc_info()423 if (block_i) { in ext2_init_block_alloc_info()424 struct ext2_reserve_window_node *rsv = &block_i->rsv_window_node; in ext2_init_block_alloc_info()439 block_i->last_alloc_logical_block = 0; in ext2_init_block_alloc_info()440 block_i->last_alloc_physical_block = 0; in ext2_init_block_alloc_info()442 ei->i_block_alloc_info = block_i; in ext2_init_block_alloc_info()460 struct ext2_block_alloc_info *block_i = ei->i_block_alloc_info; in ext2_discard_reservation() local464 if (!block_i) in ext2_discard_reservation()467 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()