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

/linux-4.1.27/fs/ext2/
H A Dballoc.c413 struct ext2_block_alloc_info *block_i; ext2_init_block_alloc_info() local
416 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); ext2_init_block_alloc_info()
417 if (block_i) { ext2_init_block_alloc_info()
418 struct ext2_reserve_window_node *rsv = &block_i->rsv_window_node; ext2_init_block_alloc_info()
433 block_i->last_alloc_logical_block = 0; ext2_init_block_alloc_info()
434 block_i->last_alloc_physical_block = 0; ext2_init_block_alloc_info()
436 ei->i_block_alloc_info = block_i; ext2_init_block_alloc_info()
454 struct ext2_block_alloc_info *block_i = ei->i_block_alloc_info; ext2_discard_reservation() local
458 if (!block_i) ext2_discard_reservation()
461 rsv = &block_i->rsv_window_node; ext2_discard_reservation()
1228 struct ext2_block_alloc_info *block_i; ext2_new_blocks() local
1257 block_i = EXT2_I(inode)->i_block_alloc_info; ext2_new_blocks()
1258 if (block_i) { ext2_new_blocks()
1259 windowsz = block_i->rsv_window_node.rsv_goal_size; ext2_new_blocks()
1261 my_rsv = &block_i->rsv_window_node; ext2_new_blocks()
H A Dinode.c329 struct ext2_block_alloc_info *block_i; ext2_find_goal() local
331 block_i = EXT2_I(inode)->i_block_alloc_info; ext2_find_goal()
337 if (block_i && (block == block_i->last_alloc_logical_block + 1) ext2_find_goal()
338 && (block_i->last_alloc_physical_block != 0)) { ext2_find_goal()
339 return block_i->last_alloc_physical_block + 1; ext2_find_goal()
558 struct ext2_block_alloc_info *block_i; ext2_splice_branch() local
561 block_i = EXT2_I(inode)->i_block_alloc_info; ext2_splice_branch()
583 if (block_i) { ext2_splice_branch()
584 block_i->last_alloc_logical_block = block + blks - 1; ext2_splice_branch()
585 block_i->last_alloc_physical_block = ext2_splice_branch()
/linux-4.1.27/fs/ext3/
H A Dballoc.c422 struct ext3_block_alloc_info *block_i; ext3_init_block_alloc_info() local
425 block_i = kmalloc(sizeof(*block_i), GFP_NOFS); ext3_init_block_alloc_info()
426 if (block_i) { ext3_init_block_alloc_info()
427 struct ext3_reserve_window_node *rsv = &block_i->rsv_window_node; ext3_init_block_alloc_info()
442 block_i->last_alloc_logical_block = 0; ext3_init_block_alloc_info()
443 block_i->last_alloc_physical_block = 0; ext3_init_block_alloc_info()
445 ei->i_block_alloc_info = block_i; ext3_init_block_alloc_info()
464 struct ext3_block_alloc_info *block_i = ei->i_block_alloc_info; ext3_discard_reservation() local
468 if (!block_i) ext3_discard_reservation()
471 rsv = &block_i->rsv_window_node; ext3_discard_reservation()
1505 struct ext3_block_alloc_info *block_i; ext3_new_blocks() local
1538 block_i = EXT3_I(inode)->i_block_alloc_info; ext3_new_blocks()
1539 if (block_i && ((windowsz = block_i->rsv_window_node.rsv_goal_size) > 0)) ext3_new_blocks()
1540 my_rsv = &block_i->rsv_window_node; ext3_new_blocks()
H A Dinode.c507 struct ext3_block_alloc_info *block_i; ext3_find_goal() local
509 block_i = EXT3_I(inode)->i_block_alloc_info; ext3_find_goal()
515 if (block_i && (block == block_i->last_alloc_logical_block + 1) ext3_find_goal()
516 && (block_i->last_alloc_physical_block != 0)) { ext3_find_goal()
517 return block_i->last_alloc_physical_block + 1; ext3_find_goal()
752 struct ext3_block_alloc_info *block_i; ext3_splice_branch() local
757 block_i = ei->i_block_alloc_info; ext3_splice_branch()
788 if (block_i) { ext3_splice_branch()
789 block_i->last_alloc_logical_block = block + blks - 1; ext3_splice_branch()
790 block_i->last_alloc_physical_block = ext3_splice_branch()

Completed in 141 milliseconds