Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dprocess_32.c242 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
244 struct thread_struct *prev = &prev_p->thread, in __switch_to()
252 fpu = switch_fpu_prepare(prev_p, next_p, cpu); in __switch_to()
285 task_thread_info(prev_p)->saved_preempt_count = this_cpu_read(__preempt_count); in __switch_to()
291 if (unlikely(task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV || in __switch_to()
293 __switch_to_xtra(prev_p, next_p, tss); in __switch_to()
326 return prev_p; in __switch_to()
Dprocess.c228 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p, in __switch_to_xtra() argument
233 prev = &prev_p->thread; in __switch_to_xtra()
236 if (test_tsk_thread_flag(prev_p, TIF_BLOCKSTEP) ^ in __switch_to_xtra()
247 if (test_tsk_thread_flag(prev_p, TIF_NOTSC) ^ in __switch_to_xtra()
263 } else if (test_tsk_thread_flag(prev_p, TIF_IO_BITMAP)) { in __switch_to_xtra()
269 propagate_user_return_notify(prev_p, next_p); in __switch_to_xtra()
Dprocess_64.c274 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
276 struct thread_struct *prev = &prev_p->thread; in __switch_to()
283 fpu = switch_fpu_prepare(prev_p, next_p, cpu); in __switch_to()
407 task_thread_info(prev_p)->saved_preempt_count = this_cpu_read(__preempt_count); in __switch_to()
420 task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV)) in __switch_to()
421 __switch_to_xtra(prev_p, next_p, tss); in __switch_to()
462 return prev_p; in __switch_to()
/linux-4.1.27/drivers/usb/host/
Dohci-q.c152 __hc32 *prev_p = &ohci->hcca->int_table [i]; in periodic_link() local
163 prev_p = &here->hwNextED; in periodic_link()
169 ed->hwNextED = *prev_p; in periodic_link()
172 *prev_p = cpu_to_hc32(ohci, ed->dma); in periodic_link()
275 __hc32 *prev_p = &ohci->hcca->int_table [i]; in periodic_unlink() local
278 prev_p = &temp->hwNextED; in periodic_unlink()
282 *prev_p = ed->hwNextED; in periodic_unlink()
Dehci-sched.c78 union ehci_shadow *prev_p = &ehci->pshadow[frame]; in periodic_unlink() local
80 union ehci_shadow here = *prev_p; in periodic_unlink()
84 prev_p = periodic_next_shadow(ehci, prev_p, in periodic_unlink()
88 here = *prev_p; in periodic_unlink()
97 *prev_p = *periodic_next_shadow(ehci, &here, in periodic_unlink()
Doxu210hp-hcd.c1826 union ehci_shadow *prev_p = &oxu->pshadow[frame]; in periodic_unlink() local
1828 union ehci_shadow here = *prev_p; in periodic_unlink()
1832 prev_p = periodic_next_shadow(prev_p, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
1834 here = *prev_p; in periodic_unlink()
1843 *prev_p = *periodic_next_shadow(&here, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
Dfusbh200-hcd.c3401 union fusbh200_shadow *prev_p = &fusbh200->pshadow[frame]; in periodic_unlink() local
3403 union fusbh200_shadow here = *prev_p; in periodic_unlink()
3407 prev_p = periodic_next_shadow(fusbh200, prev_p, in periodic_unlink()
3411 here = *prev_p; in periodic_unlink()
3420 *prev_p = *periodic_next_shadow(fusbh200, &here, in periodic_unlink()
Dfotg210-hcd.c3459 union fotg210_shadow *prev_p = &fotg210->pshadow[frame]; in periodic_unlink() local
3461 union fotg210_shadow here = *prev_p; in periodic_unlink()
3465 prev_p = periodic_next_shadow(fotg210, prev_p, in periodic_unlink()
3469 here = *prev_p; in periodic_unlink()
3478 *prev_p = *periodic_next_shadow(fotg210, &here, in periodic_unlink()
/linux-4.1.27/arch/x86/include/asm/
Dswitch_to.h8 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
/linux-4.1.27/tools/perf/
Dbuiltin-timechart.c441 struct per_pid *p = NULL, *prev_p; in sched_switch() local
443 prev_p = find_create_pid(tchart, prev_pid); in sched_switch()
447 if (prev_p->current && prev_p->current->state != TYPE_NONE) in sched_switch()
449 prev_p->current->state_since, timestamp, in sched_switch()
461 if (prev_p->current) { in sched_switch()
462 prev_p->current->state = TYPE_NONE; in sched_switch()
463 prev_p->current->state_since = timestamp; in sched_switch()
465 prev_p->current->state = TYPE_BLOCKED; in sched_switch()
467 prev_p->current->state = TYPE_WAITING; in sched_switch()