Searched refs:bidx (Results 1 – 4 of 4) sorted by relevance
/fs/affs/ |
D | file.c | 526 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local 536 bidx = tmp / bsize; in affs_do_readpage_ofs() 540 bh = affs_bread_ino(inode, bidx, 0); in affs_do_readpage_ofs() 547 bidx++; in affs_do_readpage_ofs() 561 u32 bidx, boff; in affs_extent_file_ofs() local 569 bidx = size / bsize; in affs_extent_file_ofs() 572 bh = affs_bread_ino(inode, bidx, 0); in affs_extent_file_ofs() 582 bidx++; in affs_extent_file_ofs() 583 } else if (bidx) { in affs_extent_file_ofs() 584 bh = affs_bread_ino(inode, bidx - 1, 0); in affs_extent_file_ofs() [all …]
|
/fs/f2fs/ |
D | dir.c | 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 = find_data_page(dir, bidx); in find_in_level() 500 unsigned long bidx, block; in f2fs_add_regular_entry() local [all …]
|
D | gc.c | 551 unsigned int bidx; in start_bidx_of_node() local 557 bidx = node_ofs - 1; in start_bidx_of_node() 560 bidx = node_ofs - 2 - dec; in start_bidx_of_node() 563 bidx = node_ofs - 5 - dec; in start_bidx_of_node() 565 return bidx * ADDRS_PER_BLOCK + ADDRS_PER_INODE(inode); in start_bidx_of_node() 605 static void move_data_block(struct inode *inode, block_t bidx, in move_data_block() argument 626 page = f2fs_grab_cache_page(inode->i_mapping, bidx, false); in move_data_block() 642 err = get_dnode_of_data(&dn, bidx, LOOKUP_NODE); in move_data_block() 729 static void move_data_page(struct inode *inode, block_t bidx, int gc_type, in move_data_page() argument 734 page = get_lock_data_page(inode, bidx, true); in move_data_page()
|
D | recovery.c | 342 block_t bidx; in check_index_in_prev_nodes() local 403 bidx = start_bidx_of_node(offset, inode) + le16_to_cpu(sum.ofs_in_node); in check_index_in_prev_nodes() 413 if (get_dnode_of_data(&tdn, bidx, LOOKUP_NODE)) in check_index_in_prev_nodes()
|