Searched refs:nat_blocks (Results 1 – 3 of 3) sorted by relevance
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()[all …]
218 si->base_mem += NM_I(sbi)->nat_blocks * in update_mem_info()220 si->base_mem += NM_I(sbi)->nat_blocks / 8; in update_mem_info()221 si->base_mem += NM_I(sbi)->nat_blocks * sizeof(unsigned short); in update_mem_info()
793 unsigned int nat_blocks; /* # of nat blocks */ member