Searched refs:rcpu (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | cpumap.c | 244 if (!rcpu->prog) in cpu_map_bpf_prog_run() 401 if (!rcpu) in __cpu_map_entry_alloc() 405 rcpu->bulkq = bpf_map_alloc_percpu(map, sizeof(*rcpu->bulkq), in __cpu_map_entry_alloc() 450 return rcpu; in __cpu_map_entry_alloc() 453 if (rcpu->prog) in __cpu_map_entry_alloc() 462 kfree(rcpu); in __cpu_map_entry_alloc() 490 kfree(rcpu); in __cpu_map_entry_free() 555 if (!rcpu) in cpu_map_update_elem() 586 if (!rcpu) in cpu_map_free() 610 return rcpu; in __cpu_map_lookup_elem() [all …]
|
/openbmc/linux/arch/arm/mach-tegra/ |
H A 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
|
/openbmc/linux/drivers/macintosh/ |
H A 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 …]
|
/openbmc/linux/arch/arm/common/ |
H A D | vlock.S | 28 .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]
|
/openbmc/linux/samples/bpf/ |
H A 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()
|
/openbmc/qemu/hw/intc/ |
H A D | riscv_imsic.c | 334 RISCVCPU *rcpu = RISCV_CPU(cpu_by_arch_id(imsic->hartid)); in riscv_imsic_realize() local 351 if (riscv_cpu_claim_interrupts(rcpu, in riscv_imsic_realize() 365 rcpu->cfg.ext_ssaia = true; in riscv_imsic_realize() 368 rcpu->cfg.ext_smaia = true; in riscv_imsic_realize()
|
H A D | gic_internal.h | 294 int rcpu = gic_get_vcpu_real_id(cpu); in gic_clear_active() local 305 if (!s->security_extn || GIC_DIST_TEST_GROUP(phys_irq, 1 << rcpu)) { in gic_clear_active() 306 cm = phys_irq < GIC_INTERNAL ? 1 << rcpu : ALL_CPU_MASK; in gic_clear_active()
|
H A D | arm_gic.c | 548 int rcpu = gic_get_vcpu_real_id(cpu); in gic_drop_prio() local 550 if (s->h_apr[rcpu]) { in gic_drop_prio() 552 s->h_apr[rcpu] &= s->h_apr[rcpu] - 1; in gic_drop_prio() 837 int rcpu = gic_get_vcpu_real_id(cpu); in gic_deactivate_irq() local 838 s->h_hcr[rcpu] += 1 << R_GICH_HCR_EOICount_SHIFT; in gic_deactivate_irq() 886 int rcpu = gic_get_vcpu_real_id(cpu); in gic_complete_irq() local 887 s->h_hcr[rcpu] += 1 << R_GICH_HCR_EOICount_SHIFT; in gic_complete_irq()
|
/openbmc/linux/include/linux/ |
H A D | bpf.h | 2375 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf, 2377 int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu, 2629 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue() argument 2636 static inline int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu, in cpu_map_generic_redirect() argument
|