Lines Matching refs:pcp
348 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __mod_zone_page_state() local
349 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()
364 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
379 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __mod_node_page_state() local
380 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()
437 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __inc_zone_state() local
438 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
445 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
458 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __inc_node_state() local
459 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __inc_node_state()
468 t = __this_cpu_read(pcp->stat_threshold); in __inc_node_state()
493 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __dec_zone_state() local
494 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
501 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
514 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __dec_node_state() local
515 s8 __percpu *p = pcp->vm_node_stat_diff + item; in __dec_node_state()
524 t = __this_cpu_read(pcp->stat_threshold); in __dec_node_state()
563 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in mod_zone_state() local
564 s8 __percpu *p = pcp->vm_stat_diff + item; in mod_zone_state()
582 t = this_cpu_read(pcp->stat_threshold); in mod_zone_state()
621 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in mod_node_state() local
622 s8 __percpu *p = pcp->vm_node_stat_diff + item; in mod_node_state()
651 t = this_cpu_read(pcp->stat_threshold); in mod_node_state()
822 struct per_cpu_pages __percpu *pcp = zone->per_cpu_pageset; in refresh_cpu_vm_stats() local
834 __this_cpu_write(pcp->expire, 3); in refresh_cpu_vm_stats()
842 changes += decay_pcp_high(zone, this_cpu_ptr(pcp)); in refresh_cpu_vm_stats()
851 if (!__this_cpu_read(pcp->expire) || in refresh_cpu_vm_stats()
852 !__this_cpu_read(pcp->count)) in refresh_cpu_vm_stats()
859 __this_cpu_write(pcp->expire, 0); in refresh_cpu_vm_stats()
863 if (__this_cpu_dec_return(pcp->expire)) { in refresh_cpu_vm_stats()
868 if (__this_cpu_read(pcp->count)) { in refresh_cpu_vm_stats()
869 drain_zone_pages(zone, this_cpu_ptr(pcp)); in refresh_cpu_vm_stats()
1804 struct per_cpu_pages *pcp; in zoneinfo_show_print() local
1807 pcp = per_cpu_ptr(zone->per_cpu_pageset, i); in zoneinfo_show_print()
1816 pcp->count, in zoneinfo_show_print()
1817 pcp->high, in zoneinfo_show_print()
1818 pcp->batch, in zoneinfo_show_print()
1819 pcp->high_min, in zoneinfo_show_print()
1820 pcp->high_max); in zoneinfo_show_print()