Home
last modified time | relevance | path

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

/mm/
Dvmstat.c224 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __mod_zone_page_state() local
225 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()
231 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
266 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __inc_zone_state() local
267 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
271 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
288 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __dec_zone_state() local
289 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
293 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
324 struct per_cpu_pageset __percpu *pcp = zone->pageset; in mod_state() local
[all …]
Dpage_alloc.c846 struct per_cpu_pages *pcp) in free_pcppages_bulk() argument
861 count = min(pcp->count, count); in free_pcppages_bulk()
877 list = &pcp->lists[migratetype]; in free_pcppages_bulk()
1941 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) in drain_zone_pages() argument
1947 batch = READ_ONCE(pcp->batch); in drain_zone_pages()
1948 to_drain = min(pcp->count, batch); in drain_zone_pages()
1950 free_pcppages_bulk(zone, to_drain, pcp); in drain_zone_pages()
1951 pcp->count -= to_drain; in drain_zone_pages()
1968 struct per_cpu_pages *pcp; in drain_pages_zone() local
1973 pcp = &pset->pcp; in drain_pages_zone()
[all …]