Home
last modified time | relevance | path

Searched refs:inactive_file (Results 1 - 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
H A Dlos_vm_scan.c249 LOS_DL_LIST *inactive_file = &physSeg->lruList[VM_LRU_INACTIVE_FILE]; in OsShrinkInactiveList() local
251 LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(fpage, fnext, inactive_file, LosFilePage, lru) { in OsShrinkInactiveList()
/kernel/linux/linux-5.10/mm/
H A Dzswapd.c181 unsigned long inactive_file; in calc_sys_cur_avail_buffers() local
186 inactive_file = global_node_page_state(NR_INACTIVE_FILE) * PAGE_SIZE / SZ_1K; in calc_sys_cur_avail_buffers()
188 buffers = freemem + inactive_file * get_inactive_file_ratio() / percent_constant + in calc_sys_cur_avail_buffers()
/kernel/linux/linux-6.6/mm/
H A Dzswapd.c182 unsigned long inactive_file; in calc_sys_cur_avail_buffers() local
187 inactive_file = global_node_page_state(NR_INACTIVE_FILE) * PAGE_SIZE / SZ_1K; in calc_sys_cur_avail_buffers()
189 buffers = freemem + inactive_file * get_inactive_file_ratio() / percent_constant + in calc_sys_cur_avail_buffers()

Completed in 4 milliseconds