Searched refs:block_off (Results 1 – 5 of 5) sorted by relevance
253 pgoff_t block_off; in shrink_nats() local267 block_off = nid / NAT_ENTRY_PER_BLOCK; in shrink_nats()268 seg_off = block_off >> sbi->log_blocks_per_seg; in shrink_nats()271 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in shrink_nats()273 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in shrink_nats()302 pgoff_t block_off; in migrate_nat() local310 block_off = nid / NAT_ENTRY_PER_BLOCK; in migrate_nat()311 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()314 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in migrate_nat()316 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in migrate_nat()[all …]
40 pgoff_t block_off; in nat_dump() local57 for (block_off = 0; block_off < nr_nat_blks; pack = 1, block_off++) { in nat_dump()59 seg_off = block_off >> sbi->log_blocks_per_seg; in nat_dump()62 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in nat_dump()64 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) { in nat_dump()72 nid = block_off * NAT_ENTRY_PER_BLOCK; in nat_dump()
883 pgoff_t block_off; in current_nat_addr() local887 block_off = NAT_BLOCK_OFFSET(start); in current_nat_addr()888 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()892 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()894 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in current_nat_addr()2151 pgoff_t block_off; in build_nat_area_bitmap() local2173 for (block_off = 0; block_off < nr_nat_blks; block_off++) { in build_nat_area_bitmap()2175 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()2178 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()2180 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in build_nat_area_bitmap()[all …]
128 uint32_t block_num, block_off; in ext2_get_inode() local139 block_off = inode_offset % EXT2_INODES_PER_BLOCK(fs); in ext2_get_inode()144 (data + block_off * EXT2_SB(fs)->s_inode_size); in ext2_get_inode()
156 uint32_t block_num, block_off; in ufs_get_inode() local184 block_off = inode_offset % UFS_SB(fs)->inodes_per_block; in ufs_get_inode()191 return data + block_off * UFS_SB(fs)->inode_size; in ufs_get_inode()