Lines Matching refs:pcp

345 	struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats;  in __mod_zone_page_state()  local
346 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()
361 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
376 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __mod_node_page_state() local
377 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __mod_node_page_state()
397 t = __this_cpu_read(pcp->stat_threshold); in __mod_node_page_state()
434 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __inc_zone_state() local
435 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
442 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
455 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __inc_node_state() local
456 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __inc_node_state()
465 t = __this_cpu_read(pcp->stat_threshold); in __inc_node_state()
490 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __dec_zone_state() local
491 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
498 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
511 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __dec_node_state() local
512 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __dec_node_state()
521 t = __this_cpu_read(pcp->stat_threshold); in __dec_node_state()
560 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in mod_zone_state() local
561 s8 __percpu *p = pcp->vm_stat_diff + item; in mod_zone_state()
577 t = this_cpu_read(pcp->stat_threshold); in mod_zone_state()
617 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in mod_node_state() local
618 s8 __percpu *p = pcp->vm_node_stat_diff + item; in mod_node_state()
645 t = this_cpu_read(pcp->stat_threshold); in mod_node_state()
818 struct per_cpu_pages __percpu *pcp = zone->per_cpu_pageset; in refresh_cpu_vm_stats() local
831 __this_cpu_write(pcp->expire, 3); in refresh_cpu_vm_stats()
846 if (!__this_cpu_read(pcp->expire) || in refresh_cpu_vm_stats()
847 !__this_cpu_read(pcp->count)) in refresh_cpu_vm_stats()
854 __this_cpu_write(pcp->expire, 0); in refresh_cpu_vm_stats()
858 if (__this_cpu_dec_return(pcp->expire)) in refresh_cpu_vm_stats()
861 if (__this_cpu_read(pcp->count)) { in refresh_cpu_vm_stats()
862 drain_zone_pages(zone, this_cpu_ptr(pcp)); in refresh_cpu_vm_stats()
1733 struct per_cpu_pages *pcp; in zoneinfo_show_print() local
1736 pcp = per_cpu_ptr(zone->per_cpu_pageset, i); in zoneinfo_show_print()
1743 pcp->count, in zoneinfo_show_print()
1744 pcp->high, in zoneinfo_show_print()
1745 pcp->batch); in zoneinfo_show_print()