Home
last modified time | relevance | path

Searched refs:high_buffers (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dzswapd_control.c144 unsigned int high_buffers; in avail_buffers_params_write() local
150 if (sscanf(buf, "%u %u %u %llu", &buffers, &min_buffers, &high_buffers, &threshold) != 4) in avail_buffers_params_write()
154 CHECK_BUFFER_VALID(min_buffers, high_buffers) || in avail_buffers_params_write()
155 CHECK_BUFFER_VALID(buffers, high_buffers)) in avail_buffers_params_write()
160 atomic_set(&high_avail_buffers, high_buffers); in avail_buffers_params_write()
Dzswapd.c644 unsigned int high_buffers; in __calc_nr_to_reclaim() local
648 high_buffers = get_high_avail_buffers(); in __calc_nr_to_reclaim()
651 if (buffers < high_buffers) in __calc_nr_to_reclaim()
652 reclaim_size = high_buffers - buffers; in __calc_nr_to_reclaim()