Lines Matching refs:cache_mem
286 si->cache_mem = 0; in update_mem_info()
290 si->cache_mem += sizeof(struct f2fs_gc_kthread); in update_mem_info()
294 si->cache_mem += sizeof(struct flush_cmd_control); in update_mem_info()
296 si->cache_mem += sizeof(struct discard_cmd_control); in update_mem_info()
297 si->cache_mem += sizeof(struct discard_cmd) * in update_mem_info()
302 si->cache_mem += (NM_I(sbi)->nid_cnt[FREE_NID] + in update_mem_info()
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()
310 si->cache_mem += sbi->im[i].ino_num * sizeof(struct ino_entry); in update_mem_info()
319 si->cache_mem += si->ext_mem[i]; in update_mem_info()
646 (si->base_mem + si->cache_mem + si->page_mem) >> 10); in stat_show()
650 si->cache_mem >> 10); in stat_show()