Home
last modified time | relevance | path

Searched refs:nat_cnt (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/fs/f2fs/
Dshrinker.c21 return NM_I(sbi)->nat_cnt[RECLAIMABLE_NAT]; in __count_nat_entries()
Dnode.h132 return NM_I(sbi)->nat_cnt[DIRTY_NAT] >= NM_I(sbi)->max_nid * in excess_dirty_nats()
138 return NM_I(sbi)->nat_cnt[TOTAL_NAT] >= DEF_NAT_CACHE_THRESHOLD; in excess_cached_nats()
Ddebug.c161 si->nats = NM_I(sbi)->nat_cnt[TOTAL_NAT]; in update_general_status()
162 si->dirty_nats = NM_I(sbi)->nat_cnt[DIRTY_NAT]; in update_general_status()
295 si->cache_mem += NM_I(sbi)->nat_cnt[TOTAL_NAT] * in update_mem_info()
297 si->cache_mem += NM_I(sbi)->nat_cnt[DIRTY_NAT] * in update_mem_info()
Dnode.c69 mem_size = (nm_i->nat_cnt[TOTAL_NAT] * in f2fs_available_free_memory()
201 nm_i->nat_cnt[TOTAL_NAT]++; in __init_nat_entry()
202 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __init_nat_entry()
232 nm_i->nat_cnt[TOTAL_NAT]--; in __del_from_nat_cache()
233 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __del_from_nat_cache()
280 nm_i->nat_cnt[DIRTY_NAT]++; in __set_nat_cache_dirty()
281 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __set_nat_cache_dirty()
301 nm_i->nat_cnt[DIRTY_NAT]--; in __clear_nat_cache_dirty()
302 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __clear_nat_cache_dirty()
3073 if (!nm_i->nat_cnt[DIRTY_NAT]) in f2fs_flush_nat_entries()
[all …]
Dcheckpoint.c1645 if (NM_I(sbi)->nat_cnt[DIRTY_NAT] == 0 && in f2fs_write_checkpoint()
Df2fs.h896 unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */ member