Searched refs:pcp (Results 1 – 2 of 2) sorted by relevance
319 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __mod_zone_page_state() local320 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()326 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()339 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __mod_node_page_state() local340 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __mod_node_page_state()346 t = __this_cpu_read(pcp->stat_threshold); in __mod_node_page_state()381 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __inc_zone_state() local382 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()386 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()397 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __inc_node_state() local[all …]
1262 struct per_cpu_pages *pcp) in free_pcppages_bulk() argument1285 list = &pcp->lists[migratetype]; in free_pcppages_bulk()1296 pcp->count--; in free_pcppages_bulk()1312 if (prefetch_nr++ < pcp->batch) in free_pcppages_bulk()2799 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) in drain_zone_pages() argument2805 batch = READ_ONCE(pcp->batch); in drain_zone_pages()2806 to_drain = min(pcp->count, batch); in drain_zone_pages()2808 free_pcppages_bulk(zone, to_drain, pcp); in drain_zone_pages()2824 struct per_cpu_pages *pcp; in drain_pages_zone() local2829 pcp = &pset->pcp; in drain_pages_zone()[all …]