Lines Matching refs:nat_blocks
1618 uint32_t nat_blocks = get_sb(segment_count_nat) <<
1620 uint32_t nat_bits_bytes = nat_blocks >> 3;
1641 for (i = 0; i < nat_blocks; i++) {
1650 * Should consider new nat_blocks is larger than old
1651 * nm_i->nat_blocks, since nm_i->nat_bitmap is based on
1654 if (i < nm_i->nat_blocks && f2fs_test_bit(i, nm_i->nat_bitmap))
1691 uint32_t nat_blocks = get_sb(segment_count_nat) <<
1693 uint32_t nat_bits_bytes = nat_blocks >> 3;
1728 for (i = 0; i < nat_blocks; i++) {
1778 nm_i->nat_blocks = nat_segs << get_sb(log_blocks_per_seg);
1779 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks;