Lines Matching refs:block_off
253 pgoff_t block_off; in shrink_nats() local
267 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() local
310 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()
324 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in migrate_nat()
343 block_off = nid / NAT_ENTRY_PER_BLOCK; in migrate_nat()
344 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()
347 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in migrate_nat()