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()
362 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
378 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __mod_node_page_state() local
379 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __mod_node_page_state()
400 t = __this_cpu_read(pcp->stat_threshold); in __mod_node_page_state()
438 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __inc_zone_state() local
439 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
447 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
461 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __inc_node_state() local
462 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __inc_node_state()
472 t = __this_cpu_read(pcp->stat_threshold); in __inc_node_state()
498 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __dec_zone_state() local
499 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
507 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
521 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __dec_node_state() local
522 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __dec_node_state()
532 t = __this_cpu_read(pcp->stat_threshold); in __dec_node_state()
572 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in mod_zone_state() local
573 s8 __percpu *p = pcp->vm_stat_diff + item; in mod_zone_state()
589 t = this_cpu_read(pcp->stat_threshold); in mod_zone_state()
629 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in mod_node_state() local
630 s8 __percpu *p = pcp->vm_node_stat_diff + item; in mod_node_state()
657 t = this_cpu_read(pcp->stat_threshold); in mod_node_state()
830 struct per_cpu_pages __percpu *pcp = zone->per_cpu_pageset; in refresh_cpu_vm_stats() local
843 __this_cpu_write(pcp->expire, 3); in refresh_cpu_vm_stats()
858 if (!__this_cpu_read(pcp->expire) || in refresh_cpu_vm_stats()
859 !__this_cpu_read(pcp->count)) in refresh_cpu_vm_stats()
866 __this_cpu_write(pcp->expire, 0); in refresh_cpu_vm_stats()
870 if (__this_cpu_dec_return(pcp->expire)) in refresh_cpu_vm_stats()
873 if (__this_cpu_read(pcp->count)) { in refresh_cpu_vm_stats()
874 drain_zone_pages(zone, this_cpu_ptr(pcp)); in refresh_cpu_vm_stats()
1712 struct per_cpu_pages *pcp; in zoneinfo_show_print() local
1715 pcp = per_cpu_ptr(zone->per_cpu_pageset, i); in zoneinfo_show_print()
1722 pcp->count, in zoneinfo_show_print()
1723 pcp->high, in zoneinfo_show_print()
1724 pcp->batch); in zoneinfo_show_print()