Home
last modified time | relevance | path

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

/fs/ext4/
Dballoc.c884 ext4_fsblk_t bg_start; in ext4_inode_to_goal_block() local
901 bg_start = ext4_group_first_block_no(inode->i_sb, block_group); in ext4_inode_to_goal_block()
909 return bg_start; in ext4_inode_to_goal_block()
911 if (bg_start + EXT4_BLOCKS_PER_GROUP(inode->i_sb) <= last_block) in ext4_inode_to_goal_block()
915 colour = (current->pid % 16) * ((last_block - bg_start) / 16); in ext4_inode_to_goal_block()
916 return bg_start + colour; in ext4_inode_to_goal_block()
/fs/ext2/
Dinode.c296 ext2_fsblk_t bg_start; in ext2_find_near() local
312 bg_start = ext2_group_first_block_no(inode->i_sb, ei->i_block_group); in ext2_find_near()
315 return bg_start + colour; in ext2_find_near()