Lines Matching refs:nat_blocks
2232 for (i = 0; i < nm_i->nat_blocks; i++) { in scan_free_nid_bits()
2870 unsigned int nat_bits_bytes = nm_i->nat_blocks / BITS_PER_BYTE; in __get_nat_bitmaps()
2922 for (i = 0; i < nm_i->nat_blocks; i++) { in load_free_nid_bitmap()
2923 i = find_next_bit_le(nm_i->empty_nat_bits, nm_i->nat_blocks, i); in load_free_nid_bitmap()
2924 if (i >= nm_i->nat_blocks) in load_free_nid_bitmap()
2938 for (i = 0; i < nm_i->nat_blocks; i++) { in load_free_nid_bitmap()
2939 i = find_next_bit_le(nm_i->full_nat_bits, nm_i->nat_blocks, i); in load_free_nid_bitmap()
2940 if (i >= nm_i->nat_blocks) in load_free_nid_bitmap()
2959 nm_i->nat_blocks = nat_segs << le32_to_cpu(sb_raw->log_blocks_per_seg); in init_node_manager()
2960 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()
3015 nm_i->nat_blocks), in init_free_nid_cache()
3020 for (i = 0; i < nm_i->nat_blocks; i++) { in init_free_nid_cache()
3027 nm_i->nat_block_bitmap = f2fs_kvzalloc(sbi, nm_i->nat_blocks / 8, in init_free_nid_cache()
3034 nm_i->nat_blocks), in init_free_nid_cache()
3126 for (i = 0; i < nm_i->nat_blocks; i++) in f2fs_destroy_node_manager()