Home
last modified time | relevance | path

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

/Linux-v5.4/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()
267 switch_to_extra(prev_p, next_p); in __switch_to()
300 return prev_p; in __switch_to()
Dprocess_64.c160 static __always_inline void save_base_legacy(struct task_struct *prev_p, in save_base_legacy() argument
193 prev_p->thread.fsbase = 0; in save_base_legacy()
195 prev_p->thread.gsbase = 0; in save_base_legacy()
504 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
506 struct thread_struct *prev = &prev_p->thread; in __switch_to()
523 save_fsgs(prev_p); in __switch_to()
573 switch_to_extra(prev_p, next_p); in __switch_to()
617 return prev_p; in __switch_to()
Dprocess.c498 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to_xtra() argument
503 prev = &prev_p->thread; in __switch_to_xtra()
507 tifp = READ_ONCE(task_thread_info(prev_p)->flags); in __switch_to_xtra()
510 propagate_user_return_notify(prev_p, next_p); in __switch_to_xtra()
532 speculation_ctrl_update_tif(prev_p); in __switch_to_xtra()
Dprocess.h7 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p);
/Linux-v5.4/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.c2245 union ehci_shadow *prev_p = &oxu->pshadow[frame]; in periodic_unlink() local
2247 union ehci_shadow here = *prev_p; in periodic_unlink()
2251 prev_p = periodic_next_shadow(prev_p, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
2253 here = *prev_p; in periodic_unlink()
2262 *prev_p = *periodic_next_shadow(&here, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
Dfotg210-hcd.c3311 union fotg210_shadow *prev_p = &fotg210->pshadow[frame]; in periodic_unlink() local
3313 union fotg210_shadow here = *prev_p; in periodic_unlink()
3317 prev_p = periodic_next_shadow(fotg210, prev_p, in periodic_unlink()
3321 here = *prev_p; in periodic_unlink()
3330 *prev_p = *periodic_next_shadow(fotg210, &here, in periodic_unlink()
/Linux-v5.4/tools/perf/
Dbuiltin-timechart.c443 struct per_pid *p = NULL, *prev_p; in sched_switch() local
445 prev_p = find_create_pid(tchart, prev_pid); in sched_switch()
449 if (prev_p->current && prev_p->current->state != TYPE_NONE) in sched_switch()
451 prev_p->current->state_since, timestamp, in sched_switch()
463 if (prev_p->current) { in sched_switch()
464 prev_p->current->state = TYPE_NONE; in sched_switch()
465 prev_p->current->state_since = timestamp; in sched_switch()
467 prev_p->current->state = TYPE_BLOCKED; in sched_switch()
469 prev_p->current->state = TYPE_WAITING; in sched_switch()