Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/
Dprocess_32.c155 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
157 struct thread_struct *prev = &prev_p->thread, in __switch_to()
163 if (!test_tsk_thread_flag(prev_p, TIF_NEED_FPU_LOAD)) in __switch_to()
164 switch_fpu_prepare(prev_p, cpu); in __switch_to()
183 switch_to_extra(prev_p, next_p); in __switch_to()
216 return prev_p; in __switch_to()
Dprocess_64.c235 static __always_inline void save_base_legacy(struct task_struct *prev_p, in save_base_legacy() argument
268 prev_p->thread.fsbase = 0; in save_base_legacy()
270 prev_p->thread.gsbase = 0; in save_base_legacy()
610 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to() argument
612 struct thread_struct *prev = &prev_p->thread; in __switch_to()
619 if (!test_tsk_thread_flag(prev_p, TIF_NEED_FPU_LOAD)) in __switch_to()
620 switch_fpu_prepare(prev_p, cpu); in __switch_to()
627 save_fsgs(prev_p); in __switch_to()
679 switch_to_extra(prev_p, next_p); in __switch_to()
712 return prev_p; in __switch_to()
Dprocess.h7 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p);
Dprocess.c692 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p) in __switch_to_xtra() argument
697 tifp = read_task_thread_flags(prev_p); in __switch_to_xtra()
701 propagate_user_return_notify(prev_p, next_p); in __switch_to_xtra()
723 speculation_ctrl_update_tif(prev_p); in __switch_to_xtra()
/linux-6.12.1/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.c2219 union ehci_shadow *prev_p = &oxu->pshadow[frame]; in periodic_unlink() local
2221 union ehci_shadow here = *prev_p; in periodic_unlink()
2225 prev_p = periodic_next_shadow(prev_p, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
2227 here = *prev_p; in periodic_unlink()
2236 *prev_p = *periodic_next_shadow(&here, Q_NEXT_TYPE(*hw_p)); in periodic_unlink()
/linux-6.12.1/tools/perf/
Dbuiltin-timechart.c462 struct per_pid *p = NULL, *prev_p; in sched_switch() local
464 prev_p = find_create_pid(tchart, prev_pid); in sched_switch()
468 if (prev_p->current && prev_p->current->state != TYPE_NONE) in sched_switch()
470 prev_p->current->state_since, timestamp, in sched_switch()
482 if (prev_p->current) { in sched_switch()
483 prev_p->current->state = TYPE_NONE; in sched_switch()
484 prev_p->current->state_since = timestamp; in sched_switch()
486 prev_p->current->state = TYPE_BLOCKED; in sched_switch()
488 prev_p->current->state = TYPE_WAITING; in sched_switch()
/linux-6.12.1/drivers/usb/fotg210/
Dfotg210-hcd.c3300 union fotg210_shadow *prev_p = &fotg210->pshadow[frame]; in periodic_unlink() local
3302 union fotg210_shadow here = *prev_p; in periodic_unlink()
3306 prev_p = periodic_next_shadow(fotg210, prev_p, in periodic_unlink()
3310 here = *prev_p; in periodic_unlink()
3319 *prev_p = *periodic_next_shadow(fotg210, &here, in periodic_unlink()