arch/s390/boot/boot.h
125
#define __lowcore_pa(x) ((unsigned long)(x) % sizeof(struct lowcore))
arch/s390/boot/boot.h
126
#define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))
arch/s390/boot/startup.c
303
#define FIXMAP_SIZE round_up(MEMCPY_REAL_SIZE + ABS_LOWCORE_MAP_SIZE, sizeof(struct lowcore))
arch/s390/boot/startup.c
420
sizeof(struct lowcore));
arch/s390/boot/vmem.c
517
lowcore_address + sizeof(struct lowcore),
arch/s390/boot/vmem.c
522
start = sizeof(struct lowcore);
arch/s390/boot/vmem.c
539
pgtable_populate(__abs_lowcore, __abs_lowcore + sizeof(struct lowcore),
arch/s390/include/asm/abs_lowcore.h
12
int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc);
arch/s390/include/asm/abs_lowcore.h
15
static inline struct lowcore *get_abs_lowcore(void)
arch/s390/include/asm/abs_lowcore.h
20
return ((struct lowcore *)__abs_lowcore) + cpu;
arch/s390/include/asm/abs_lowcore.h
23
static inline void put_abs_lowcore(struct lowcore *lc)
arch/s390/include/asm/abs_lowcore.h
8
#define ABS_LOWCORE_MAP_SIZE (NR_CPUS * sizeof(struct lowcore))
arch/s390/include/asm/ctlreg.h
166
struct lowcore;
arch/s390/include/asm/ctlreg.h
170
void system_ctlreg_init_save_area(struct lowcore *lc);
arch/s390/include/asm/current.h
22
lc_current = offsetof(struct lowcore, current_task);
arch/s390/include/asm/lowcore.h
219
static __always_inline struct lowcore *get_lowcore(void)
arch/s390/include/asm/lowcore.h
221
struct lowcore *lc;
arch/s390/include/asm/lowcore.h
234
extern struct lowcore *lowcore_ptr[];
arch/s390/include/asm/preempt.h
120
lc_preempt = offsetof(struct lowcore, preempt_count);
arch/s390/include/asm/preempt.h
125
: "=@cc" (cc), "+m" (((struct lowcore *)0)->preempt_count)
arch/s390/include/asm/preempt.h
31
BUILD_BUG_ON(sizeof_field(struct lowcore, preempt_count) != sizeof(int));
arch/s390/include/asm/preempt.h
32
lc_preempt = offsetof(struct lowcore, preempt_count);
arch/s390/include/asm/preempt.h
41
"m" (((struct lowcore *)0)->preempt_count));
arch/s390/include/asm/preempt.h
89
lc_preempt = offsetof(struct lowcore, preempt_count);
arch/s390/include/asm/preempt.h
94
: "+m" (((struct lowcore *)0)->preempt_count)
arch/s390/include/asm/smp.h
20
BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu));
arch/s390/include/asm/smp.h
21
lc_cpu_nr = offsetof(struct lowcore, cpu_nr);
arch/s390/include/asm/smp.h
29
"m" (((struct lowcore *)0)->cpu_nr));
arch/s390/include/asm/spinlock.h
24
BUILD_BUG_ON(sizeof_field(struct lowcore, spinlock_lockval) != sizeof(lockval));
arch/s390/include/asm/spinlock.h
25
lc_lockval = offsetof(struct lowcore, spinlock_lockval);
arch/s390/include/asm/spinlock.h
33
"m" (((struct lowcore *)0)->spinlock_lockval));
arch/s390/include/asm/vtime.h
13
struct lowcore *lc = get_lowcore();
arch/s390/include/asm/vtime.h
22
struct lowcore *lc = get_lowcore();
arch/s390/include/asm/vtime.h
32
struct lowcore *lc = get_lowcore();
arch/s390/include/uapi/asm/ptrace.h
255
} lowcore;
arch/s390/kernel/abs_lowcore.c
11
unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore));
arch/s390/kernel/abs_lowcore.c
40
unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore));
arch/s390/kernel/abs_lowcore.c
9
int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc)
arch/s390/kernel/asm-offsets.c
100
OFFSET(__LC_MCCK_CODE, lowcore, mcck_interruption_code);
arch/s390/kernel/asm-offsets.c
101
OFFSET(__LC_EXT_DAMAGE_CODE, lowcore, external_damage_code);
arch/s390/kernel/asm-offsets.c
102
OFFSET(__LC_MCCK_FAIL_STOR_ADDR, lowcore, failing_storage_address);
arch/s390/kernel/asm-offsets.c
103
OFFSET(__LC_PGM_LAST_BREAK, lowcore, pgm_last_break);
arch/s390/kernel/asm-offsets.c
104
OFFSET(__LC_RETURN_LPSWE, lowcore, return_lpswe);
arch/s390/kernel/asm-offsets.c
105
OFFSET(__LC_RETURN_MCCK_LPSWE, lowcore, return_mcck_lpswe);
arch/s390/kernel/asm-offsets.c
106
OFFSET(__LC_RST_OLD_PSW, lowcore, restart_old_psw);
arch/s390/kernel/asm-offsets.c
107
OFFSET(__LC_EXT_OLD_PSW, lowcore, external_old_psw);
arch/s390/kernel/asm-offsets.c
108
OFFSET(__LC_SVC_OLD_PSW, lowcore, svc_old_psw);
arch/s390/kernel/asm-offsets.c
109
OFFSET(__LC_PGM_OLD_PSW, lowcore, program_old_psw);
arch/s390/kernel/asm-offsets.c
110
OFFSET(__LC_MCK_OLD_PSW, lowcore, mcck_old_psw);
arch/s390/kernel/asm-offsets.c
111
OFFSET(__LC_IO_OLD_PSW, lowcore, io_old_psw);
arch/s390/kernel/asm-offsets.c
112
OFFSET(__LC_RST_NEW_PSW, lowcore, restart_psw);
arch/s390/kernel/asm-offsets.c
113
OFFSET(__LC_EXT_NEW_PSW, lowcore, external_new_psw);
arch/s390/kernel/asm-offsets.c
114
OFFSET(__LC_SVC_NEW_PSW, lowcore, svc_new_psw);
arch/s390/kernel/asm-offsets.c
115
OFFSET(__LC_PGM_NEW_PSW, lowcore, program_new_psw);
arch/s390/kernel/asm-offsets.c
116
OFFSET(__LC_MCK_NEW_PSW, lowcore, mcck_new_psw);
arch/s390/kernel/asm-offsets.c
117
OFFSET(__LC_IO_NEW_PSW, lowcore, io_new_psw);
arch/s390/kernel/asm-offsets.c
119
OFFSET(__LC_SAVE_AREA, lowcore, save_area);
arch/s390/kernel/asm-offsets.c
120
OFFSET(__LC_SAVE_AREA_RESTART, lowcore, save_area_restart);
arch/s390/kernel/asm-offsets.c
121
OFFSET(__LC_PCPU, lowcore, pcpu);
arch/s390/kernel/asm-offsets.c
122
OFFSET(__LC_RETURN_PSW, lowcore, return_psw);
arch/s390/kernel/asm-offsets.c
123
OFFSET(__LC_RETURN_MCCK_PSW, lowcore, return_mcck_psw);
arch/s390/kernel/asm-offsets.c
124
OFFSET(__LC_SYS_ENTER_TIMER, lowcore, sys_enter_timer);
arch/s390/kernel/asm-offsets.c
125
OFFSET(__LC_MCCK_ENTER_TIMER, lowcore, mcck_enter_timer);
arch/s390/kernel/asm-offsets.c
126
OFFSET(__LC_EXIT_TIMER, lowcore, exit_timer);
arch/s390/kernel/asm-offsets.c
127
OFFSET(__LC_LAST_UPDATE_TIMER, lowcore, last_update_timer);
arch/s390/kernel/asm-offsets.c
128
OFFSET(__LC_LAST_UPDATE_CLOCK, lowcore, last_update_clock);
arch/s390/kernel/asm-offsets.c
129
OFFSET(__LC_INT_CLOCK, lowcore, int_clock);
arch/s390/kernel/asm-offsets.c
130
OFFSET(__LC_CURRENT, lowcore, current_task);
arch/s390/kernel/asm-offsets.c
131
OFFSET(__LC_KERNEL_STACK, lowcore, kernel_stack);
arch/s390/kernel/asm-offsets.c
132
OFFSET(__LC_ASYNC_STACK, lowcore, async_stack);
arch/s390/kernel/asm-offsets.c
133
OFFSET(__LC_NODAT_STACK, lowcore, nodat_stack);
arch/s390/kernel/asm-offsets.c
134
OFFSET(__LC_RESTART_STACK, lowcore, restart_stack);
arch/s390/kernel/asm-offsets.c
135
OFFSET(__LC_MCCK_STACK, lowcore, mcck_stack);
arch/s390/kernel/asm-offsets.c
136
OFFSET(__LC_RESTART_FN, lowcore, restart_fn);
arch/s390/kernel/asm-offsets.c
137
OFFSET(__LC_RESTART_DATA, lowcore, restart_data);
arch/s390/kernel/asm-offsets.c
138
OFFSET(__LC_RESTART_SOURCE, lowcore, restart_source);
arch/s390/kernel/asm-offsets.c
139
OFFSET(__LC_RESTART_FLAGS, lowcore, restart_flags);
arch/s390/kernel/asm-offsets.c
140
OFFSET(__LC_KERNEL_ASCE, lowcore, kernel_asce);
arch/s390/kernel/asm-offsets.c
141
OFFSET(__LC_USER_ASCE, lowcore, user_asce);
arch/s390/kernel/asm-offsets.c
142
OFFSET(__LC_LPP, lowcore, lpp);
arch/s390/kernel/asm-offsets.c
143
OFFSET(__LC_CURRENT_PID, lowcore, current_pid);
arch/s390/kernel/asm-offsets.c
144
OFFSET(__LC_LAST_BREAK, lowcore, last_break);
arch/s390/kernel/asm-offsets.c
146
OFFSET(__LC_STACK_CANARY, lowcore, stack_canary);
arch/s390/kernel/asm-offsets.c
147
OFFSET(__LC_DUMP_REIPL, lowcore, ipib);
arch/s390/kernel/asm-offsets.c
148
OFFSET(__LC_VMCORE_INFO, lowcore, vmcore_info);
arch/s390/kernel/asm-offsets.c
149
OFFSET(__LC_OS_INFO, lowcore, os_info);
arch/s390/kernel/asm-offsets.c
151
OFFSET(__LC_MCESAD, lowcore, mcesad);
arch/s390/kernel/asm-offsets.c
152
OFFSET(__LC_EXT_PARAMS2, lowcore, ext_params2);
arch/s390/kernel/asm-offsets.c
153
OFFSET(__LC_FPREGS_SAVE_AREA, lowcore, floating_pt_save_area);
arch/s390/kernel/asm-offsets.c
154
OFFSET(__LC_GPREGS_SAVE_AREA, lowcore, gpregs_save_area);
arch/s390/kernel/asm-offsets.c
155
OFFSET(__LC_PSW_SAVE_AREA, lowcore, psw_save_area);
arch/s390/kernel/asm-offsets.c
156
OFFSET(__LC_PREFIX_SAVE_AREA, lowcore, prefixreg_save_area);
arch/s390/kernel/asm-offsets.c
157
OFFSET(__LC_FP_CREG_SAVE_AREA, lowcore, fpt_creg_save_area);
arch/s390/kernel/asm-offsets.c
158
OFFSET(__LC_TOD_PROGREG_SAVE_AREA, lowcore, tod_progreg_save_area);
arch/s390/kernel/asm-offsets.c
159
OFFSET(__LC_CPU_TIMER_SAVE_AREA, lowcore, cpu_timer_save_area);
arch/s390/kernel/asm-offsets.c
160
OFFSET(__LC_CLOCK_COMP_SAVE_AREA, lowcore, clock_comp_save_area);
arch/s390/kernel/asm-offsets.c
161
OFFSET(__LC_LAST_BREAK_SAVE_AREA, lowcore, last_break_save_area);
arch/s390/kernel/asm-offsets.c
162
OFFSET(__LC_AREGS_SAVE_AREA, lowcore, access_regs_save_area);
arch/s390/kernel/asm-offsets.c
163
OFFSET(__LC_CREGS_SAVE_AREA, lowcore, cregs_save_area);
arch/s390/kernel/asm-offsets.c
164
OFFSET(__LC_PGM_TDB, lowcore, pgm_tdb);
arch/s390/kernel/asm-offsets.c
79
OFFSET(__LC_EXT_PARAMS, lowcore, ext_params);
arch/s390/kernel/asm-offsets.c
80
OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr);
arch/s390/kernel/asm-offsets.c
81
OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code);
arch/s390/kernel/asm-offsets.c
82
OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc);
arch/s390/kernel/asm-offsets.c
83
OFFSET(__LC_PGM_CODE, lowcore, pgm_code);
arch/s390/kernel/asm-offsets.c
84
OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_int_code);
arch/s390/kernel/asm-offsets.c
85
OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code);
arch/s390/kernel/asm-offsets.c
86
OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_num);
arch/s390/kernel/asm-offsets.c
87
OFFSET(__LC_PER_CODE, lowcore, per_code);
arch/s390/kernel/asm-offsets.c
88
OFFSET(__LC_PER_ATMID, lowcore, per_atmid);
arch/s390/kernel/asm-offsets.c
89
OFFSET(__LC_PER_ADDRESS, lowcore, per_address);
arch/s390/kernel/asm-offsets.c
90
OFFSET(__LC_EXC_ACCESS_ID, lowcore, exc_access_id);
arch/s390/kernel/asm-offsets.c
91
OFFSET(__LC_PER_ACCESS_ID, lowcore, per_access_id);
arch/s390/kernel/asm-offsets.c
92
OFFSET(__LC_OP_ACCESS_ID, lowcore, op_access_id);
arch/s390/kernel/asm-offsets.c
93
OFFSET(__LC_AR_MODE_ID, lowcore, ar_mode_id);
arch/s390/kernel/asm-offsets.c
94
OFFSET(__LC_TRANS_EXC_CODE, lowcore, trans_exc_code);
arch/s390/kernel/asm-offsets.c
95
OFFSET(__LC_MON_CODE, lowcore, monitor_code);
arch/s390/kernel/asm-offsets.c
96
OFFSET(__LC_SUBCHANNEL_ID, lowcore, subchannel_id);
arch/s390/kernel/asm-offsets.c
97
OFFSET(__LC_SUBCHANNEL_NR, lowcore, subchannel_nr);
arch/s390/kernel/asm-offsets.c
98
OFFSET(__LC_IO_INT_PARM, lowcore, io_int_parm);
arch/s390/kernel/asm-offsets.c
99
OFFSET(__LC_IO_INT_WORD, lowcore, io_int_word);
arch/s390/kernel/crash_dump.c
89
struct lowcore *lc;
arch/s390/kernel/crash_dump.c
91
lc = (struct lowcore *)(regs - __LC_FPREGS_SAVE_AREA);
arch/s390/kernel/ctlreg.c
37
void __init system_ctlreg_init_save_area(struct lowcore *lc)
arch/s390/kernel/ctlreg.c
39
struct lowcore *abs_lc;
arch/s390/kernel/ctlreg.c
91
struct lowcore *abs_lc;
arch/s390/kernel/early.c
155
struct lowcore *lc = get_lowcore();
arch/s390/kernel/early.c
184
struct lowcore *lc = get_lowcore();
arch/s390/kernel/ipl.c
1928
struct lowcore *abs_lc;
arch/s390/kernel/machine_kexec_file.c
229
data->kernel_buf + offsetof(struct lowcore, ipl_parmblock_ptr);
arch/s390/kernel/nmi.c
121
struct lowcore *lc = get_lowcore();
arch/s390/kernel/nmi.c
189
struct lowcore *lc = get_lowcore();
arch/s390/kernel/nmi.c
369
struct lowcore *lc = get_lowcore();
arch/s390/kernel/os_info.c
74
struct lowcore *abs_lc;
arch/s390/kernel/setup.c
179
struct lowcore *lowcore_ptr[NR_CPUS];
arch/s390/kernel/setup.c
388
struct lowcore *lc, *abs_lc;
arch/s390/kernel/setup.c
393
BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE);
arch/s390/kernel/setup.c
731
void *lowcore_end = lowcore_start + sizeof(struct lowcore);
arch/s390/kernel/smp.c
186
struct lowcore *lc;
arch/s390/kernel/smp.c
188
lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER);
arch/s390/kernel/smp.c
226
struct lowcore *lc;
arch/s390/kernel/smp.c
244
struct lowcore *lc, *abs_lc;
arch/s390/kernel/smp.c
270
struct lowcore *lc;
arch/s390/kernel/smp.c
290
struct lowcore *lc;
arch/s390/kernel/smp.c
314
struct lowcore *lc, *abs_lc;
arch/s390/kernel/smp.c
377
struct lowcore *lc = lowcore_ptr[0];
arch/s390/kernel/smp.c
547
struct lowcore *lc;
arch/s390/kernel/smp.c
826
struct lowcore *lc = get_lowcore();
arch/s390/kernel/smp.c
964
struct lowcore *lc = get_lowcore();
arch/s390/kernel/smp.c
977
struct lowcore *lc = get_lowcore();
arch/s390/kernel/traps.c
311
struct lowcore *lc = get_lowcore();
arch/s390/kernel/traps.c
331
struct lowcore *lc = get_lowcore();
arch/s390/kernel/vmcore_info.c
11
struct lowcore *abs_lc;
arch/s390/kernel/vtime.c
120
struct lowcore *lc = get_lowcore();
arch/s390/kernel/vtime.c
173
struct lowcore *lc = get_lowcore();
arch/s390/kernel/vtime.c
195
struct lowcore *lc = get_lowcore();
arch/s390/kernel/vtime.c
213
struct lowcore *lc = get_lowcore();
arch/s390/kernel/vtime.c
222
struct lowcore *lc = get_lowcore();
arch/s390/kernel/vtime.c
38
struct lowcore *lc = get_lowcore();
arch/s390/kvm/interrupt.c
684
offsetof(struct lowcore, restart_old_psw),
arch/s390/kvm/interrupt.c
686
rc |= read_guest_lc(vcpu, offsetof(struct lowcore, restart_psw),
arch/s390/kvm/priv.c
682
rc = write_guest_lc(vcpu, offsetof(struct lowcore, stfl_fac_list),
arch/s390/lib/uaccess.c
22
struct lowcore *lc = get_lowcore();
arch/s390/mm/dump_pagetables.c
320
unsigned long lowcore = (unsigned long)get_lowcore();
arch/s390/mm/dump_pagetables.c
333
rc |= add_marker(lowcore, lowcore + sizeof(struct lowcore), "Lowcore");
arch/s390/mm/maccess.c
138
if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc)
arch/s390/mm/maccess.c
155
struct lowcore *abs_lc;
arch/s390/mm/maccess.c
161
if (addr >= sizeof(struct lowcore)) {
arch/s390/mm/maccess.c
170
if (addr < sizeof(struct lowcore)) {
tools/testing/selftests/kvm/s390/debug_test.c
25
char *lowcore;
tools/testing/selftests/kvm/s390/debug_test.c
28
lowcore = addr_gpa2hva(vm, 0);
tools/testing/selftests/kvm/s390/debug_test.c
31
memcpy(lowcore + new_psw_off, new_psw, 16);