Home
last modified time | relevance | path

Searched refs:rcpu (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dcpumap.c137 static void cpu_map_bpf_prog_run_skb(struct bpf_cpu_map_entry *rcpu, in cpu_map_bpf_prog_run_skb() argument
147 act = bpf_prog_run_generic_xdp(skb, &xdp, rcpu->prog); in cpu_map_bpf_prog_run_skb()
154 rcpu->prog); in cpu_map_bpf_prog_run_skb()
163 bpf_warn_invalid_xdp_action(NULL, rcpu->prog, act); in cpu_map_bpf_prog_run_skb()
166 trace_xdp_exception(skb->dev, rcpu->prog, act); in cpu_map_bpf_prog_run_skb()
177 static int cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu, in cpu_map_bpf_prog_run_xdp() argument
199 act = bpf_prog_run_xdp(rcpu->prog, &xdp); in cpu_map_bpf_prog_run_xdp()
213 rcpu->prog); in cpu_map_bpf_prog_run_xdp()
222 bpf_warn_invalid_xdp_action(NULL, rcpu->prog, act); in cpu_map_bpf_prog_run_xdp()
238 static int cpu_map_bpf_prog_run(struct bpf_cpu_map_entry *rcpu, void **frames, in cpu_map_bpf_prog_run() argument
[all …]
/linux-6.6.21/arch/arm/mach-tegra/
Dsleep.h51 .macro cpu_to_halt_reg rd, rcpu
52 cmp \rcpu, #0
53 subne \rd, \rcpu, #1
60 .macro cpu_to_csr_reg rd, rcpu
61 cmp \rcpu, #0
62 subne \rd, \rcpu, #1
/linux-6.6.21/drivers/macintosh/
Drack-meter.c214 struct rackmeter_cpu *rcpu = in rackmeter_do_timer() local
216 struct rackmeter *rm = rcpu->rm; in rackmeter_do_timer()
223 total_nsecs = cur_nsecs - rcpu->prev_wall; in rackmeter_do_timer()
224 rcpu->prev_wall = cur_nsecs; in rackmeter_do_timer()
227 idle_nsecs = total_idle_nsecs - rcpu->prev_idle; in rackmeter_do_timer()
229 rcpu->prev_idle = total_idle_nsecs; in rackmeter_do_timer()
243 rcpu->zero = (cumm == 0); in rackmeter_do_timer()
253 schedule_delayed_work_on(cpu, &rcpu->sniffer, in rackmeter_do_timer()
273 struct rackmeter_cpu *rcpu; in rackmeter_init_cpu_sniffer() local
277 rcpu = &rm->cpu[cpu]; in rackmeter_init_cpu_sniffer()
[all …]
/linux-6.6.21/arch/arm/common/
Dvlock.S28 .macro voting_begin rbase:req, rcpu:req, rscratch:req
30 strb \rscratch, [\rbase, \rcpu]
34 .macro voting_end rbase:req, rcpu:req, rscratch:req
37 strb \rscratch, [\rbase, \rcpu]
/linux-6.6.21/samples/bpf/
Dcpustat_user.c108 int rcpu, i, ret; in cpu_stat_inject_cpu_idle_event() local
116 rcpu = sched_getcpu(); in cpu_stat_inject_cpu_idle_event()
117 if (rcpu < 0) in cpu_stat_inject_cpu_idle_event()
126 if (i == rcpu) in cpu_stat_inject_cpu_idle_event()
/linux-6.6.21/include/linux/
Dbpf.h2347 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf,
2349 int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu,
2601 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue() argument
2608 static inline int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu, in cpu_map_generic_redirect() argument