Home
last modified time | relevance | path

Searched refs:block_i (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/ext2/
Dballoc.c412 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local
415 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() local
457 if (!block_i) in ext2_discard_reservation()
460 rsv = &block_i->rsv_window_node; in ext2_discard_reservation()
[all …]
Dinode.c333 struct ext2_block_alloc_info *block_i; in ext2_find_goal() local
335 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() local
568 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()