Home
last modified time | relevance | path

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

/external/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.c1006 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()
[all …]
/external/u-boot/drivers/mtd/nand/
Dnand_util.c415 size_t block_len, block_off; in check_skip_len() local
422 block_off = offset & (mtd->erasesize - 1); in check_skip_len()
423 block_len = mtd->erasesize - block_off; in check_skip_len()