Lines Matching refs:nat_blocks
2232 for (i = 0; i < nm_i->nat_blocks; i++) { in f2fs_nat_bitmap_enabled()
2423 for (i = 0; i < nm_i->nat_blocks; i++) { in scan_free_nid_bits()
2961 for (nat_ofs = 0; nat_ofs < nm_i->nat_blocks; nat_ofs++) { in f2fs_enable_nat_bits()
3124 unsigned int nat_bits_bytes = nm_i->nat_blocks / BITS_PER_BYTE; in __get_nat_bitmaps()
3176 for (i = 0; i < nm_i->nat_blocks; i++) { in load_free_nid_bitmap()
3177 i = find_next_bit_le(nm_i->empty_nat_bits, nm_i->nat_blocks, i); in load_free_nid_bitmap()
3178 if (i >= nm_i->nat_blocks) in load_free_nid_bitmap()
3192 for (i = 0; i < nm_i->nat_blocks; i++) { in load_free_nid_bitmap()
3193 i = find_next_bit_le(nm_i->full_nat_bits, nm_i->nat_blocks, i); in load_free_nid_bitmap()
3194 if (i >= nm_i->nat_blocks) in load_free_nid_bitmap()
3213 nm_i->nat_blocks = nat_segs << le32_to_cpu(sb_raw->log_blocks_per_seg); in init_node_manager()
3214 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()
3266 nm_i->nat_blocks), in init_free_nid_cache()
3271 for (i = 0; i < nm_i->nat_blocks; i++) { in init_free_nid_cache()
3278 nm_i->nat_block_bitmap = f2fs_kvzalloc(sbi, nm_i->nat_blocks / 8, in init_free_nid_cache()
3285 nm_i->nat_blocks), in init_free_nid_cache()
3377 for (i = 0; i < nm_i->nat_blocks; i++) in f2fs_destroy_node_manager()