Home
last modified time | relevance | path

Searched refs:nid_cnt (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dnode.c66 mem_size = (nm_i->nid_cnt[FREE_NID] * in f2fs_available_free_memory()
2222 nm_i->nid_cnt[FREE_NID]++; in __insert_free_nid()
2233 nm_i->nid_cnt[state]--; in __remove_free_nid()
2246 nm_i->nid_cnt[org_state]--; in __move_free_nid()
2247 nm_i->nid_cnt[dst_state]++; in __move_free_nid()
2473 if (nm_i->nid_cnt[FREE_NID] >= MAX_FREE_NIDS) in scan_free_nid_bits()
2497 if (nm_i->nid_cnt[FREE_NID] >= NAT_ENTRY_PER_BLOCK) in __f2fs_build_free_nids()
2507 if (nm_i->nid_cnt[FREE_NID] >= NAT_ENTRY_PER_BLOCK) in __f2fs_build_free_nids()
2597 if (nm_i->nid_cnt[FREE_NID] && !on_f2fs_build_free_nids(nm_i)) { in f2fs_alloc_nid()
2674 if (nm_i->nid_cnt[FREE_NID] <= MAX_FREE_NIDS) in f2fs_try_to_free_nids()
[all …]
H A Dshrinker.c26 long count = NM_I(sbi)->nid_cnt[FREE_NID] - MAX_FREE_NIDS; in __count_free_nids()
H A Ddebug.c174 si->free_nids = NM_I(sbi)->nid_cnt[FREE_NID]; in update_general_status()
176 si->alloc_nids = NM_I(sbi)->nid_cnt[PREALLOC_NID]; in update_general_status()
302 si->cache_mem += (NM_I(sbi)->nid_cnt[FREE_NID] + in update_mem_info()
303 NM_I(sbi)->nid_cnt[PREALLOC_NID]) * in update_mem_info()
H A Dnode.h172 if (nm_i->nid_cnt[FREE_NID] <= 0) { in next_free_nid()
H A Df2fs.h942 unsigned int nid_cnt[MAX_NID_STATE]; /* the number of free node id */ member