Home
last modified time | relevance | path

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

/fs/f2fs/
Dnode.c68 mem_size = (nm_i->nat_cnt[TOTAL_NAT] * in f2fs_available_free_memory()
205 nm_i->nat_cnt[TOTAL_NAT]++; in __init_nat_entry()
206 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __init_nat_entry()
236 nm_i->nat_cnt[TOTAL_NAT]--; in __del_from_nat_cache()
237 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __del_from_nat_cache()
283 nm_i->nat_cnt[DIRTY_NAT]++; in __set_nat_cache_dirty()
284 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __set_nat_cache_dirty()
304 nm_i->nat_cnt[DIRTY_NAT]--; in __clear_nat_cache_dirty()
305 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __clear_nat_cache_dirty()
3040 if (!nm_i->nat_cnt[DIRTY_NAT]) in f2fs_flush_nat_entries()
[all …]
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.c172 si->nats = NM_I(sbi)->nat_cnt[TOTAL_NAT]; in update_general_status()
173 si->dirty_nats = NM_I(sbi)->nat_cnt[DIRTY_NAT]; in update_general_status()
306 si->cache_mem += NM_I(sbi)->nat_cnt[TOTAL_NAT] * in update_mem_info()
308 si->cache_mem += NM_I(sbi)->nat_cnt[DIRTY_NAT] * in update_mem_info()
Dshrinker.c21 return NM_I(sbi)->nat_cnt[RECLAIMABLE_NAT]; in __count_nat_entries()
Dcheckpoint.c1650 if (NM_I(sbi)->nat_cnt[DIRTY_NAT] == 0 && in f2fs_write_checkpoint()
Df2fs.h908 unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */ member