Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Dcpumap.c162 if (rcpu->prog) in put_cpu_map_entry()
168 kfree(rcpu); in put_cpu_map_entry()
432 if (!rcpu) in __cpu_map_entry_alloc()
436 rcpu->bulkq = bpf_map_alloc_percpu(map, sizeof(*rcpu->bulkq), in __cpu_map_entry_alloc()
477 return rcpu; in __cpu_map_entry_alloc()
480 if (rcpu->prog) in __cpu_map_entry_alloc()
489 kfree(rcpu); in __cpu_map_entry_alloc()
583 if (!rcpu) in cpu_map_update_elem()
616 if (!rcpu) in cpu_map_free()
640 return rcpu; in __cpu_map_lookup_elem()
[all …]
/linux/arch/arm/mach-tegra/
A 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/drivers/macintosh/
A Drack-meter.c215 struct rackmeter_cpu *rcpu = in rackmeter_do_timer() local
217 struct rackmeter *rm = rcpu->rm; in rackmeter_do_timer()
224 total_nsecs = cur_nsecs - rcpu->prev_wall; in rackmeter_do_timer()
225 rcpu->prev_wall = cur_nsecs; in rackmeter_do_timer()
228 idle_nsecs = total_idle_nsecs - rcpu->prev_idle; in rackmeter_do_timer()
230 rcpu->prev_idle = total_idle_nsecs; in rackmeter_do_timer()
244 rcpu->zero = (cumm == 0); in rackmeter_do_timer()
254 schedule_delayed_work_on(cpu, &rcpu->sniffer, in rackmeter_do_timer()
274 struct rackmeter_cpu *rcpu; in rackmeter_init_cpu_sniffer() local
278 rcpu = &rm->cpu[cpu]; in rackmeter_init_cpu_sniffer()
[all …]
/linux/arch/arm/common/
A Dvlock.S26 .macro voting_begin rbase:req, rcpu:req, rscratch:req
28 strb \rscratch, [\rbase, \rcpu]
32 .macro voting_end rbase:req, rcpu:req, rscratch:req
35 strb \rscratch, [\rbase, \rcpu]
/linux/samples/bpf/
A Dcpustat_user.c109 int rcpu, i, ret; in cpu_stat_inject_cpu_idle_event() local
117 rcpu = sched_getcpu(); in cpu_stat_inject_cpu_idle_event()
118 if (rcpu < 0) in cpu_stat_inject_cpu_idle_event()
127 if (i == rcpu) in cpu_stat_inject_cpu_idle_event()
/linux/include/linux/
A Dbpf.h1633 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp,
1635 int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu,
1849 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue() argument
1856 static inline int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu, in cpu_map_generic_redirect() argument

Completed in 19 milliseconds