Searched refs:block_off (Results 1 – 2 of 2) sorted by relevance
284 pgoff_t block_off; in shrink_nats() local298 block_off = nid / NAT_ENTRY_PER_BLOCK; in shrink_nats()299 seg_off = block_off >> sbi->log_blocks_per_seg; in shrink_nats()302 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in shrink_nats()304 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in shrink_nats()333 pgoff_t block_off; in migrate_nat() local341 block_off = nid / NAT_ENTRY_PER_BLOCK; in migrate_nat()342 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()345 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in migrate_nat()348 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) { in migrate_nat()[all …]
1355 pgoff_t block_off; in current_nat_addr() local1359 block_off = NAT_BLOCK_OFFSET(start); in current_nat_addr()1360 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()1364 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()1368 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) { in current_nat_addr()3085 pgoff_t block_off; in build_nat_area_bitmap() local3107 for (block_off = 0; block_off < nr_nat_blks; block_off++) { in build_nat_area_bitmap()3109 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()3112 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()3114 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in build_nat_area_bitmap()[all …]