Home
last modified time | relevance | path

Searched refs:lowcore (Results 1 – 25 of 38) sorted by relevance

12

/linux/arch/s390/kernel/
H A Dasm-offsets.c79 OFFSET(__LC_EXT_PARAMS, lowcore, ext_params); in main()
80 OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr); in main()
81 OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code); in main()
82 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main()
83 OFFSET(__LC_PGM_CODE, lowcore, pgm_code); in main()
84 OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_int_code); in main()
85 OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code); in main()
86 OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_num); in main()
87 OFFSET(__LC_PER_CODE, lowcore, per_code); in main()
88 OFFSET(__LC_PER_ATMID, lowcore, per_atmid); in main()
[all …]
H A Dentry.S52 .macro MBEAR reg, lowcore argument
53 ALTERNATIVE "brcl 0,0", __stringify(mvc __PT_LAST_BREAK(8,\reg),__LC_LAST_BREAK(\lowcore)),\
57 .macro CHECK_VMAP_STACK savearea, lowcore, oklabel
61 clg %r14,__LC_KERNEL_STACK(\lowcore)
63 clg %r14,__LC_ASYNC_STACK(\lowcore)
65 clg %r14,__LC_MCCK_STACK(\lowcore)
67 clg %r14,__LC_NODAT_STACK(\lowcore)
69 clg %r14,__LC_RESTART_STACK(\lowcore)
71 la %r14,\savearea(\lowcore)
117 .macro SIEEXIT sie_control,lowcore argument
[all …]
H A Dabs_lowcore.c9 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()
H A Dctlreg.c37 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()
H A Dvtime.c38 struct lowcore *lc = get_lowcore(); in set_vtimer()
120 struct lowcore *lc = get_lowcore(); in do_account_vtime()
173 struct lowcore *lc = get_lowcore(); in vtime_task_switch()
195 struct lowcore *lc = get_lowcore(); in vtime_flush()
213 struct lowcore *lc = get_lowcore(); in vtime_delta()
222 struct lowcore *lc = get_lowcore(); in vtime_account_kernel()
H A Dsmp.c186 struct lowcore *lc; in pcpu_alloc_lowcore()
188 lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER); in pcpu_alloc_lowcore()
226 struct lowcore *lc; in pcpu_free_lowcore()
244 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary()
270 struct lowcore *lc; in pcpu_attach_task()
290 struct lowcore *lc; in pcpu_start_fn()
314 struct lowcore *lc, *abs_lc; in pcpu_delegate()
377 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu()
547 struct lowcore *lc; in smp_store_status()
826 struct lowcore *lc = get_lowcore(); in smp_start_secondary()
[all …]
H A Dearly.c155 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check()
184 struct lowcore *lc = get_lowcore(); in setup_lowcore_early()
H A Dnmi.c121 struct lowcore *lc = get_lowcore(); in nmi_print_info()
189 struct lowcore *lc = get_lowcore(); in s390_handle_damage()
369 struct lowcore *lc = get_lowcore(); in s390_do_machine_check()
H A Dvmcore_info.c11 struct lowcore *abs_lc; in arch_crash_save_vmcoreinfo()
H A Dsetup.c179 struct lowcore *lowcore_ptr[NR_CPUS];
388 struct lowcore *lc, *abs_lc; in setup_lowcore()
393 BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE); in setup_lowcore()
731 void *lowcore_end = lowcore_start + sizeof(struct lowcore); in reserve_lowcore()
H A Dtraps.c311 struct lowcore *lc = get_lowcore(); in trap_init()
331 struct lowcore *lc = get_lowcore(); in __do_pgm_check()
/linux/arch/s390/include/asm/
H A Dabs_lowcore.h8 #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()
H A Dpreempt.h31 BUILD_BUG_ON(sizeof_field(struct lowcore, preempt_count) != sizeof(int)); in preempt_count()
32 lc_preempt = offsetof(struct lowcore, preempt_count); in preempt_count()
41 "m" (((struct lowcore *)0)->preempt_count)); in preempt_count()
89 lc_preempt = offsetof(struct lowcore, preempt_count); in __preempt_count_add()
94 : "+m" (((struct lowcore *)0)->preempt_count) in __preempt_count_add()
120 lc_preempt = offsetof(struct lowcore, preempt_count); in __preempt_count_dec_and_test()
125 : "=@cc" (cc), "+m" (((struct lowcore *)0)->preempt_count) in __preempt_count_dec_and_test()
H A Dvtime.h13 struct lowcore *lc = get_lowcore(); in update_timer_sys()
22 struct lowcore *lc = get_lowcore(); in update_timer_mcck()
32 struct lowcore *lc = get_lowcore(); in update_timer_idle()
H A Dsmp.h20 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()
H A Dlowcore.h31 struct lowcore { struct
219 static __always_inline struct lowcore *get_lowcore(void) in get_lowcore() argument
221 struct lowcore *lc; in get_lowcore()
234 extern struct lowcore *lowcore_ptr[];
H A Dspinlock.h24 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()
H A Dctlreg.h166 struct lowcore;
170 void system_ctlreg_init_save_area(struct lowcore *lc);
H A Dcurrent.h22 lc_current = offsetof(struct lowcore, current_task); in get_current()
/linux/arch/s390/mm/
H A Dmaccess.c138 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()
H A Ddump_pagetables.c320 unsigned long lowcore = (unsigned long)get_lowcore(); in pt_dump_init() local
333 rc |= add_marker(lowcore, lowcore + sizeof(struct lowcore), "Lowcore"); in pt_dump_init()
/linux/tools/testing/selftests/kvm/s390/
H A Ddebug_test.c25 char *lowcore; in test_step_int_1() local
28 lowcore = addr_gpa2hva(vm, 0); in test_step_int_1()
31 memcpy(lowcore + new_psw_off, new_psw, 16); in test_step_int_1()
/linux/arch/s390/boot/
H A Dboot.h125 #define __lowcore_pa(x) ((unsigned long)(x) % sizeof(struct lowcore))
126 #define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))
H A Dvmem.c517 lowcore_address + sizeof(struct lowcore), in setup_vmem()
522 start = sizeof(struct lowcore); in setup_vmem()
539 pgtable_populate(__abs_lowcore, __abs_lowcore + sizeof(struct lowcore), in setup_vmem()
/linux/arch/s390/include/uapi/asm/
H A Dptrace.h255 } lowcore; member

12