Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dresize.c281 unsigned int nat_blocks; in shrink_nats() local
293 nat_blocks = get_newsb(segment_count_nat) >> 1; in shrink_nats()
294 nat_blocks = nat_blocks << get_sb(log_blocks_per_seg); in shrink_nats()
295 new_max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in shrink_nats()
330 unsigned int nat_blocks; in migrate_nat() local
366 nat_blocks = get_newsb(segment_count_nat) >> 1; in migrate_nat()
367 nat_blocks = nat_blocks << get_sb(log_blocks_per_seg); in migrate_nat()
368 new_max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in migrate_nat()
Dmount.c1488 u_int32_t nat_blocks = get_sb(segment_count_nat) << in write_nat_bits() local
1490 u_int32_t nat_bits_bytes = nat_blocks >> 3; in write_nat_bits()
1511 for (i = 0; i < nat_blocks; i++) { in write_nat_bits()
1524 if (i < nm_i->nat_blocks && f2fs_test_bit(i, nm_i->nat_bitmap)) in write_nat_bits()
1561 u_int32_t nat_blocks = get_sb(segment_count_nat) << in check_nat_bits() local
1563 u_int32_t nat_bits_bytes = nat_blocks >> 3; in check_nat_bits()
1598 for (i = 0; i < nat_blocks; i++) { in check_nat_bits()
1648 nm_i->nat_blocks = nat_segs << get_sb(log_blocks_per_seg); in init_node_manager()
1649 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()
Df2fs.h125 block_t nat_blocks; member