Home
last modified time | relevance | path

Searched refs:prev_state (Results 1 – 25 of 94) sorted by relevance

1234

/linux-6.6.21/arch/mips/kernel/
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
[all …]
Dr4k-bugs64.c174 enum ctx_state prev_state; in do_daddi_ov() local
176 prev_state = exception_enter(); in do_daddi_ov()
179 exception_exit(prev_state); in do_daddi_ov()
/linux-6.6.21/samples/bpf/
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()
/linux-6.6.21/tools/perf/scripts/python/
Dsched-migration.py104 def sched_switch(self, prev, prev_state, next): argument
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): argument
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, argument
349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
422 prev_comm, prev_pid, prev_prio, prev_state, argument
[all …]
/linux-6.6.21/include/trace/events/
Dsched.h191 unsigned int prev_state, in __trace_sched_switch_state() argument
213 state = __task_state_index(prev_state, p->exit_state); in __trace_sched_switch_state()
227 unsigned int prev_state),
229 TP_ARGS(preempt, prev, next, prev_state),
235 __field( long, prev_state )
245 __entry->prev_state = __trace_sched_switch_state(preempt, prev_state, prev);
255 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ?
256 __print_flags(__entry->prev_state & (TASK_REPORT_MAX - 1), "|",
267 __entry->prev_state & TASK_REPORT_MAX ? "+" : "",
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)
/linux-6.6.21/drivers/net/wwan/t7xx/
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 != PM_RESUME_REG_STATE_INIT) { in __t7xx_pci_pm_resume()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
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()
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()
/linux-6.6.21/tools/perf/util/bpf_skel/
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()
/linux-6.6.21/kernel/trace/rv/monitors/wwnr/
Dwwnr.c22 struct task_struct *n, unsigned int prev_state) in handle_switch() argument
25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
/linux-6.6.21/samples/trace_events/
Dtrace_custom_sched.h30 unsigned int prev_state),
32 TP_ARGS(preempt, prev, next, prev_state),
/linux-6.6.21/kernel/
Dcpu.c702 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
714 return prev_state; in cpuhp_set_state()
719 enum cpuhp_state prev_state) in cpuhp_reset_state() argument
723 st->target = prev_state; in cpuhp_reset_state()
770 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
773 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap()
776 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap()
1008 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
1017 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks()
1020 prev_state)); in cpuhp_up_callbacks()
[all …]
Dstackleak.c29 int prev_state = state; in stack_erasing_sysctl() local
35 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
/linux-6.6.21/drivers/of/
Ddynamic.c108 int is_status, status_state, old_status_state, prev_state, new_state; in of_reconfig_get_state_change() local
131 prev_state = -1; in of_reconfig_get_state_change()
145 prev_state = 0; in of_reconfig_get_state_change()
151 prev_state = status_state != 0; in of_reconfig_get_state_change()
157 prev_state = 1; in of_reconfig_get_state_change()
163 prev_state = status_state; in of_reconfig_get_state_change()
170 prev_state = old_status_state != 0; in of_reconfig_get_state_change()
176 if (prev_state == new_state) in of_reconfig_get_state_change()
/linux-6.6.21/drivers/hid/
Dhid-uclogic-core.c373 u8 prev_state = drvdata->re_state; in uclogic_raw_event_frame() local
377 if ((prev_state == 1 && state == 0) || in uclogic_raw_event_frame()
378 (prev_state == 2 && state == 3)) { in uclogic_raw_event_frame()
380 } else if ((prev_state == 2 && state == 0) || in uclogic_raw_event_frame()
381 (prev_state == 1 && state == 3)) { in uclogic_raw_event_frame()
/linux-6.6.21/Documentation/trace/
Dfprobetrace.rst187 ….2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_state=S ==> next_comm=…
188 …estub_sched_switch+0x4/0x10) preempt=0 prev=0xffff88800664e100 next=0xffffffff828229c0 prev_state=1
189 …912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=…
190 …estub_sched_switch+0x4/0x10) preempt=0 prev=0xffffffff828229c0 next=0xffff888004208000 prev_state=0
191 ….084196: sched_switch: prev_comm=rcu_preempt prev_pid=16 prev_prio=120 prev_state=I ==> next_comm=…
192 …ub_sched_switch+0x4/0x10) preempt=0 prev=0xffff888004208000 next=0xffffffff828229c0 prev_state=1026
193 …912.085191: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=…
194 …estub_sched_switch+0x4/0x10) preempt=0 prev=0xffffffff828229c0 next=0xffff888004208000 prev_state=0
/linux-6.6.21/arch/mips/mm/
Dfault.c326 enum ctx_state prev_state; in do_page_fault() local
328 prev_state = exception_enter(); in do_page_fault()
330 exception_exit(prev_state); in do_page_fault()
/linux-6.6.21/arch/sparc/kernel/
Dtraps_64.c189 enum ctx_state prev_state = exception_enter(); in spitfire_insn_access_exception() local
206 exception_exit(prev_state); in spitfire_insn_access_exception()
292 enum ctx_state prev_state = exception_enter(); in spitfire_data_access_exception() local
325 exception_exit(prev_state); in spitfire_data_access_exception()
2079 enum ctx_state prev_state = exception_enter(); in sun4v_resum_error() local
2123 exception_exit(prev_state); in sun4v_resum_error()
2347 enum ctx_state prev_state = exception_enter(); in do_fpieee() local
2355 exception_exit(prev_state); in do_fpieee()
2360 enum ctx_state prev_state = exception_enter(); in do_fpother() local
2378 exception_exit(prev_state); in do_fpother()
[all …]
Dkgdb_64.c166 enum ctx_state prev_state = exception_enter(); in kgdb_trap() local
180 exception_exit(prev_state); in kgdb_trap()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c263 enum mt76_testmode_state prev_state = td->state; in mt7615_tm_set_state() local
267 if (prev_state == MT76_TM_STATE_TX_FRAMES) in mt7615_tm_set_state()
276 prev_state == MT76_TM_STATE_OFF) || in mt7615_tm_set_state()
278 prev_state == MT76_TM_STATE_IDLE)) { in mt7615_tm_set_state()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c652 enum mt76_testmode_state prev_state = td->state; in mt7915_tm_set_state() local
656 if (prev_state == MT76_TM_STATE_TX_FRAMES || in mt7915_tm_set_state()
659 else if (prev_state == MT76_TM_STATE_RX_FRAMES || in mt7915_tm_set_state()
662 else if (prev_state == MT76_TM_STATE_TX_CONT || in mt7915_tm_set_state()
665 else if (prev_state == MT76_TM_STATE_OFF || in mt7915_tm_set_state()
670 prev_state == MT76_TM_STATE_OFF) || in mt7915_tm_set_state()
672 prev_state == MT76_TM_STATE_IDLE)) { in mt7915_tm_set_state()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_tracepoint.c13 long long prev_state; member
/linux-6.6.21/kernel/trace/
Dtrace_entries.h145 __field( unsigned char, prev_state ) \
158 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
176 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_roce.h31 enum qed_roce_qp_state prev_state,

1234