Searched refs:paca_struct (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/arch/powerpc/kernel/
H A Dasm-offsets.c141 DEFINE(PACATMSCRATCH, offsetof(struct paca_struct, tm_scratch)); main()
174 DEFINE(PACA_SIZE, sizeof(struct paca_struct)); main()
175 DEFINE(PACA_LOCK_TOKEN, offsetof(struct paca_struct, lock_token)); main()
176 DEFINE(PACAPACAINDEX, offsetof(struct paca_struct, paca_index)); main()
177 DEFINE(PACAPROCSTART, offsetof(struct paca_struct, cpu_start)); main()
178 DEFINE(PACAKSAVE, offsetof(struct paca_struct, kstack)); main()
179 DEFINE(PACACURRENT, offsetof(struct paca_struct, __current)); main()
180 DEFINE(PACASAVEDMSR, offsetof(struct paca_struct, saved_msr)); main()
181 DEFINE(PACASTABRR, offsetof(struct paca_struct, stab_rr)); main()
182 DEFINE(PACAR1, offsetof(struct paca_struct, saved_r1)); main()
183 DEFINE(PACATOC, offsetof(struct paca_struct, kernel_toc)); main()
184 DEFINE(PACAKBASE, offsetof(struct paca_struct, kernelbase)); main()
185 DEFINE(PACAKMSR, offsetof(struct paca_struct, kernel_msr)); main()
186 DEFINE(PACASOFTIRQEN, offsetof(struct paca_struct, soft_enabled)); main()
187 DEFINE(PACAIRQHAPPENED, offsetof(struct paca_struct, irq_happened)); main()
188 DEFINE(PACACONTEXTID, offsetof(struct paca_struct, context.id)); main()
190 DEFINE(PACALOWSLICESPSIZE, offsetof(struct paca_struct, main()
192 DEFINE(PACAHIGHSLICEPSIZE, offsetof(struct paca_struct, main()
198 DEFINE(PACAPGD, offsetof(struct paca_struct, pgd)); main()
199 DEFINE(PACA_KERNELPGD, offsetof(struct paca_struct, kernel_pgd)); main()
200 DEFINE(PACA_EXGEN, offsetof(struct paca_struct, exgen)); main()
201 DEFINE(PACA_EXTLB, offsetof(struct paca_struct, extlb)); main()
202 DEFINE(PACA_EXMC, offsetof(struct paca_struct, exmc)); main()
203 DEFINE(PACA_EXCRIT, offsetof(struct paca_struct, excrit)); main()
204 DEFINE(PACA_EXDBG, offsetof(struct paca_struct, exdbg)); main()
205 DEFINE(PACA_MC_STACK, offsetof(struct paca_struct, mc_kstack)); main()
206 DEFINE(PACA_CRIT_STACK, offsetof(struct paca_struct, crit_kstack)); main()
207 DEFINE(PACA_DBG_STACK, offsetof(struct paca_struct, dbg_kstack)); main()
208 DEFINE(PACA_TCD_PTR, offsetof(struct paca_struct, tcd_ptr)); main()
219 DEFINE(PACASLBCACHE, offsetof(struct paca_struct, slb_cache)); main()
220 DEFINE(PACASLBCACHEPTR, offsetof(struct paca_struct, slb_cache_ptr)); main()
221 DEFINE(PACAVMALLOCSLLP, offsetof(struct paca_struct, vmalloc_sllp)); main()
225 DEFINE(PACACONTEXTSLLP, offsetof(struct paca_struct, context.sllp)); main()
227 DEFINE(PACA_EXGEN, offsetof(struct paca_struct, exgen)); main()
228 DEFINE(PACA_EXMC, offsetof(struct paca_struct, exmc)); main()
229 DEFINE(PACA_EXSLB, offsetof(struct paca_struct, exslb)); main()
230 DEFINE(PACALPPACAPTR, offsetof(struct paca_struct, lppaca_ptr)); main()
231 DEFINE(PACA_SLBSHADOWPTR, offsetof(struct paca_struct, slb_shadow_ptr)); main()
240 DEFINE(PACA_DTL_RIDX, offsetof(struct paca_struct, dtl_ridx)); main()
242 DEFINE(PACAEMERGSP, offsetof(struct paca_struct, emergency_sp)); main()
244 DEFINE(PACAMCEMERGSP, offsetof(struct paca_struct, mc_emergency_sp)); main()
245 DEFINE(PACA_IN_MCE, offsetof(struct paca_struct, in_mce)); main()
247 DEFINE(PACAHWCPUID, offsetof(struct paca_struct, hw_cpu_id)); main()
248 DEFINE(PACAKEXECSTATE, offsetof(struct paca_struct, kexec_state)); main()
249 DEFINE(PACA_DSCR_DEFAULT, offsetof(struct paca_struct, dscr_default)); main()
250 DEFINE(PACA_STARTTIME, offsetof(struct paca_struct, starttime)); main()
251 DEFINE(PACA_STARTTIME_USER, offsetof(struct paca_struct, starttime_user)); main()
252 DEFINE(PACA_USER_TIME, offsetof(struct paca_struct, user_time)); main()
253 DEFINE(PACA_SYSTEM_TIME, offsetof(struct paca_struct, system_time)); main()
254 DEFINE(PACA_TRAP_SAVE, offsetof(struct paca_struct, trap_save)); main()
255 DEFINE(PACA_NAPSTATELOST, offsetof(struct paca_struct, nap_state_lost)); main()
256 DEFINE(PACA_SPRG_VDSO, offsetof(struct paca_struct, sprg_vdso)); main()
597 DEFINE(PACA_SVCPU, offsetof(struct paca_struct, shadow_vcpu)); main()
598 # define SVCPU_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, shadow_vcpu.f)) main()
602 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, kvm_hstate.f)) main()
762 offsetof(struct paca_struct, core_idle_state_ptr)); main()
764 offsetof(struct paca_struct, thread_idle_state)); main()
766 offsetof(struct paca_struct, thread_mask)); main()
768 offsetof(struct paca_struct, subcore_sibling_mask)); main()
H A Dpaca.c147 struct paca_struct *paca; allocate_slb_shadows()
150 void __init initialise_paca(struct paca_struct *new_paca, int cpu) initialise_paca()
183 void setup_paca(struct paca_struct *new_paca) setup_paca()
221 paca_size = PAGE_ALIGN(sizeof(struct paca_struct) * nr_cpu_ids); allocate_pacas()
242 new_size = PAGE_ALIGN(sizeof(struct paca_struct) * nr_cpu_ids); free_unused_pacas()
H A Dmachine_kexec_64.c327 struct paca_struct kexec_paca;
365 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); default_machine_kexec()
367 paca = (struct paca_struct *)RELOC_HIDE(&kexec_paca, 0) - default_machine_kexec()
H A Dirq.c102 : "=r" (happened) : "i" (offsetof(struct paca_struct, irq_happened))); get_irq_happened()
110 : : "r" (enable), "i" (offsetof(struct paca_struct, soft_enabled))); set_soft_enabled()
H A Dtime.c441 : "i" (offsetof(struct paca_struct, irq_work_pending))); test_irq_work_pending()
449 "i" (offsetof(struct paca_struct, irq_work_pending))); set_irq_work_pending_flag()
456 "i" (offsetof(struct paca_struct, irq_work_pending))); clear_irq_work_pending()
H A Dsetup_64.c246 static __initdata struct paca_struct boot_paca; early_setup()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dcurrent.h24 : "i" (offsetof(struct paca_struct, __current))); get_current()
H A Dpaca.h28 register struct paca_struct *local_paca asm("r13");
34 * otherwise the paca_struct it points to may be the wrong one just after.
52 struct paca_struct { struct
197 extern struct paca_struct *paca;
198 extern void initialise_paca(struct paca_struct *new_paca, int cpu);
199 extern void setup_paca(struct paca_struct *new_paca);
H A Dhw_irq.h51 : "i" (offsetof(struct paca_struct, soft_enabled))); arch_local_save_flags()
63 : "i" (offsetof(struct paca_struct, soft_enabled)) arch_local_irq_disable()
H A Dio.h642 : "=&r" (tmp) : "i" (offsetof(struct paca_struct, io_sync)) mmiowb()
/linux-4.4.14/arch/powerpc/mm/
H A Dhugetlbpage-book3e.c15 struct paca_struct *paca = get_paca(); tlb1_next()
/linux-4.4.14/arch/powerpc/net/
H A Dbpf_jit.h160 do { BUILD_BUG_ON(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \
161 PPC_LHZ_OFFS(r, 13, offsetof(struct paca_struct, paca_index)); \
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dlpar.c69 struct paca_struct *pp; vpa_init()
H A Dsetup.c301 struct paca_struct *pp; alloc_dispatch_logs()
/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s_hv.c1761 struct paca_struct *tpaca; kvmppc_grab_hwthread()
1795 struct paca_struct *tpaca; kvmppc_release_hwthread()
1807 struct paca_struct *tpaca; kvmppc_start_thread()
/linux-4.4.14/arch/powerpc/xmon/
H A Dxmon.c2088 struct paca_struct *p; dump_one_paca()
2111 offsetof(struct paca_struct, name)); dump_one_paca()

Completed in 517 milliseconds