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()
161 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()
69 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 …]
1645 if (NM_I(sbi)->nat_cnt[DIRTY_NAT] == 0 && in f2fs_write_checkpoint()
896 unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */ member