Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol.c1735 unsigned int stock_pages; in consume_stock() local
1745 stock_pages = READ_ONCE(stock->nr_pages); in consume_stock()
1746 if (memcg == READ_ONCE(stock->cached) && stock_pages >= nr_pages) { in consume_stock()
1747 WRITE_ONCE(stock->nr_pages, stock_pages - nr_pages); in consume_stock()
1761 unsigned int stock_pages = READ_ONCE(stock->nr_pages); in drain_stock() local
1767 if (stock_pages) { in drain_stock()
1768 page_counter_uncharge(&old->memory, stock_pages); in drain_stock()
1770 page_counter_uncharge(&old->memsw, stock_pages); in drain_stock()
1808 unsigned int stock_pages; in __refill_stock() local
1816 stock_pages = READ_ONCE(stock->nr_pages) + nr_pages; in __refill_stock()
[all …]