Home
last modified time | relevance | path

Searched refs:paca_struct (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Dasm-offsets.c140 OFFSET(PACATMSCRATCH, paca_struct, tm_scratch); in main()
170 DEFINE(PACA_SIZE, sizeof(struct paca_struct)); in main()
171 OFFSET(PACAPACAINDEX, paca_struct, paca_index); in main()
172 OFFSET(PACAPROCSTART, paca_struct, cpu_start); in main()
173 OFFSET(PACAKSAVE, paca_struct, kstack); in main()
174 OFFSET(PACACURRENT, paca_struct, __current); in main()
175 OFFSET(PACASAVEDMSR, paca_struct, saved_msr); in main()
176 OFFSET(PACASTABRR, paca_struct, stab_rr); in main()
177 OFFSET(PACAR1, paca_struct, saved_r1); in main()
178 OFFSET(PACATOC, paca_struct, kernel_toc); in main()
[all …]
Dpaca.c140 struct paca_struct **paca_ptrs __read_mostly;
143 void __init initialise_paca(struct paca_struct *new_paca, int cpu) in initialise_paca()
172 void setup_paca(struct paca_struct *new_paca) in setup_paca()
200 paca_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in allocate_paca_ptrs()
208 struct paca_struct *paca; in allocate_paca()
222 paca = alloc_paca_data(sizeof(struct paca_struct), L1_CACHE_BYTES, in allocate_paca()
225 memset(paca, 0, sizeof(struct paca_struct)); in allocate_paca()
234 paca_struct_size += sizeof(struct paca_struct); in allocate_paca()
241 new_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in free_unused_pacas()
Dmachine_kexec_64.c288 struct paca_struct kexec_paca;
329 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
Dstacktrace.c217 struct paca_struct *p = paca_ptrs[cpu]; in raise_backtrace_ipi()
Dtime.c477 : "i" (offsetof(struct paca_struct, irq_work_pending))); in test_irq_work_pending()
485 "i" (offsetof(struct paca_struct, irq_work_pending))); in set_irq_work_pending_flag()
492 "i" (offsetof(struct paca_struct, irq_work_pending))); in clear_irq_work_pending()
Dsetup_64.c287 static __initdata struct paca_struct boot_paca; in early_setup()
931 struct paca_struct *paca = paca_ptrs[cpu]; in init_fallback_flush()
Dirq.c105 : "=r" (happened) : "i" (offsetof(struct paca_struct, irq_happened))); in get_irq_happened()
Dmodule_64.c758 #define PACATOC offsetof(struct paca_struct, kernel_toc)
/Linux-v4.19/arch/powerpc/include/asm/
Dpaca.h37 register struct paca_struct *local_paca asm("r13");
64 struct paca_struct { struct
256 extern struct paca_struct **paca_ptrs; argument
257 extern void initialise_paca(struct paca_struct *new_paca, int cpu);
258 extern void setup_paca(struct paca_struct *new_paca);
Dhw_irq.h73 : "i" (offsetof(struct paca_struct, irq_soft_mask))); in irq_soft_mask_return()
107 "i" (offsetof(struct paca_struct, irq_soft_mask)) in irq_soft_mask_set()
122 : "i" (offsetof(struct paca_struct, irq_soft_mask)), in irq_soft_mask_set_return()
136 : "i" (offsetof(struct paca_struct, irq_soft_mask)), in irq_soft_mask_or_return()
Dasm-prototypes.h31 struct paca_struct;
33 extern struct paca_struct kexec_paca;
Dcurrent.h24 : "i" (offsetof(struct paca_struct, __current))); in get_current()
Dio.h689 : "=&r" (tmp) : "i" (offsetof(struct paca_struct, io_sync)) in mmiowb()
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage-book3e.c18 struct paca_struct *paca = get_paca(); in tlb1_next()
62 struct paca_struct *paca = get_paca(); in book3e_tlb_lock()
92 struct paca_struct *paca = get_paca(); in book3e_tlb_unlock()
/Linux-v4.19/arch/powerpc/net/
Dbpf_jit32.h104 do { BUILD_BUG_ON(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \
105 PPC_LHZ_OFFS(r, 13, offsetof(struct paca_struct, paca_index)); \
/Linux-v4.19/arch/powerpc/platforms/powernv/
Didle.c174 sizeof(struct paca_struct *)); in pnv_alloc_idle_core_states()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dsetup.c258 struct paca_struct *pp; in alloc_dispatch_logs()
Dlpar.c72 struct paca_struct *pp; in vpa_init()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv.c2200 struct paca_struct *tpaca; in kvmppc_grab_hwthread()
2234 struct paca_struct *tpaca; in kvmppc_release_hwthread()
2288 struct paca_struct *tpaca; in kvmppc_start_thread()
2871 struct paca_struct *paca = paca_ptrs[pcpu + thr]; in kvmppc_run_core()
3039 struct paca_struct *paca = paca_ptrs[pcpu + thr]; in kvmppc_run_core()
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c2338 struct paca_struct *p; in dump_one_paca()
2361 offsetof(struct paca_struct, name)); in dump_one_paca()