Lines Matching refs:lc

193 	struct lowcore *lc;
207 lc = pcpu->lowcore;
208 memcpy(lc, &S390_lowcore, 512);
209 memset((char *) lc + 512, 0, sizeof(*lc) - 512);
210 lc->async_stack = async_stack + STACK_INIT_OFFSET;
211 lc->nodat_stack = nodat_stack + STACK_INIT_OFFSET;
212 lc->cpu_nr = cpu;
213 lc->spinlock_lockval = arch_spin_lockval(cpu);
214 lc->spinlock_index = 0;
215 lc->br_r1_trampoline = 0x07f1; /* br %r1 */
216 lc->return_lpswe = gen_lpswe(__LC_RETURN_PSW);
217 lc->return_mcck_lpswe = gen_lpswe(__LC_RETURN_MCCK_PSW);
218 lc->preempt_count = PREEMPT_DISABLED;
219 if (nmi_alloc_per_cpu(lc))
221 if (vdso_alloc_per_cpu(lc))
223 lowcore_ptr[cpu] = lc;
224 pcpu_sigp_retry(pcpu, SIGP_SET_PREFIX, (u32)(unsigned long) lc);
228 nmi_free_per_cpu(lc);
260 struct lowcore *lc = pcpu->lowcore;
264 lc->cpu_nr = cpu;
265 lc->spinlock_lockval = arch_spin_lockval(cpu);
266 lc->spinlock_index = 0;
267 lc->percpu_offset = __per_cpu_offset[cpu];
268 lc->kernel_asce = S390_lowcore.kernel_asce;
269 lc->user_asce = S390_lowcore.kernel_asce;
270 lc->machine_flags = S390_lowcore.machine_flags;
271 lc->user_timer = lc->system_timer =
272 lc->steal_timer = lc->avg_steal_timer = 0;
273 __ctl_store(lc->cregs_save_area, 0, 15);
274 lc->cregs_save_area[1] = lc->kernel_asce;
275 lc->cregs_save_area[7] = lc->vdso_asce;
276 save_access_regs((unsigned int *) lc->access_regs_save_area);
277 memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list,
278 sizeof(lc->stfle_fac_list));
279 memcpy(lc->alt_stfle_fac_list, S390_lowcore.alt_stfle_fac_list,
280 sizeof(lc->alt_stfle_fac_list));
286 struct lowcore *lc = pcpu->lowcore;
288 lc->kernel_stack = (unsigned long) task_stack_page(tsk)
290 lc->current_task = (unsigned long) tsk;
291 lc->lpp = LPP_MAGIC;
292 lc->current_pid = tsk->pid;
293 lc->user_timer = tsk->thread.user_timer;
294 lc->guest_timer = tsk->thread.guest_timer;
295 lc->system_timer = tsk->thread.system_timer;
296 lc->hardirq_timer = tsk->thread.hardirq_timer;
297 lc->softirq_timer = tsk->thread.softirq_timer;
298 lc->steal_timer = 0;
303 struct lowcore *lc = pcpu->lowcore;
305 lc->restart_stack = lc->nodat_stack;
306 lc->restart_fn = (unsigned long) func;
307 lc->restart_data = (unsigned long) data;
308 lc->restart_source = -1UL;
324 struct lowcore *lc = lowcore_ptr[pcpu - pcpu_devices];
333 mem_assign_absolute(lc->restart_stack, stack);
334 mem_assign_absolute(lc->restart_fn, (unsigned long) func);
335 mem_assign_absolute(lc->restart_data, (unsigned long) data);
336 mem_assign_absolute(lc->restart_source, source_cpu);
389 struct lowcore *lc = pcpu_devices->lowcore;
392 lc = &S390_lowcore;
395 lc->nodat_stack);