Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/mips/kernel/
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
[all …]
Dr4k-bugs64.c173 enum ctx_state prev_state; in do_daddi_ov() local
175 prev_state = exception_enter(); in do_daddi_ov()
178 exception_exit(prev_state); in do_daddi_ov()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/trace/events/
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)
Dsched.h155 __field( long, prev_state )
165 __entry->prev_state = __trace_sched_switch_state(preempt, prev);
175 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ?
176 __print_flags(__entry->prev_state & (TASK_REPORT_MAX - 1), "|",
187 __entry->prev_state & TASK_REPORT_MAX ? "+" : "",
/kernel/linux/linux-5.10/drivers/hid/
Dhid-uclogic-core.c324 u8 prev_state = drvdata->re_state; in uclogic_raw_event() local
328 if ((prev_state == 1 && state == 0) || in uclogic_raw_event()
329 (prev_state == 2 && state == 3)) { in uclogic_raw_event()
331 } else if ((prev_state == 2 && state == 0) || in uclogic_raw_event()
332 (prev_state == 1 && state == 3)) { in uclogic_raw_event()
/kernel/linux/linux-5.10/drivers/of/
Ddynamic.c113 int is_status, status_state, old_status_state, prev_state, new_state; in of_reconfig_get_state_change() local
136 prev_state = -1; in of_reconfig_get_state_change()
150 prev_state = 0; in of_reconfig_get_state_change()
156 prev_state = status_state != 0; in of_reconfig_get_state_change()
162 prev_state = 1; in of_reconfig_get_state_change()
168 prev_state = status_state; in of_reconfig_get_state_change()
175 prev_state = old_status_state != 0; in of_reconfig_get_state_change()
181 if (prev_state == new_state) in of_reconfig_get_state_change()
/kernel/linux/linux-5.10/kernel/
Dcpu.c458 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
467 return prev_state; in cpuhp_set_state()
471 cpuhp_reset_state(struct cpuhp_cpu_state *st, enum cpuhp_state prev_state) in cpuhp_reset_state() argument
486 st->target = prev_state; in cpuhp_reset_state()
509 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
512 prev_state = cpuhp_set_state(st, target); in cpuhp_kick_ap()
515 cpuhp_reset_state(st, prev_state); in cpuhp_kick_ap()
618 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
626 st->target = prev_state; in cpuhp_up_callbacks()
794 enum cpuhp_state prev_state = st->state; in cpuhp_kick_ap_work() local
[all …]
Dstackleak.c27 int prev_state = state; in stack_erasing_sysctl() local
33 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtraps.c1098 enum ctx_state prev_state = exception_enter(); in unknown_exception() local
1105 exception_exit(prev_state); in unknown_exception()
1110 enum ctx_state prev_state = exception_enter(); in instruction_breakpoint_exception() local
1120 exception_exit(prev_state); in instruction_breakpoint_exception()
1130 enum ctx_state prev_state = exception_enter(); in single_step_exception() local
1147 exception_exit(prev_state); in single_step_exception()
1473 enum ctx_state prev_state = exception_enter(); in program_check_exception() local
1588 exception_exit(prev_state); in program_check_exception()
1605 enum ctx_state prev_state = exception_enter(); in alignment_exception() local
1650 exception_exit(prev_state); in alignment_exception()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_entries.h119 __field( unsigned char, prev_state ) \
132 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
150 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
/kernel/linux/linux-5.10/arch/mips/mm/
Dfault.c327 enum ctx_state prev_state; in do_page_fault() local
329 prev_state = exception_enter(); in do_page_fault()
331 exception_exit(prev_state); in do_page_fault()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dtraps_64.c189 enum ctx_state prev_state = exception_enter(); in spitfire_insn_access_exception() local
207 exception_exit(prev_state); in spitfire_insn_access_exception()
293 enum ctx_state prev_state = exception_enter(); in spitfire_data_access_exception() local
326 exception_exit(prev_state); in spitfire_data_access_exception()
2081 enum ctx_state prev_state = exception_enter(); in sun4v_resum_error() local
2125 exception_exit(prev_state); in sun4v_resum_error()
2350 enum ctx_state prev_state = exception_enter(); in do_fpieee() local
2358 exception_exit(prev_state); in do_fpieee()
2363 enum ctx_state prev_state = exception_enter(); in do_fpother() local
2381 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()
Dsignal_64.c45 enum ctx_state prev_state = exception_enter(); in sparc64_set_context() local
133 exception_exit(prev_state); in sparc64_set_context()
144 enum ctx_state prev_state = exception_enter(); in sparc64_get_context() local
227 exception_exit(prev_state); in sparc64_get_context()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tracepoint.c13 long long prev_state; member
/kernel/linux/linux-5.10/lib/dim/
Dnet_dim.c167 int prev_state = dim->tune_state; in net_dim_decision() local
211 if (prev_state != DIM_PARKING_ON_TOP || in net_dim_decision()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_roce.h31 enum qed_roce_qp_state prev_state,
Dqed_roce.c983 enum qed_roce_qp_state prev_state, in qed_roce_modify_qp() argument
991 if (((prev_state == QED_ROCE_QP_STATE_INIT) || in qed_roce_modify_qp()
992 (prev_state == QED_ROCE_QP_STATE_RESET)) && in qed_roce_modify_qp()
997 } else if ((prev_state == QED_ROCE_QP_STATE_RTR) && in qed_roce_modify_qp()
1008 } else if ((prev_state == QED_ROCE_QP_STATE_RTS) && in qed_roce_modify_qp()
1019 } else if ((prev_state == QED_ROCE_QP_STATE_RTS) && in qed_roce_modify_qp()
1025 } else if ((prev_state == QED_ROCE_QP_STATE_SQD) && in qed_roce_modify_qp()
1036 } else if ((prev_state == QED_ROCE_QP_STATE_SQD) && in qed_roce_modify_qp()
/kernel/linux/linux-5.10/tools/perf/python/
Dtracepoint.py42 event.prev_state,
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-tahvo.c73 int reg, prev_state; in check_vbus_state() local
113 prev_state = tu->vbus_state; in check_vbus_state()
115 if (prev_state != tu->vbus_state) { in check_vbus_state()

1234