Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dshrinker.c21 return NM_I(sbi)->nat_cnt[RECLAIMABLE_NAT]; in __count_nat_entries()
Dnode.h135 return NM_I(sbi)->nat_cnt[DIRTY_NAT] >= NM_I(sbi)->max_nid * in excess_dirty_nats()
141 return NM_I(sbi)->nat_cnt[TOTAL_NAT] >= DEF_NAT_CACHE_THRESHOLD; in excess_cached_nats()
Ddebug.c159 si->nats = NM_I(sbi)->nat_cnt[TOTAL_NAT]; in update_general_status()
160 si->dirty_nats = NM_I(sbi)->nat_cnt[DIRTY_NAT]; in update_general_status()
291 si->cache_mem += NM_I(sbi)->nat_cnt[TOTAL_NAT] * in update_mem_info()
293 si->cache_mem += NM_I(sbi)->nat_cnt[DIRTY_NAT] * in update_mem_info()
Dnode.c70 mem_size = (nm_i->nat_cnt[TOTAL_NAT] * in f2fs_available_free_memory()
198 nm_i->nat_cnt[TOTAL_NAT]++; in __init_nat_entry()
199 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __init_nat_entry()
229 nm_i->nat_cnt[TOTAL_NAT]--; in __del_from_nat_cache()
230 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __del_from_nat_cache()
277 nm_i->nat_cnt[DIRTY_NAT]++; in __set_nat_cache_dirty()
278 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __set_nat_cache_dirty()
298 nm_i->nat_cnt[DIRTY_NAT]--; in __clear_nat_cache_dirty()
299 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __clear_nat_cache_dirty()
3082 if (!nm_i->nat_cnt[DIRTY_NAT]) in f2fs_flush_nat_entries()
[all …]
Dcheckpoint.c1665 if (NM_I(sbi)->nat_cnt[DIRTY_NAT] == 0 && in f2fs_write_checkpoint()
Df2fs.h940 unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */ member