Home
last modified time | relevance | path

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

/Linux-v6.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.c228 OFFSET(LPPACA_PMCINUSE, lppaca, pmcregs_in_use); in main()
232 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
/Linux-v6.1/arch/powerpc/include/asm/
Dlppaca.h61 struct lppaca { struct
130 static inline bool lppaca_shared_proc(struct lppaca *l) in lppaca_shared_proc() argument
Dcputime.h95 struct lppaca *lp = local_paca->lppaca_ptr; in account_stolen_time()
Dpaca.h74 struct lppaca *lppaca_ptr; /* Pointer to LpPaca for PLIC */
Dkvm_host.h82 struct lppaca;
/Linux-v6.1/tools/testing/selftests/powerpc/vphn/asm/
Dlppaca.h61 struct lppaca { struct
130 static inline bool lppaca_shared_proc(struct lppaca *l) in lppaca_shared_proc() argument
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dlpar.c364 struct lppaca *vpa = local_paca->lppaca_ptr; in process_dtl_buffer()
667 struct lppaca *lppaca = &lppaca_of(cpu); in pseries_paravirt_steal_clock() local
669 return 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()
2018 struct lppaca *lppaca = &lppaca_of(cpu); in vpa_file_read() local
2020 return simple_read_from_buffer(buf, len, pos, lppaca, in vpa_file_read()
2021 sizeof(struct lppaca)); in vpa_file_read()
Ddtl.c69 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle()
380 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log()
/Linux-v6.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.c487 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa()
578 BUILD_BUG_ON(sizeof(struct lppaca) != 640); in do_h_register_vpa()
579 if (len < sizeof(struct lppaca)) in do_h_register_vpa()
736 struct lppaca *vpa, in __kvmppc_create_dtl_entry()
772 struct lppaca *vpa; in kvmppc_update_vpa_dispatch()
803 struct lppaca *vpa; in kvmppc_update_vpa_dispatch_p9()
1016 struct lppaca *lppaca; in kvmppc_get_yield_count() local
1019 lppaca = (struct lppaca *)vcpu->arch.vpa.pinned_addr; in kvmppc_get_yield_count()
1020 if (lppaca) in kvmppc_get_yield_count()
1021 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
[all …]