Lines Matching refs:nid_cnt
66 mem_size = (nm_i->nid_cnt[FREE_NID] * in f2fs_available_free_memory()
2199 nm_i->nid_cnt[FREE_NID]++; in __insert_free_nid()
2210 nm_i->nid_cnt[state]--; in __remove_free_nid()
2223 nm_i->nid_cnt[org_state]--; in __move_free_nid()
2224 nm_i->nid_cnt[dst_state]++; in __move_free_nid()
2450 if (nm_i->nid_cnt[FREE_NID] >= MAX_FREE_NIDS) in scan_free_nid_bits()
2474 if (nm_i->nid_cnt[FREE_NID] >= NAT_ENTRY_PER_BLOCK) in __f2fs_build_free_nids()
2484 if (nm_i->nid_cnt[FREE_NID] >= NAT_ENTRY_PER_BLOCK) in __f2fs_build_free_nids()
2574 if (nm_i->nid_cnt[FREE_NID] && !on_f2fs_build_free_nids(nm_i)) { in f2fs_alloc_nid()
2651 if (nm_i->nid_cnt[FREE_NID] <= MAX_FREE_NIDS) in f2fs_try_to_free_nids()
2657 while (nr_shrink && nm_i->nid_cnt[FREE_NID] > MAX_FREE_NIDS) { in f2fs_try_to_free_nids()
2664 nm_i->nid_cnt[FREE_NID] <= MAX_FREE_NIDS) in f2fs_try_to_free_nids()
3239 nm_i->nid_cnt[FREE_NID] = 0; in init_node_manager()
3240 nm_i->nid_cnt[PREALLOC_NID] = 0; in init_node_manager()
3356 f2fs_bug_on(sbi, nm_i->nid_cnt[FREE_NID]); in f2fs_destroy_node_manager()
3357 f2fs_bug_on(sbi, nm_i->nid_cnt[PREALLOC_NID]); in f2fs_destroy_node_manager()