Home
last modified time | relevance | path

Searched refs:__this_cpu_add (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/lib/
Dpercpu_test.c35 __this_cpu_add(long_counter, -1); in percpu_test_init()
39 __this_cpu_add(long_counter, 1); in percpu_test_init()
46 __this_cpu_add(ulong_counter, 1UL); in percpu_test_init()
50 __this_cpu_add(ulong_counter, -1UL); in percpu_test_init()
54 __this_cpu_add(ulong_counter, -(unsigned long)1); in percpu_test_init()
66 __this_cpu_add(long_counter, -ui_one); in percpu_test_init()
70 __this_cpu_add(long_counter, ui_one); in percpu_test_init()
85 __this_cpu_add(long_counter, ui_one); in percpu_test_init()
89 __this_cpu_add(long_counter, -ui_one); in percpu_test_init()
104 __this_cpu_add(ulong_counter, ui_one); in percpu_test_init()
/linux-6.6.21/arch/x86/kernel/
Dnmi.c299 __this_cpu_add(nmi_stats.unknown, handled); in unknown_nmi_error()
303 __this_cpu_add(nmi_stats.unknown, 1); in unknown_nmi_error()
347 __this_cpu_add(nmi_stats.normal, handled); in default_do_nmi()
389 __this_cpu_add(nmi_stats.external, 1); in default_do_nmi()
426 __this_cpu_add(nmi_stats.swallow, 1); in default_do_nmi()
/linux-6.6.21/include/net/
Dsnmp.h140 __this_cpu_add(mib->mibs[field], addend)
154 __this_cpu_add(ptr[basefield##OCTETS], addend); \
/linux-6.6.21/include/linux/
Dpercpu-defs.h442 #define __this_cpu_add(pcp, val) \ macro
478 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
479 #define __this_cpu_inc(pcp) __this_cpu_add(pcp, 1)
Dpart_stat.h58 __this_cpu_add((part)->bd_stats->field, addnd)
/linux-6.6.21/include/linux/netfilter/
Dx_tables.h379 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin()
397 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_end()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dthis_cpu_ops.rst206 __this_cpu_add(pcp, val)
/linux-6.6.21/kernel/sched/
Dcpuacct.c355 __this_cpu_add(ca->cpustat->cpustat[index], val); in cpuacct_account_field()
Dcputime.c111 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
/linux-6.6.21/mm/
Dmemcontrol.c775 __this_cpu_add(memcg->vmstats_percpu->state[idx], val); in __mod_memcg_state()
822 __this_cpu_add(memcg->vmstats_percpu->state[idx], val); in __mod_memcg_lruvec_state()
825 __this_cpu_add(pn->lruvec_stats_percpu->state[idx], val); in __mod_memcg_lruvec_state()
914 __this_cpu_add(memcg->vmstats_percpu->events[index], count); in __count_memcg_events()
949 __this_cpu_add(memcg->vmstats_percpu->nr_page_events, nr_pages); in mem_cgroup_charge_statistics()
7120 __this_cpu_add(ug->memcg->vmstats_percpu->nr_page_events, ug->nr_memory); in uncharge_batch()
Dpage-writeback.c2627 __this_cpu_add(bdp_ratelimits, nr); in folio_account_dirtied()
/linux-6.6.21/Documentation/core-api/
Dthis_cpu_ops.rst238 __this_cpu_add(pcp, val)
/linux-6.6.21/kernel/
Dexit.c918 __this_cpu_add(dirty_throttle_leaks, tsk->nr_dirtied); in do_exit()
/linux-6.6.21/drivers/net/ethernet/nvidia/
Dforcedeth.c729 __this_cpu_add(np->txrx_stats->member, (count))