Lines Matching refs:block_off
895 pgoff_t block_off; in get_nat_entry() local
905 block_off = nid / NAT_ENTRY_PER_BLOCK; in get_nat_entry()
908 seg_off = block_off >> sbi->log_blocks_per_seg; in get_nat_entry()
911 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in get_nat_entry()
913 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in get_nat_entry()
1116 pgoff_t block_off; in nullify_nat_entry() local
1133 block_off = nid / NAT_ENTRY_PER_BLOCK; in nullify_nat_entry()
1136 seg_off = block_off >> sbi->log_blocks_per_seg; in nullify_nat_entry()
1139 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in nullify_nat_entry()
1141 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in nullify_nat_entry()
1162 pgoff_t block_off; in build_nat_area_bitmap() local
1180 for (block_off = 0; block_off < nr_nat_blks; block_off++) { in build_nat_area_bitmap()
1182 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()
1185 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()
1187 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in build_nat_area_bitmap()
1193 nid = block_off * NAT_ENTRY_PER_BLOCK; in build_nat_area_bitmap()