Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol.c3403 unsigned int stock_nr_bytes; in __refill_obj_stock() local
3442 stock_nr_bytes = atomic_read(&objcg->nr_charged_bytes) in __refill_obj_stock()
3448 stock_nr_bytes = stock->nr_bytes[slot]; in __refill_obj_stock()
3451 stock_nr_bytes += nr_bytes; in __refill_obj_stock()
3453 if ((allow_uncharge && (stock_nr_bytes > PAGE_SIZE)) || in __refill_obj_stock()
3454 stock_nr_bytes > U16_MAX) { in __refill_obj_stock()
3455 nr_pages = stock_nr_bytes >> PAGE_SHIFT; in __refill_obj_stock()
3456 stock_nr_bytes &= (PAGE_SIZE - 1); in __refill_obj_stock()
3458 stock->nr_bytes[slot] = stock_nr_bytes; in __refill_obj_stock()