Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/kernel/
Dasm-offsets.c84 OFFSET(PACA_CANARY, paca_struct, canary); in main()
158 OFFSET(PACATMSCRATCH, paca_struct, tm_scratch); in main()
181 OFFSET(PACAPACAINDEX, paca_struct, paca_index); in main()
182 OFFSET(PACAPROCSTART, paca_struct, cpu_start); in main()
183 OFFSET(PACAKSAVE, paca_struct, kstack); in main()
184 OFFSET(PACACURRENT, paca_struct, __current); in main()
185 DEFINE(PACA_THREAD_INFO, offsetof(struct paca_struct, __current) + in main()
187 OFFSET(PACASAVEDMSR, paca_struct, saved_msr); in main()
188 OFFSET(PACAR1, paca_struct, saved_r1); in main()
189 OFFSET(PACATOC, paca_struct, kernel_toc); in main()
[all …]
Dpaca.c181 struct paca_struct **paca_ptrs __read_mostly;
184 void __init initialise_paca(struct paca_struct *new_paca, int cpu) in initialise_paca()
213 void setup_paca(struct paca_struct *new_paca) in setup_paca()
245 paca_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in allocate_paca_ptrs()
257 struct paca_struct *paca; in allocate_paca()
271 paca = alloc_paca_data(sizeof(struct paca_struct), L1_CACHE_BYTES, in allocate_paca()
282 paca_struct_size += sizeof(struct paca_struct); in allocate_paca()
289 new_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in free_unused_pacas()
Dirq_64.c243 : : "i" (offsetof(struct paca_struct, irq_happened)), in arch_local_irq_restore()
244 "i" (offsetof(struct paca_struct, irq_soft_mask)) in arch_local_irq_restore()
Dtime.c429 : "i" (offsetof(struct paca_struct, irq_work_pending))); in test_irq_work_pending()
437 "i" (offsetof(struct paca_struct, irq_work_pending))); in set_irq_work_pending_flag()
444 "i" (offsetof(struct paca_struct, irq_work_pending))); in clear_irq_work_pending()
Dstacktrace.c176 struct paca_struct *p; in raise_backtrace_ipi()
Dsetup_64.c180 static void __init fixup_boot_paca(struct paca_struct *boot_paca) in fixup_boot_paca()
342 static __initdata struct paca_struct boot_paca; in early_setup()
Dsecurity.c681 struct paca_struct *paca = paca_ptrs[cpu]; in init_fallback_flush()
Dmodule_64.c326 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernel_toc)),
/Linux-v6.1/arch/powerpc/include/asm/
Dpaca.h37 register struct paca_struct *local_paca asm("r13");
65 struct paca_struct { struct
289 extern struct paca_struct **paca_ptrs; argument
290 extern void initialise_paca(struct paca_struct *new_paca, int cpu);
291 extern void setup_paca(struct paca_struct *new_paca);
Dcurrent.h22 : "i" (offsetof(struct paca_struct, __current))); in get_current()
Dhw_irq.h121 : "i" (offsetof(struct paca_struct, irq_soft_mask))); in irq_soft_mask_return()
154 "i" (offsetof(struct paca_struct, irq_soft_mask)) in irq_soft_mask_set()
/Linux-v6.1/arch/powerpc/mm/nohash/
De500_hugetlbpage.c19 struct paca_struct *paca = get_paca(); in tlb1_next()
36 struct paca_struct *paca = get_paca(); in book3e_tlb_lock()
66 struct paca_struct *paca = get_paca(); in book3e_tlb_unlock()
/Linux-v6.1/arch/powerpc/kexec/
Dcore_64.c293 static struct paca_struct kexec_paca;
332 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dlpar.c86 struct paca_struct *pp; in alloc_dtl_buffers()
118 struct paca_struct *pp; in register_dtl_buffer()
185 struct paca_struct *pp; in free_dtl_buffers()
/Linux-v6.1/arch/powerpc/kernel/trace/
Dftrace.c709 #define PACATOC offsetof(struct paca_struct, kernel_toc)
/Linux-v6.1/arch/powerpc/platforms/powernv/
Didle.c1433 struct paca_struct *p = paca_ptrs[cpu]; in pnv_init_idle_states()
/Linux-v6.1/arch/powerpc/net/
Dbpf_jit_comp64.c130 EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc))); in bpf_jit_build_prologue()
/Linux-v6.1/arch/powerpc/kvm/
Dbook3s_hv.c3100 struct paca_struct *tpaca; in kvmppc_grab_hwthread()
3134 struct paca_struct *tpaca; in kvmppc_release_hwthread()
3242 struct paca_struct *tpaca; in kvmppc_start_thread()
3816 struct paca_struct *paca = paca_ptrs[pcpu + thr]; in kvmppc_run_core()
/Linux-v6.1/arch/powerpc/xmon/
Dxmon.c2613 struct paca_struct *p; in dump_one_paca()
2636 offsetof(struct paca_struct, name)); in dump_one_paca()