Searched refs:nat_cnt (Results 1 – 6 of 6) sorted by relevance
21 return NM_I(sbi)->nat_cnt[RECLAIMABLE_NAT]; in __count_nat_entries()
132 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()
70 mem_size = (nm_i->nat_cnt[TOTAL_NAT] * in f2fs_available_free_memory()202 nm_i->nat_cnt[TOTAL_NAT]++; in __init_nat_entry()203 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __init_nat_entry()233 nm_i->nat_cnt[TOTAL_NAT]--; in __del_from_nat_cache()234 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __del_from_nat_cache()281 nm_i->nat_cnt[DIRTY_NAT]++; in __set_nat_cache_dirty()282 nm_i->nat_cnt[RECLAIMABLE_NAT]--; in __set_nat_cache_dirty()302 nm_i->nat_cnt[DIRTY_NAT]--; in __clear_nat_cache_dirty()303 nm_i->nat_cnt[RECLAIMABLE_NAT]++; in __clear_nat_cache_dirty()3102 if (!nm_i->nat_cnt[DIRTY_NAT]) in f2fs_flush_nat_entries()[all …]
170 si->nats = NM_I(sbi)->nat_cnt[TOTAL_NAT]; in update_general_status()171 si->dirty_nats = NM_I(sbi)->nat_cnt[DIRTY_NAT]; in update_general_status()305 si->cache_mem += NM_I(sbi)->nat_cnt[TOTAL_NAT] * in update_mem_info()307 si->cache_mem += NM_I(sbi)->nat_cnt[DIRTY_NAT] * in update_mem_info()
1663 if (NM_I(sbi)->nat_cnt[DIRTY_NAT] == 0 && in f2fs_write_checkpoint()
928 unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */ member