Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dpaca.c101 static inline void init_lppaca(struct lppaca *lppaca) in init_lppaca() argument
103 BUILD_BUG_ON(sizeof(struct lppaca) != 640); in init_lppaca()
105 *lppaca = (struct lppaca) { in init_lppaca()
114 static struct lppaca * __init new_lppaca(int cpu, unsigned long limit) in new_lppaca()
116 struct lppaca *lp; in new_lppaca()
118 BUILD_BUG_ON(sizeof(struct lppaca) > LPPACA_SIZE); in new_lppaca()
Dasm-offsets.c243 OFFSET(LPPACA_PMCINUSE, lppaca, pmcregs_in_use); in main()
247 OFFSET(LPPACA_DTLIDX, lppaca, dtl_idx); in main()
248 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
Dtime.c195 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log()
/arch/powerpc/include/asm/
Dlppaca.h62 struct lppaca { struct
127 static inline bool lppaca_shared_proc(struct lppaca *l) in lppaca_shared_proc() argument
Dpaca.h71 struct lppaca *lppaca_ptr; /* Pointer to LpPaca for PLIC */
Dkvm_host.h82 struct lppaca;
/arch/powerpc/platforms/pseries/
Dlpar.c362 struct lppaca *vpa = local_paca->lppaca_ptr; in process_dtl_buffer()
1981 struct lppaca *lppaca = &lppaca_of(cpu); in vpa_file_read() local
1983 return simple_read_from_buffer(buf, len, pos, lppaca, in vpa_file_read()
1984 sizeof(struct lppaca)); in vpa_file_read()
Ddtl.c59 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle()
/arch/powerpc/kvm/
Dbook3s_hv.c453 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa()
544 BUILD_BUG_ON(sizeof(struct lppaca) != 640); in do_h_register_vpa()
545 if (len < sizeof(struct lppaca)) in do_h_register_vpa()
703 struct lppaca *vpa; in kvmppc_create_dtl_entry()
900 struct lppaca *lppaca; in kvmppc_get_yield_count() local
903 lppaca = (struct lppaca *)vcpu->arch.vpa.pinned_addr; in kvmppc_get_yield_count()
904 if (lppaca) in kvmppc_get_yield_count()
905 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
1953 r = set_vpa(vcpu, &vcpu->arch.vpa, addr, sizeof(struct lppaca)); in kvmppc_set_one_reg_hv()
3553 struct lppaca *lp = vcpu->arch.vpa.pinned_addr; in kvmhv_p9_guest_entry()
[all …]