Home
last modified time | relevance | path

Searched refs:prev_state (Results 1 - 25 of 170) sorted by relevance

1234567

/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...]
H A 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-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...]
H A 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()
/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/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/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-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/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
/kernel/linux/linux-6.6/samples/trace_events/
H A Dtrace_custom_sched.h30 unsigned int prev_state),
32 TP_ARGS(preempt, prev, next, prev_state),
/kernel/linux/linux-5.10/drivers/of/
H A Ddynamic.c114 int is_status, status_state, old_status_state, prev_state, new_state; in of_reconfig_get_state_change() local
137 prev_state = -1; in of_reconfig_get_state_change()
151 prev_state = 0; in of_reconfig_get_state_change()
157 prev_state = status_state != 0; in of_reconfig_get_state_change()
163 prev_state = 1; in of_reconfig_get_state_change()
169 prev_state = status_state; in of_reconfig_get_state_change()
176 prev_state = old_status_state != 0; in of_reconfig_get_state_change()
182 if (prev_state == new_state) in of_reconfig_get_state_change()
/kernel/linux/linux-6.6/drivers/of/
H A 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()
/kernel/linux/linux-6.6/kernel/
H A 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()
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()
718 cpuhp_reset_state(int cpu, struct cpuhp_cpu_state *st, enum cpuhp_state prev_state) cpuhp_reset_state() argument
1169 enum cpuhp_state prev_state = st->state; cpuhp_kick_ap_work() local
1412 enum cpuhp_state prev_state = st->state; cpuhp_down_callbacks() local
1436 int prev_state, ret = 0; _cpu_down() local
[all...]
/kernel/linux/linux-6.6/include/trace/events/
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...]
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)
/kernel/linux/linux-5.10/kernel/
H A Dstackleak.c27 int prev_state = state; in stack_erasing_sysctl() local
33 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
/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...]

Completed in 19 milliseconds

1234567