Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ext2/
Dballoc.c414 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local
417 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() local
459 if (!block_i) in ext2_discard_reservation()
462 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()
561 struct ext2_block_alloc_info *block_i; in ext2_splice_branch() local
564 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()