Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol.c2056 uint8_t stock_pages; in consume_stock() local
2070 stock_pages = READ_ONCE(stock->nr_pages[i]); in consume_stock()
2071 if (stock_pages >= nr_pages) { in consume_stock()
2072 WRITE_ONCE(stock->nr_pages[i], stock_pages - nr_pages); in consume_stock()
2096 uint8_t stock_pages; in drain_stock() local
2101 stock_pages = READ_ONCE(stock->nr_pages[i]); in drain_stock()
2102 if (stock_pages) { in drain_stock()
2103 memcg_uncharge(old, stock_pages); in drain_stock()
2155 uint8_t stock_pages; in refill_stock() local
2185 stock_pages = READ_ONCE(stock->nr_pages[i]) + nr_pages; in refill_stock()
[all …]