Lines Matching refs:block_off
1006 pgoff_t block_off; in current_nat_addr() local
1010 block_off = NAT_BLOCK_OFFSET(start); in current_nat_addr()
1011 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()
1015 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()
1019 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) { in current_nat_addr()
2429 pgoff_t block_off; in build_nat_area_bitmap() local
2451 for (block_off = 0; block_off < nr_nat_blks; block_off++) { in build_nat_area_bitmap()
2453 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()
2456 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()
2458 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in build_nat_area_bitmap()
2464 nid = block_off * NAT_ENTRY_PER_BLOCK; in build_nat_area_bitmap()