Searched refs:block_i (Results 1 – 4 of 4) sorted by relevance
413 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local416 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); in ext2_init_block_alloc_info()417 if (block_i) { in ext2_init_block_alloc_info()418 struct ext2_reserve_window_node *rsv = &block_i->rsv_window_node; in ext2_init_block_alloc_info()433 block_i->last_alloc_logical_block = 0; in ext2_init_block_alloc_info()434 block_i->last_alloc_physical_block = 0; in ext2_init_block_alloc_info()436 ei->i_block_alloc_info = block_i; in ext2_init_block_alloc_info()454 struct ext2_block_alloc_info *block_i = ei->i_block_alloc_info; in ext2_discard_reservation() local458 if (!block_i) in ext2_discard_reservation()461 rsv = &block_i->rsv_window_node; in ext2_discard_reservation()[all …]
330 struct ext2_block_alloc_info *block_i; in ext2_find_goal() local332 block_i = EXT2_I(inode)->i_block_alloc_info; in ext2_find_goal()338 if (block_i && (block == block_i->last_alloc_logical_block + 1) in ext2_find_goal()339 && (block_i->last_alloc_physical_block != 0)) { in ext2_find_goal()340 return block_i->last_alloc_physical_block + 1; in ext2_find_goal()559 struct ext2_block_alloc_info *block_i; in ext2_splice_branch() local562 block_i = EXT2_I(inode)->i_block_alloc_info; in ext2_splice_branch()584 if (block_i) { in ext2_splice_branch()585 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()586 block_i->last_alloc_physical_block = in ext2_splice_branch()
422 struct ext3_block_alloc_info *block_i; in ext3_init_block_alloc_info() local425 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); in ext3_init_block_alloc_info()426 if (block_i) { in ext3_init_block_alloc_info()427 struct ext3_reserve_window_node *rsv = &block_i->rsv_window_node; in ext3_init_block_alloc_info()442 block_i->last_alloc_logical_block = 0; in ext3_init_block_alloc_info()443 block_i->last_alloc_physical_block = 0; in ext3_init_block_alloc_info()445 ei->i_block_alloc_info = block_i; in ext3_init_block_alloc_info()464 struct ext3_block_alloc_info *block_i = ei->i_block_alloc_info; in ext3_discard_reservation() local468 if (!block_i) in ext3_discard_reservation()471 rsv = &block_i->rsv_window_node; in ext3_discard_reservation()[all …]
507 struct ext3_block_alloc_info *block_i; in ext3_find_goal() local509 block_i = EXT3_I(inode)->i_block_alloc_info; in ext3_find_goal()515 if (block_i && (block == block_i->last_alloc_logical_block + 1) in ext3_find_goal()516 && (block_i->last_alloc_physical_block != 0)) { in ext3_find_goal()517 return block_i->last_alloc_physical_block + 1; in ext3_find_goal()752 struct ext3_block_alloc_info *block_i; in ext3_splice_branch() local757 block_i = ei->i_block_alloc_info; in ext3_splice_branch()788 if (block_i) { in ext3_splice_branch()789 block_i->last_alloc_logical_block = block + blks - 1; in ext3_splice_branch()790 block_i->last_alloc_physical_block = in ext3_splice_branch()