/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 86 OFFSET(PACA_CANARY, paca_struct, canary); in main() 172 OFFSET(PACATMSCRATCH, paca_struct, tm_scratch); in main() 201 DEFINE(PACA_SIZE, sizeof(struct paca_struct)); in main() 202 OFFSET(PACAPACAINDEX, paca_struct, paca_index); in main() 203 OFFSET(PACAPROCSTART, paca_struct, cpu_start); in main() 204 OFFSET(PACAKSAVE, paca_struct, kstack); in main() 205 OFFSET(PACACURRENT, paca_struct, __current); in main() 206 DEFINE(PACA_THREAD_INFO, offsetof(struct paca_struct, __current) + in main() 208 OFFSET(PACASAVEDMSR, paca_struct, saved_msr); in main() 209 OFFSET(PACAR1, paca_struct, saved_r in main() [all...] |
H A D | paca.c | 208 struct paca_struct **paca_ptrs __read_mostly; 211 void __init initialise_paca(struct paca_struct *new_paca, int cpu) in initialise_paca() 244 void setup_paca(struct paca_struct *new_paca) in setup_paca() 276 paca_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in allocate_paca_ptrs() 288 struct paca_struct *paca; in allocate_paca() 302 paca = alloc_paca_data(sizeof(struct paca_struct), L1_CACHE_BYTES, in allocate_paca() 316 paca_struct_size += sizeof(struct paca_struct); in allocate_paca() 323 new_ptrs_size = sizeof(struct paca_struct *) * nr_cpu_ids; in free_unused_pacas()
|
H A D | stacktrace.c | 235 struct paca_struct *p; in raise_backtrace_ipi()
|
H A D | time.c | 491 : "i" (offsetof(struct paca_struct, irq_work_pending))); in test_irq_work_pending() 499 "i" (offsetof(struct paca_struct, irq_work_pending))); in set_irq_work_pending_flag() 506 "i" (offsetof(struct paca_struct, irq_work_pending))); in clear_irq_work_pending()
|
H A D | setup_64.c | 301 static __initdata struct paca_struct boot_paca; in early_setup() 1087 struct paca_struct *paca = paca_ptrs[cpu]; in init_fallback_flush()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 84 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_to in main() [all...] |
H A D | paca.c | 181 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 D | irq_64.c | 241 : : "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 D | time.c | 411 : "i" (offsetof(struct paca_struct, irq_work_pending))); in test_irq_work_pending() 419 "i" (offsetof(struct paca_struct, irq_work_pending))); in set_irq_work_pending_flag() 426 "i" (offsetof(struct paca_struct, irq_work_pending))); in clear_irq_work_pending()
|
H A D | stacktrace.c | 159 struct paca_struct *p; in raise_backtrace_ipi()
|
H A D | setup_64.c | 180 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 D | module_64.c | 472 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernelbase)), 480 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernel_toc)),
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | paca.h | 34 register struct paca_struct *local_paca asm("r13"); 40 * otherwise the paca_struct it points to may be the wrong one just after. 59 struct paca_struct { struct 275 extern struct paca_struct **paca_ptrs; 276 extern void initialise_paca(struct paca_struct *new_paca, int cpu); 277 extern void setup_paca(struct paca_struct *new_paca);
|
H A D | hw_irq.h | 72 : "i" (offsetof(struct paca_struct, irq_soft_mask))); in irq_soft_mask_return() 106 "i" (offsetof(struct paca_struct, irq_soft_mask)) in irq_soft_mask_set() 121 : "i" (offsetof(struct paca_struct, irq_soft_mask)), in irq_soft_mask_set_return() 135 : "i" (offsetof(struct paca_struct, irq_soft_mask)), in irq_soft_mask_or_return()
|
H A D | current.h | 22 : "i" (offsetof(struct paca_struct, __current))); in get_current()
|
H A D | asm-prototypes.h | 28 struct paca_struct; 30 extern struct paca_struct kexec_paca;
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | paca.h | 36 register struct paca_struct *local_paca asm("r13"); 42 * otherwise the paca_struct it points to may be the wrong one just after. 61 struct paca_struct { struct 288 extern struct paca_struct **paca_ptrs; 289 extern void initialise_paca(struct paca_struct *new_paca, int cpu); 290 extern void setup_paca(struct paca_struct *new_paca);
|
H A D | current.h | 22 : "i" (offsetof(struct paca_struct, __current))); in get_current()
|
H A D | hw_irq.h | 123 : "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()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
H A D | book3e_hugetlbpage.c | 19 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()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 19 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()
|
/kernel/linux/linux-5.10/arch/powerpc/net/ |
H A D | bpf_jit32.h | 100 do { BUILD_BUG_ON(sizeof_field(struct paca_struct, paca_index) != 2); \ 101 PPC_LHZ_OFFS(r, 13, offsetof(struct paca_struct, paca_index)); \
|
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
H A D | core_64.c | 290 struct paca_struct kexec_paca; 329 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
|
/kernel/linux/linux-6.6/arch/powerpc/kexec/ |
H A D | core_64.c | 293 static struct paca_struct kexec_paca; 332 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 85 struct paca_struct *pp; in alloc_dtl_buffers() 117 struct paca_struct *pp; in register_dtl_buffer() 184 struct paca_struct *pp; in free_dtl_buffers()
|