| /arch/s390/kernel/ |
| A D | asm-offsets.c | 77 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main() 78 OFFSET(__LC_PGM_CODE, lowcore, pgm_code); in main() 82 OFFSET(__LC_PER_CODE, lowcore, per_code); in main() 83 OFFSET(__LC_PER_ATMID, lowcore, per_atmid); in main() 114 OFFSET(__LC_SAVE_AREA, lowcore, save_area); in main() 116 OFFSET(__LC_PCPU, lowcore, pcpu); in main() 137 OFFSET(__LC_LPP, lowcore, lpp); in main() 141 OFFSET(__LC_DUMP_REIPL, lowcore, ipib); in main() 143 OFFSET(__LC_OS_INFO, lowcore, os_info); in main() 145 OFFSET(__LC_MCESAD, lowcore, mcesad); in main() [all …]
|
| A D | abs_lowcore.c | 9 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc) in abs_lowcore_map() 11 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_map() 40 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_unmap()
|
| A D | entry.S | 51 .macro MBEAR reg, lowcore 56 .macro CHECK_VMAP_STACK savearea, lowcore, oklabel 60 clg %r14,__LC_KERNEL_STACK(\lowcore) 62 clg %r14,__LC_ASYNC_STACK(\lowcore) 64 clg %r14,__LC_MCCK_STACK(\lowcore) 66 clg %r14,__LC_NODAT_STACK(\lowcore) 68 clg %r14,__LC_RESTART_STACK(\lowcore) 70 la %r14,\savearea(\lowcore) 116 .macro SIEEXIT sie_control,lowcore 119 lctlg %c1,%c1,__LC_USER_ASCE(\lowcore) # load primary asce [all …]
|
| A D | ctlreg.c | 37 void __init system_ctlreg_init_save_area(struct lowcore *lc) in system_ctlreg_init_save_area() 39 struct lowcore *abs_lc; in system_ctlreg_init_save_area() 91 struct lowcore *abs_lc; in system_ctlreg_modify()
|
| A D | vtime.c | 38 struct lowcore *lc = get_lowcore(); in set_vtimer() 121 struct lowcore *lc = get_lowcore(); in do_account_vtime() 181 struct lowcore *lc = get_lowcore(); in vtime_task_switch() 203 struct lowcore *lc = get_lowcore(); in vtime_flush() 221 struct lowcore *lc = get_lowcore(); in vtime_delta() 234 struct lowcore *lc = get_lowcore(); in vtime_account_kernel()
|
| A D | smp.c | 187 struct lowcore *lc; in pcpu_alloc_lowcore() 227 struct lowcore *lc; in pcpu_free_lowcore() 245 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary() 271 struct lowcore *lc; in pcpu_attach_task() 288 struct lowcore *lc; in pcpu_start_fn() 312 struct lowcore *lc, *abs_lc; in pcpu_delegate() 375 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu() 545 struct lowcore *lc; in smp_store_status() 823 struct lowcore *lc = get_lowcore(); in smp_start_secondary() 961 struct lowcore *lc = get_lowcore(); in smp_prepare_boot_cpu() [all …]
|
| A D | vmcore_info.c | 11 struct lowcore *abs_lc; in arch_crash_save_vmcoreinfo()
|
| A D | early.c | 155 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check() 184 struct lowcore *lc = get_lowcore(); in setup_lowcore_early()
|
| A D | nmi.c | 121 struct lowcore *lc = get_lowcore(); in nmi_print_info() 189 struct lowcore *lc = get_lowcore(); in s390_handle_damage() 370 struct lowcore *lc = get_lowcore(); in s390_do_machine_check()
|
| A D | idle.c | 27 struct lowcore *lc = get_lowcore(); in account_idle_time_irq()
|
| A D | setup.c | 181 struct lowcore *lowcore_ptr[NR_CPUS]; 390 struct lowcore *lc, *abs_lc; in setup_lowcore() 395 BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE); in setup_lowcore() 733 void *lowcore_end = lowcore_start + sizeof(struct lowcore); in reserve_lowcore()
|
| A D | traps.c | 272 struct lowcore *lc = get_lowcore(); in trap_init() 292 struct lowcore *lc = get_lowcore(); in __do_pgm_check()
|
| A D | os_info.c | 75 struct lowcore *abs_lc; in os_info_init()
|
| A D | text_amode31.S | 109 lg %r2,0(%r4) # Disable lowcore protection
|
| /arch/s390/include/asm/ |
| A D | abs_lowcore.h | 8 #define ABS_LOWCORE_MAP_SIZE (NR_CPUS * sizeof(struct lowcore)) 12 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc); 15 static inline struct lowcore *get_abs_lowcore(void) in get_abs_lowcore() 20 return ((struct lowcore *)__abs_lowcore) + cpu; in get_abs_lowcore() 23 static inline void put_abs_lowcore(struct lowcore *lc) in put_abs_lowcore()
|
| A D | smp.h | 20 BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu)); in raw_smp_processor_id() 21 lc_cpu_nr = offsetof(struct lowcore, cpu_nr); in raw_smp_processor_id() 29 "m" (((struct lowcore *)0)->cpu_nr)); in raw_smp_processor_id()
|
| A D | vtime.h | 7 struct lowcore *lc = get_lowcore(); in update_timer_sys() 16 struct lowcore *lc = get_lowcore(); in update_timer_mcck()
|
| A D | spinlock.h | 24 BUILD_BUG_ON(sizeof_field(struct lowcore, spinlock_lockval) != sizeof(lockval)); in spinlock_lockval() 25 lc_lockval = offsetof(struct lowcore, spinlock_lockval); in spinlock_lockval() 33 "m" (((struct lowcore *)0)->spinlock_lockval)); in spinlock_lockval()
|
| A D | lowcore.h | 31 struct lowcore { struct 218 static __always_inline struct lowcore *get_lowcore(void) in get_lowcore() argument 220 struct lowcore *lc; in get_lowcore() 233 extern struct lowcore *lowcore_ptr[];
|
| A D | current.h | 22 lc_current = offsetof(struct lowcore, current_task); in get_current()
|
| A D | ctlreg.h | 166 struct lowcore; 170 void system_ctlreg_init_save_area(struct lowcore *lc);
|
| /arch/s390/mm/ |
| A D | maccess.c | 138 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc) in get_swapped_owner() 155 struct lowcore *abs_lc; in xlate_dev_mem_ptr() 161 if (addr >= sizeof(struct lowcore)) { in xlate_dev_mem_ptr() 170 if (addr < sizeof(struct lowcore)) { in xlate_dev_mem_ptr()
|
| A D | dump_pagetables.c | 325 unsigned long lowcore = (unsigned long)get_lowcore(); in pt_dump_init() local 338 rc |= add_marker(lowcore, lowcore + sizeof(struct lowcore), "Lowcore"); in pt_dump_init()
|
| /arch/s390/boot/ |
| A D | boot.h | 113 #define __lowcore_pa(x) ((unsigned long)(x) % sizeof(struct lowcore)) 114 #define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))
|
| A D | startup.c | 307 #define FIXMAP_SIZE round_up(MEMCPY_REAL_SIZE + ABS_LOWCORE_MAP_SIZE, sizeof(struct lowcore)) 423 sizeof(struct lowcore)); in setup_kernel_memory_layout()
|