Home
last modified time | relevance | path

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

/fs/ext2/
Dballoc.c413 struct ext2_block_alloc_info *block_i; in ext2_init_block_alloc_info() local
416 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() local
458 if (!block_i) in ext2_discard_reservation()
461 rsv = &block_i->rsv_window_node; in ext2_discard_reservation()
[all …]
Dinode.c330 struct ext2_block_alloc_info *block_i; in ext2_find_goal() local
332 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() local
562 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()
/fs/ext3/
Dballoc.c422 struct ext3_block_alloc_info *block_i; in ext3_init_block_alloc_info() local
425 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() local
468 if (!block_i) in ext3_discard_reservation()
471 rsv = &block_i->rsv_window_node; in ext3_discard_reservation()
[all …]
Dinode.c507 struct ext3_block_alloc_info *block_i; in ext3_find_goal() local
509 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() local
757 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()