Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/
Dprocess.c191 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p, in __switch_to_xtra() argument
196 prev = &prev_p->thread; in __switch_to_xtra()
199 if (test_tsk_thread_flag(prev_p, TIF_BLOCKSTEP) ^ in __switch_to_xtra()
210 if (test_tsk_thread_flag(prev_p, TIF_NOTSC) ^ in __switch_to_xtra()
226 } else if (test_tsk_thread_flag(prev_p, TIF_IO_BITMAP)) { in __switch_to_xtra()
232 propagate_user_return_notify(prev_p, next_p); in __switch_to_xtra()
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()
285 if (unlikely(task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV || in __switch_to()
287 __switch_to_xtra(prev_p, next_p, tss); in __switch_to()
317 return prev_p; in __switch_to()
Dprocess_64.c275 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
277 struct thread_struct *prev = &prev_p->thread; in __switch_to()
412 task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV)) in __switch_to()
413 __switch_to_xtra(prev_p, next_p, tss); in __switch_to()
454 return prev_p; in __switch_to()
/linux-4.4.14/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()
Dfotg210-hcd.c3338 union fotg210_shadow *prev_p = &fotg210->pshadow[frame]; in periodic_unlink() local
3340 union fotg210_shadow here = *prev_p; in periodic_unlink()
3344 prev_p = periodic_next_shadow(fotg210, prev_p, in periodic_unlink()
3348 here = *prev_p; in periodic_unlink()
3357 *prev_p = *periodic_next_shadow(fotg210, &here, in periodic_unlink()
/linux-4.4.14/arch/x86/include/asm/
Dswitch_to.h8 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
/linux-4.4.14/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()