Lines Matching refs:bidx
183 unsigned long bidx = 0; in dir_block_index() local
186 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
187 bidx += idx * bucket_blocks(level); in dir_block_index()
188 return bidx; in dir_block_index()
302 unsigned int bidx, end_block; in find_in_level() local
311 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in find_in_level()
313 end_block = bidx + nblock; in find_in_level()
315 for (; bidx < end_block; bidx++) { in find_in_level()
317 dentry_page = f2fs_find_data_page(dir, bidx); in find_in_level()
654 unsigned long bidx, block; in f2fs_add_regular_entry() local
687 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in f2fs_add_regular_entry()
690 for (block = bidx; block <= (bidx + nblock - 1); block++) { in f2fs_add_regular_entry()
896 unsigned long bidx; in f2fs_empty_dir() local
905 for (bidx = 0; bidx < nblock; bidx++) { in f2fs_empty_dir()
906 dentry_page = f2fs_get_lock_data_page(dir, bidx, false); in f2fs_empty_dir()
915 if (bidx == 0) in f2fs_empty_dir()