Searched refs:rcpu (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/kernel/bpf/ |
D | cpumap.c | 125 static void get_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in get_cpu_map_entry() argument 127 atomic_inc(&rcpu->refcnt); in get_cpu_map_entry() 133 struct bpf_cpu_map_entry *rcpu; in cpu_map_kthread_stop() local 135 rcpu = container_of(work, struct bpf_cpu_map_entry, kthread_stop_wq); in cpu_map_kthread_stop() 143 kthread_stop(rcpu->kthread); in cpu_map_kthread_stop() 160 static void put_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in put_cpu_map_entry() argument 162 if (atomic_dec_and_test(&rcpu->refcnt)) { in put_cpu_map_entry() 163 if (rcpu->prog) in put_cpu_map_entry() 164 bpf_prog_put(rcpu->prog); in put_cpu_map_entry() 166 __cpu_map_ring_cleanup(rcpu->queue); in put_cpu_map_entry() [all …]
|
/linux-6.1.9/arch/arm/mach-tegra/ |
D | sleep.h | 51 .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.1.9/drivers/macintosh/ |
D | rack-meter.c | 214 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.1.9/arch/arm/common/ |
D | vlock.S | 26 .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-6.1.9/samples/bpf/ |
D | cpustat_user.c | 108 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.1.9/include/linux/ |
D | bpf.h | 1980 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf, 1982 int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu, 2225 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue() argument 2232 static inline int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu, in cpu_map_generic_redirect() argument
|