Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess_32.c158 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
160 struct thread_struct *prev = &prev_p->thread, in __switch_to()
188 switch_to_extra(prev_p, next_p); in __switch_to()
221 return prev_p; in __switch_to()
Dprocess_64.c209 static __always_inline void save_base_legacy(struct task_struct *prev_p, in save_base_legacy() argument
242 prev_p->thread.fsbase = 0; in save_base_legacy()
244 prev_p->thread.gsbase = 0; in save_base_legacy()
534 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
536 struct thread_struct *prev = &prev_p->thread; in __switch_to()
553 save_fsgs(prev_p); in __switch_to()
603 switch_to_extra(prev_p, next_p); in __switch_to()
636 return prev_p; in __switch_to()
Dprocess.h7 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p);
Dprocess.c608 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to_xtra() argument
613 tifp = READ_ONCE(task_thread_info(prev_p)->flags); in __switch_to_xtra()
617 propagate_user_return_notify(prev_p, next_p); in __switch_to_xtra()
639 speculation_ctrl_update_tif(prev_p); in __switch_to_xtra()
/kernel/linux/linux-5.10/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.c2243 union ehci_shadow *prev_p = &oxu->pshadow[frame]; in periodic_unlink() local
2245 union ehci_shadow here = *prev_p; in periodic_unlink()
2249 prev_p = periodic_next_shadow(prev_p, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
2251 here = *prev_p; in periodic_unlink()
2260 *prev_p = *periodic_next_shadow(&here, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
Dfotg210-hcd.c3306 union fotg210_shadow *prev_p = &fotg210->pshadow[frame]; in periodic_unlink() local
3308 union fotg210_shadow here = *prev_p; in periodic_unlink()
3312 prev_p = periodic_next_shadow(fotg210, prev_p, in periodic_unlink()
3316 here = *prev_p; in periodic_unlink()
3325 *prev_p = *periodic_next_shadow(fotg210, &here, in periodic_unlink()
/kernel/linux/linux-5.10/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()