Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dasm-offsets.c84 OFFSET(PACA_CANARY, paca_struct, canary); in main()
158 OFFSET(PACATMSCRATCH, paca_struct, tm_scratch); in main()
180 OFFSET(PACAPACAINDEX, paca_struct, paca_index); in main()
181 OFFSET(PACAPROCSTART, paca_struct, cpu_start); in main()
182 OFFSET(PACAKSAVE, paca_struct, kstack); in main()
183 OFFSET(PACACURRENT, paca_struct, __current); in main()
184 DEFINE(PACA_THREAD_INFO, offsetof(struct paca_struct, __current) + in main()
186 OFFSET(PACASAVEDMSR, paca_struct, saved_msr); in main()
187 OFFSET(PACAR1, paca_struct, saved_r1); in main()
189 OFFSET(PACATOC, paca_struct, kernel_toc); in main()
[all …]
H A Dpaca.c181 struct paca_struct **paca_ptrs __read_mostly;
184 void __init initialise_paca(struct paca_struct *new_paca, int cpu) in initialise_paca()
215 void setup_paca(struct paca_struct *new_paca) in setup_paca()
247 paca_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in allocate_paca_ptrs()
259 struct paca_struct *paca; in allocate_paca()
273 paca = alloc_paca_data(sizeof(struct paca_struct), L1_CACHE_BYTES, in allocate_paca()
284 paca_struct_size += sizeof(struct paca_struct); in allocate_paca()
291 new_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in free_unused_pacas()
H A Dirq_64.c241 : : "i" (offsetof(struct paca_struct, irq_happened)), in arch_local_irq_restore()
242 "i" (offsetof(struct paca_struct, irq_soft_mask)) in arch_local_irq_restore()
H A Dstacktrace.c161 struct paca_struct *p; in raise_backtrace_ipi()
H A 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()
H A Dmodule_64.c502 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernelbase)),
510 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernel_toc)),
H A Dsecurity.c682 struct paca_struct *paca = paca_ptrs[cpu]; in init_fallback_flush()
/linux/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c19 struct paca_struct *paca = get_paca(); in tlb1_next()
36 struct paca_struct *paca = get_paca(); in book3e_tlb_lock()
69 struct paca_struct *paca = get_paca(); in book3e_tlb_unlock()
/linux/arch/powerpc/include/asm/
H A Dcurrent.h22 : "i" (offsetof(struct paca_struct, __current))); in get_current()
H A Dhw_irq.h123 : "i" (offsetof(struct paca_struct, irq_soft_mask))); in irq_soft_mask_return()
156 "i" (offsetof(struct paca_struct, irq_soft_mask)) in irq_soft_mask_set()
/linux/arch/powerpc/net/
H A Dbpf_jit.h106 EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)))
H A Dbpf_jit_comp64.c134 EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc))); in bpf_jit_build_prologue()
238 EMIT(PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernelbase))); in bpf_jit_emit_func_call_rel()
301 EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc))); in bpf_jit_emit_func_call_rel()
/linux/arch/powerpc/kernel/trace/
H A Dftrace_64_pg.c699 #define PACATOC offsetof(struct paca_struct, kernel_toc)
H A Dftrace.c599 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernel_toc)), in ftrace_dyn_arch_init()
/linux/arch/powerpc/platforms/powernv/
H A Didle.c1435 struct paca_struct *p = paca_ptrs[cpu]; in pnv_init_idle_states()
/linux/arch/powerpc/xmon/
H A Dxmon.c2592 struct paca_struct *p; in dump_one_paca()
2615 offsetof(struct paca_struct, name)); in dump_one_paca()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv.c3195 struct paca_struct *tpaca; in kvmppc_grab_hwthread()
3229 struct paca_struct *tpaca; in kvmppc_release_hwthread()
3337 struct paca_struct *tpaca; in kvmppc_start_thread()
3911 struct paca_struct *paca = paca_ptrs[pcpu + thr]; in kvmppc_run_core()