Home
last modified time | relevance | path

Searched full:prev_state (Results 1 - 25 of 199) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dtraps.c444 enum ctx_state prev_state; in do_be() local
446 prev_state = exception_enter(); in do_be()
486 exception_exit(prev_state); in do_be()
745 enum ctx_state prev_state; in do_ov() local
747 prev_state = exception_enter(); in do_ov()
751 exception_exit(prev_state); in do_ov()
869 enum ctx_state prev_state; in do_fpe() local
873 prev_state = exception_enter(); in do_fpe()
918 exception_exit(prev_state); in do_fpe()
1024 enum ctx_state prev_state; in do_bp() local
1115 enum ctx_state prev_state; do_tr() local
1159 enum ctx_state prev_state; do_ri() local
1407 enum ctx_state prev_state; do_cpu() local
1512 enum ctx_state prev_state; do_msa_fpe() local
1532 enum ctx_state prev_state; do_msa() local
1553 enum ctx_state prev_state; do_mdmx() local
1565 enum ctx_state prev_state; do_watch() local
1593 enum ctx_state prev_state; do_mcheck() local
1922 enum ctx_state prev_state; do_gsexc() local
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dtraps.c453 enum ctx_state prev_state; in do_be() local
455 prev_state = exception_enter(); in do_be()
495 exception_exit(prev_state); in do_be()
754 enum ctx_state prev_state; in do_ov() local
756 prev_state = exception_enter(); in do_ov()
760 exception_exit(prev_state); in do_ov()
876 enum ctx_state prev_state; in do_fpe() local
880 prev_state = exception_enter(); in do_fpe()
925 exception_exit(prev_state); in do_fpe()
1031 enum ctx_state prev_state; in do_bp() local
1117 enum ctx_state prev_state; do_tr() local
1156 enum ctx_state prev_state; do_ri() local
1404 enum ctx_state prev_state; do_cpu() local
1509 enum ctx_state prev_state; do_msa_fpe() local
1529 enum ctx_state prev_state; do_msa() local
1550 enum ctx_state prev_state; do_mdmx() local
1562 enum ctx_state prev_state; do_watch() local
1590 enum ctx_state prev_state; do_mcheck() local
1913 enum ctx_state prev_state; do_gsexc() local
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dsched-migration.py104 def sched_switch(self, prev, prev_state, next):
107 if taskState(prev_state) == "R" and next in self.tasks \
111 if taskState(prev_state) != "R":
116 if taskState(prev_state) != "R":
118 elif taskState(prev_state) == "R":
179 def sched_switch(self, ts_list, prev, prev_state, next, cpu):
181 new_rq = old_rq.sched_switch(prev, prev_state, next)
333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state,
349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
422 prev_comm, prev_pid, prev_prio, prev_state,
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dsched-migration.py104 def sched_switch(self, prev, prev_state, next):
107 if taskState(prev_state) == "R" and next in self.tasks \
111 if taskState(prev_state) != "R":
116 if taskState(prev_state) != "R":
118 elif taskState(prev_state) == "R":
179 def sched_switch(self, ts_list, prev, prev_state, next, cpu):
181 new_rq = old_rq.sched_switch(prev, prev_state, next)
333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state,
349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
422 prev_comm, prev_pid, prev_prio, prev_state,
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dufs.h73 u32 prev_state, u32 curr_state),
75 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
81 __field(u32, prev_state)
89 __entry->prev_state = prev_state;
95 __entry->prev_state, __entry->curr_state)
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c412 u32 prev_state; in __t7xx_pci_pm_resume() local
422 prev_state = ioread32(IREG_BASE(t7xx_dev) + T7XX_PCIE_PM_RESUME_STATE); in __t7xx_pci_pm_resume()
431 if (prev_state == PM_RESUME_REG_STATE_L3 || in __t7xx_pci_pm_resume()
432 (prev_state == PM_RESUME_REG_STATE_INIT && in __t7xx_pci_pm_resume()
446 if (prev_state == PM_RESUME_REG_STATE_EXP || in __t7xx_pci_pm_resume()
447 prev_state == PM_RESUME_REG_STATE_L2_EXP) { in __t7xx_pci_pm_resume()
448 if (prev_state == PM_RESUME_REG_STATE_L2_EXP) { in __t7xx_pci_pm_resume()
468 if (prev_state == PM_RESUME_REG_STATE_L2) { in __t7xx_pci_pm_resume()
473 } else if (prev_state != PM_RESUME_REG_STATE_L1 && in __t7xx_pci_pm_resume()
474 prev_state ! in __t7xx_pci_pm_resume()
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dufs.h107 u32 prev_state, u32 curr_state),
109 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
115 __field(u32, prev_state)
123 __entry->prev_state = prev_state;
129 __entry->prev_state, __entry->curr_state)
H A Dsched.h196 unsigned int prev_state, in __trace_sched_switch_state()
218 state = __task_state_index(prev_state, p->exit_state); in __trace_sched_switch_state()
232 unsigned int prev_state),
234 TP_ARGS(preempt, prev, next, prev_state),
240 __field( long, prev_state )
250 __entry->prev_state = __trace_sched_switch_state(preempt, prev_state, prev);
257 TP_printk("prev_comm=%s prev_pid=%d prev_prio=%d prev_state=%s%s ==> next_comm=%s next_pid=%d next_prio=%d",
260 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ?
261 __print_flags(__entry->prev_state
195 __trace_sched_switch_state(bool preempt, unsigned int prev_state, struct task_struct *p) __trace_sched_switch_state() argument
[all...]
/kernel/linux/linux-6.6/Documentation/trace/
H A Dfprobetrace.rst187 sh-70 [000] d..2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_state=S ==> next_comm=swapper/0 next_pid=0 next_prio=120
188 sh-70 [000] d..3. 3912.083995: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt=0 prev=0xffff88800664e100 next=0xffffffff828229c0 prev_state=1
189 <idle>-0 [000] d..2. 3912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=16 next_prio=120
190 <idle>-0 [000] d..3. 3912.084184: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt=0 prev=0xffffffff828229c0 next=0xffff888004208000 prev_state=0
191 rcu_preempt-16 [000] d..2. 3912.084196: sched_switch: prev_comm=rcu_preempt prev_pid=16 prev_prio=120 prev_state=I ==> next_comm=swapper/0 next_pid=0 next_prio=120
192 rcu_preempt-16 [000] d..3. 3912.084196: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt=0 prev=0xffff888004208000 next=0xffffffff828229c0 prev_state=1026
193 <idle>-0 [000] d..2. 3912.085191: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=16 next_prio=120
194 <idle>-0 [000] d..3. 3912.085191: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt=0 prev=0xffffffff828229c0 next=0xffff888004208000 prev_state=0
/kernel/linux/linux-5.10/samples/bpf/
H A Dcpustat_kern.c106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local
135 prev_state = *cstate; in bpf_prog1()
198 key = cpu * MAX_CSTATE_ENTRIES + prev_state; in bpf_prog1()
214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog2() local
235 prev_state = *pstate; in bpf_prog2()
/kernel/linux/linux-6.6/samples/bpf/
H A Dcpustat_kern.c106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local
135 prev_state = *cstate; in bpf_prog1()
198 key = cpu * MAX_CSTATE_ENTRIES + prev_state; in bpf_prog1()
214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog2() local
235 prev_state = *pstate; in bpf_prog2()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dg84.c102 enum nvkm_therm_thrs_state prev_state, new_state; in g84_therm_threshold_hyst_emulation() local
105 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name); in g84_therm_threshold_hyst_emulation()
127 if (prev_state < new_state) in g84_therm_threshold_hyst_emulation()
129 else if (prev_state > new_state) in g84_therm_threshold_hyst_emulation()
H A Dtemp.c142 enum nvkm_therm_thrs_state prev_state, new_state; in nvkm_therm_threshold_hyst_polling() local
145 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name); in nvkm_therm_threshold_hyst_polling()
147 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { in nvkm_therm_threshold_hyst_polling()
151 prev_state == NVKM_THERM_THRS_HIGHER) { in nvkm_therm_threshold_hyst_polling()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c142 enum nvkm_therm_thrs_state prev_state, new_state; in nvkm_therm_threshold_hyst_polling() local
145 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name); in nvkm_therm_threshold_hyst_polling()
147 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { in nvkm_therm_threshold_hyst_polling()
151 prev_state == NVKM_THERM_THRS_HIGHER) { in nvkm_therm_threshold_hyst_polling()
H A Dg84.c102 enum nvkm_therm_thrs_state prev_state, new_state; in g84_therm_threshold_hyst_emulation() local
105 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name); in g84_therm_threshold_hyst_emulation()
127 if (prev_state < new_state) in g84_therm_threshold_hyst_emulation()
129 else if (prev_state > new_state) in g84_therm_threshold_hyst_emulation()
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c267 int prev_state; in on_switch() local
276 prev_state = (int)ctx[3]; in on_switch()
278 prev_state = get_task_state(prev); in on_switch()
280 return off_cpu_stat(ctx, prev, next, prev_state & 0xff); in on_switch()
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-uclogic-core.c325 u8 prev_state = drvdata->re_state; in uclogic_raw_event() local
329 if ((prev_state == 1 && state == 0) || in uclogic_raw_event()
330 (prev_state == 2 && state == 3)) { in uclogic_raw_event()
332 } else if ((prev_state == 2 && state == 0) || in uclogic_raw_event()
333 (prev_state == 1 && state == 3)) { in uclogic_raw_event()
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-synthetic-event-stack.tc14 echo 'hist:keys=next_pid:ts=common_timestamp.usecs,st=common_stacktrace if prev_state == 1||prev_state == 2' >> events/sched/sched_switch/trigger
H A Dtrigger-synthetic-event-stack-legacy.tc15 echo 'hist:keys=next_pid:ts=common_timestamp.usecs,st=stacktrace if prev_state == 1||prev_state == 2' >> events/sched/sched_switch/trigger
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dtestmode.c267 enum mt76_testmode_state prev_state = td->state; in mt7615_tm_set_state() local
271 if (prev_state == MT76_TM_STATE_TX_FRAMES) in mt7615_tm_set_state()
280 prev_state == MT76_TM_STATE_OFF) || in mt7615_tm_set_state()
282 prev_state == MT76_TM_STATE_IDLE)) { in mt7615_tm_set_state()
/device/soc/rockchip/common/sdk_linux/kernel/
H A Dcpu.c482 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
491 return prev_state; in cpuhp_set_state()
494 static inline void cpuhp_reset_state(struct cpuhp_cpu_state *st, enum cpuhp_state prev_state) in cpuhp_reset_state() argument
510 st->target = prev_state; in cpuhp_reset_state()
534 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
537 prev_state = cpuhp_set_state(st, target); in cpuhp_kick_ap()
540 cpuhp_reset_state(st, prev_state); in cpuhp_kick_ap()
649 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
657 st->target = prev_state; in cpuhp_up_callbacks()
827 enum cpuhp_state prev_state in cpuhp_kick_ap_work() local
1070 enum cpuhp_state prev_state = st->state; cpuhp_down_callbacks() local
1090 int prev_state, ret = 0; _cpu_down() local
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dcpu.c459 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
468 return prev_state; in cpuhp_set_state()
472 cpuhp_reset_state(struct cpuhp_cpu_state *st, enum cpuhp_state prev_state) in cpuhp_reset_state() argument
487 st->target = prev_state; in cpuhp_reset_state()
510 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
513 prev_state = cpuhp_set_state(st, target); in cpuhp_kick_ap()
516 cpuhp_reset_state(st, prev_state); in cpuhp_kick_ap()
619 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
627 st->target = prev_state; in cpuhp_up_callbacks()
795 enum cpuhp_state prev_state in cpuhp_kick_ap_work() local
1035 enum cpuhp_state prev_state = st->state; cpuhp_down_callbacks() local
1055 int prev_state, ret = 0; _cpu_down() local
[all...]
/kernel/linux/linux-5.10/tools/perf/python/
H A Dtracepoint.py37 print "time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (
42 event.prev_state,
/kernel/linux/linux-6.6/tools/perf/python/
H A Dtracepoint.py37 print("time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (
42 event.prev_state,
/kernel/linux/linux-6.6/kernel/trace/rv/monitors/wwnr/
H A Dwwnr.c22 struct task_struct *n, unsigned int prev_state) in handle_switch()
25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
21 handle_switch(void *data, bool preempt, struct task_struct *p, struct task_struct *n, unsigned int prev_state) handle_switch() argument

Completed in 20 milliseconds

12345678