Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol.c1844 uint8_t stock_pages; in consume_stock() local
1858 stock_pages = READ_ONCE(stock->nr_pages[i]); in consume_stock()
1859 if (stock_pages >= nr_pages) { in consume_stock()
1860 WRITE_ONCE(stock->nr_pages[i], stock_pages - nr_pages); in consume_stock()
1884 uint8_t stock_pages; in drain_stock() local
1889 stock_pages = READ_ONCE(stock->nr_pages[i]); in drain_stock()
1890 if (stock_pages) { in drain_stock()
1891 memcg_uncharge(old, stock_pages); in drain_stock()
1943 uint8_t stock_pages; in refill_stock() local
1973 stock_pages = READ_ONCE(stock->nr_pages[i]) + nr_pages; in refill_stock()
[all …]