Home
last modified time | relevance | path

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

/fs/affs/
Dfile.c509 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local
519 bidx = tmp / bsize; in affs_do_readpage_ofs()
523 bh = affs_bread_ino(inode, bidx, 0); in affs_do_readpage_ofs()
530 bidx++; in affs_do_readpage_ofs()
544 u32 bidx, boff; in affs_extent_file_ofs() local
552 bidx = size / bsize; in affs_extent_file_ofs()
555 bh = affs_bread_ino(inode, bidx, 0); in affs_extent_file_ofs()
565 bidx++; in affs_extent_file_ofs()
566 } else if (bidx) { in affs_extent_file_ofs()
567 bh = affs_bread_ino(inode, bidx - 1, 0); in affs_extent_file_ofs()
[all …]
/fs/f2fs/
Ddir.c79 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()
160 unsigned int bidx, end_block; in find_in_level() local
170 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in find_in_level()
172 end_block = bidx + nblock; in find_in_level()
174 for (; bidx < end_block; bidx++) { in find_in_level()
176 dentry_page = find_data_page(dir, bidx); in find_in_level()
506 unsigned long bidx, block; in f2fs_add_regular_entry() local
[all …]
Dgc.c542 unsigned int bidx; in start_bidx_of_node() local
548 bidx = node_ofs - 1; in start_bidx_of_node()
551 bidx = node_ofs - 2 - dec; in start_bidx_of_node()
554 bidx = node_ofs - 5 - dec; in start_bidx_of_node()
556 return bidx * ADDRS_PER_BLOCK + ADDRS_PER_INODE(inode); in start_bidx_of_node()
596 static void move_data_block(struct inode *inode, block_t bidx, in move_data_block() argument
617 page = f2fs_grab_cache_page(inode->i_mapping, bidx, false); in move_data_block()
628 err = get_dnode_of_data(&dn, bidx, LOOKUP_NODE); in move_data_block()
709 static void move_data_page(struct inode *inode, block_t bidx, int gc_type, in move_data_page() argument
714 page = get_lock_data_page(inode, bidx, true); in move_data_page()
Drecovery.c306 block_t bidx; in check_index_in_prev_nodes() local
361 bidx = start_bidx_of_node(offset, inode) + le16_to_cpu(sum.ofs_in_node); in check_index_in_prev_nodes()
371 if (get_dnode_of_data(&tdn, bidx, LOOKUP_NODE)) in check_index_in_prev_nodes()