Home
last modified time | relevance | path

Searched refs:prev_p (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/arch/x86/kernel/
Dprocess_32.c228 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
230 struct thread_struct *prev = &prev_p->thread, in __switch_to()
270 if (unlikely(task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV || in __switch_to()
272 __switch_to_xtra(prev_p, next_p, tss); in __switch_to()
307 return prev_p; in __switch_to()
Dprocess_64.c169 static __always_inline void save_base_legacy(struct task_struct *prev_p, in save_base_legacy() argument
202 prev_p->thread.fsbase = 0; in save_base_legacy()
204 prev_p->thread.gsbase = 0; in save_base_legacy()
418 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
420 struct thread_struct *prev = &prev_p->thread; in __switch_to()
437 save_fsgs(prev_p); in __switch_to()
496 task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV)) in __switch_to()
497 __switch_to_xtra(prev_p, next_p, tss); in __switch_to()
541 return prev_p; in __switch_to()
Dprocess.c422 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p, in __switch_to_xtra() argument
428 prev = &prev_p->thread; in __switch_to_xtra()
432 tifp = READ_ONCE(task_thread_info(prev_p)->flags); in __switch_to_xtra()
435 propagate_user_return_notify(prev_p, next_p); in __switch_to_xtra()
/Linux-v4.19/arch/x86/include/asm/
Dswitch_to.h15 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
/Linux-v4.19/drivers/usb/host/
Dohci-q.c153 __hc32 *prev_p = &ohci->hcca->int_table [i]; in periodic_link() local
164 prev_p = &here->hwNextED; in periodic_link()
170 ed->hwNextED = *prev_p; in periodic_link()
173 *prev_p = cpu_to_hc32(ohci, ed->dma); in periodic_link()
277 __hc32 *prev_p = &ohci->hcca->int_table [i]; in periodic_unlink() local
280 prev_p = &temp->hwNextED; in periodic_unlink()
284 *prev_p = ed->hwNextED; in periodic_unlink()
Dehci-sched.c65 union ehci_shadow *prev_p = &ehci->pshadow[frame]; in periodic_unlink() local
67 union ehci_shadow here = *prev_p; in periodic_unlink()
71 prev_p = periodic_next_shadow(ehci, prev_p, in periodic_unlink()
75 here = *prev_p; in periodic_unlink()
84 *prev_p = *periodic_next_shadow(ehci, &here, in periodic_unlink()
Doxu210hp-hcd.c1806 union ehci_shadow *prev_p = &oxu->pshadow[frame]; in periodic_unlink() local
1808 union ehci_shadow here = *prev_p; in periodic_unlink()
1812 prev_p = periodic_next_shadow(prev_p, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
1814 here = *prev_p; in periodic_unlink()
1823 *prev_p = *periodic_next_shadow(&here, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
Dfotg210-hcd.c3305 union fotg210_shadow *prev_p = &fotg210->pshadow[frame]; in periodic_unlink() local
3307 union fotg210_shadow here = *prev_p; in periodic_unlink()
3311 prev_p = periodic_next_shadow(fotg210, prev_p, in periodic_unlink()
3315 here = *prev_p; in periodic_unlink()
3324 *prev_p = *periodic_next_shadow(fotg210, &here, in periodic_unlink()
/Linux-v4.19/tools/perf/
Dbuiltin-timechart.c445 struct per_pid *p = NULL, *prev_p; in sched_switch() local
447 prev_p = find_create_pid(tchart, prev_pid); in sched_switch()
451 if (prev_p->current && prev_p->current->state != TYPE_NONE) in sched_switch()
453 prev_p->current->state_since, timestamp, in sched_switch()
465 if (prev_p->current) { in sched_switch()
466 prev_p->current->state = TYPE_NONE; in sched_switch()
467 prev_p->current->state_since = timestamp; in sched_switch()
469 prev_p->current->state = TYPE_BLOCKED; in sched_switch()
471 prev_p->current->state = TYPE_WAITING; in sched_switch()