Lines Matching refs:bidx
79 unsigned long bidx = 0; in dir_block_index() local
82 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
83 bidx += idx * bucket_blocks(level); in dir_block_index()
84 return bidx; in dir_block_index()
158 unsigned int bidx, end_block; in find_in_level() local
168 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in find_in_level()
170 end_block = bidx + nblock; in find_in_level()
172 for (; bidx < end_block; bidx++) { in find_in_level()
174 dentry_page = f2fs_find_data_page(dir, bidx); in find_in_level()
498 unsigned long bidx, block; in f2fs_add_regular_entry() local
533 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in f2fs_add_regular_entry()
536 for (block = bidx; block <= (bidx + nblock - 1); block++) { in f2fs_add_regular_entry()
748 unsigned long bidx; in f2fs_empty_dir() local
757 for (bidx = 0; bidx < nblock; bidx++) { in f2fs_empty_dir()
758 dentry_page = f2fs_get_lock_data_page(dir, bidx, false); in f2fs_empty_dir()
767 if (bidx == 0) in f2fs_empty_dir()