Home
last modified time | relevance | path

Searched refs:lppaca (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/arch/powerpc/kernel/
Dpaca.c108 static inline void init_lppaca(struct lppaca *lppaca) in init_lppaca() argument
110 BUILD_BUG_ON(sizeof(struct lppaca) != 640); in init_lppaca()
112 *lppaca = (struct lppaca) { in init_lppaca()
121 static struct lppaca * __init new_lppaca(int cpu, unsigned long limit) in new_lppaca()
123 struct lppaca *lp; in new_lppaca()
125 BUILD_BUG_ON(sizeof(struct lppaca) > LPPACA_SIZE); in new_lppaca()
Dasm-offsets.c229 OFFSET(LPPACA_PMCINUSE, lppaca, pmcregs_in_use); in main()
233 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
/linux-6.12.1/arch/powerpc/include/asm/
Dlppaca.h40 struct lppaca { struct
121 struct lppaca *l = local_paca->lppaca_ptr; in lppaca_shared_proc() argument
Dpaca.h53 struct lppaca;
70 struct lppaca *lppaca_ptr; /* Pointer to LpPaca for PLIC */
Dcputime.h67 struct lppaca *lp = local_paca->lppaca_ptr; in account_stolen_time()
Dkvm_host.h81 struct lppaca;
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dlpar.c366 struct lppaca *vpa = local_paca->lppaca_ptr; in process_dtl_buffer()
663 struct lppaca *lppaca = &lppaca_of(cpu); in pseries_paravirt_steal_clock() local
669 return tb_to_ns(be64_to_cpu(READ_ONCE(lppaca->enqueue_dispatch_tb)) + in pseries_paravirt_steal_clock()
670 be64_to_cpu(READ_ONCE(lppaca->ready_enqueue_tb))); in pseries_paravirt_steal_clock()
1998 struct lppaca *lppaca = &lppaca_of(cpu); in vpa_file_read() local
2000 return simple_read_from_buffer(buf, len, pos, lppaca, in vpa_file_read()
2001 sizeof(struct lppaca)); in vpa_file_read()
Ddtl.c69 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle()
379 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_p9_perf.c38 struct lppaca *lp; in switch_pmu_to_guest()
121 struct lppaca *lp; in switch_pmu_to_host()
Dbook3s_hv.c521 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa()
612 BUILD_BUG_ON(sizeof(struct lppaca) != 640); in do_h_register_vpa()
613 if (len < sizeof(struct lppaca)) in do_h_register_vpa()
790 struct lppaca *vpa, in __kvmppc_create_dtl_entry()
826 struct lppaca *vpa; in kvmppc_update_vpa_dispatch()
857 struct lppaca *vpa; in kvmppc_update_vpa_dispatch_p9()
1070 struct lppaca *lppaca; in kvmppc_get_yield_count() local
1073 lppaca = (struct lppaca *)vcpu->arch.vpa.pinned_addr; in kvmppc_get_yield_count()
1074 if (lppaca) in kvmppc_get_yield_count()
1075 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
[all …]