Home
last modified time | relevance | path

Searched refs:block_off (Results 1 – 2 of 2) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c284 pgoff_t block_off; in shrink_nats() local
298 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() local
341 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 …]
Dmount.c1340 pgoff_t block_off; in current_nat_addr() local
1344 block_off = NAT_BLOCK_OFFSET(start); in current_nat_addr()
1345 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()
1349 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()
1353 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) { in current_nat_addr()
3058 pgoff_t block_off; in build_nat_area_bitmap() local
3080 for (block_off = 0; block_off < nr_nat_blks; block_off++) { in build_nat_area_bitmap()
3082 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()
3085 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()
3087 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in build_nat_area_bitmap()
[all …]