Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dpercpu.h31 #define __this_cpu_inc(pcp) __this_cpu_add(pcp, 1)
33 #define __this_cpu_sub(pcp, n) __this_cpu_add(pcp, -(typeof(pcp)) (n))
66 #define __this_cpu_add(pcp, n) \ macro
/Linux-v5.10/arch/x86/include/asm/
Dirq_stack.h25 __this_cpu_add(irq_count, 1); in __run_on_irqstack()
36 __this_cpu_add(irq_count, 1); in __run_sysvec_on_irqstack()
47 __this_cpu_add(irq_count, 1); in __run_irq_on_irqstack()
/Linux-v5.10/arch/x86/kernel/
Dnmi.c286 __this_cpu_add(nmi_stats.unknown, handled); in unknown_nmi_error()
290 __this_cpu_add(nmi_stats.unknown, 1); in unknown_nmi_error()
335 __this_cpu_add(nmi_stats.normal, handled); in default_do_nmi()
377 __this_cpu_add(nmi_stats.external, 1); in default_do_nmi()
414 __this_cpu_add(nmi_stats.swallow, 1); in default_do_nmi()
/Linux-v5.10/include/net/
Dsnmp.h140 __this_cpu_add(mib->mibs[field], addend)
154 __this_cpu_add(ptr[basefield##OCTETS], addend); \
/Linux-v5.10/include/linux/
Dpercpu-defs.h455 #define __this_cpu_add(pcp, val) \ macro
496 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
497 #define __this_cpu_inc(pcp) __this_cpu_add(pcp, 1)
Dpart_stat.h57 __this_cpu_add((part)->dkstats->field, addnd)
/Linux-v5.10/kernel/sched/
Dcpuacct.c351 __this_cpu_add(ca->cpuusage->usages[index], cputime); in cpuacct_charge()
367 __this_cpu_add(ca->cpustat->cpustat[index], val); in cpuacct_account_field()
Dcputime.c107 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
/Linux-v5.10/include/linux/netfilter/
Dx_tables.h378 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin()
396 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_end()
/Linux-v5.10/mm/
Dmemcontrol.c790 __this_cpu_add(memcg->vmstats_local->stat[idx], x); in __mod_memcg_state()
823 __this_cpu_add(pn->lruvec_stat_local->count[idx], val); in __mod_memcg_lruvec_state()
918 __this_cpu_add(memcg->vmstats_local->events[idx], x); in __count_memcg_events()
953 __this_cpu_add(memcg->vmstats_percpu->nr_page_events, nr_pages); in mem_cgroup_charge_statistics()
6857 __this_cpu_add(ug->memcg->vmstats_percpu->nr_page_events, ug->nr_pages); in uncharge_batch()
/Linux-v5.10/Documentation/core-api/
Dthis_cpu_ops.rst239 __this_cpu_add(pcp, val)
/Linux-v5.10/kernel/
Dexit.c855 __this_cpu_add(dirty_throttle_leaks, tsk->nr_dirtied); in do_exit()
/Linux-v5.10/net/core/
Dsock.c3301 __this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val); in sock_prot_inuse_add()
/Linux-v5.10/drivers/net/ethernet/nvidia/
Dforcedeth.c729 __this_cpu_add(np->txrx_stats->member, (count))