/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | traps.c | 444 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 D | r4k-bugs64.c | 173 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 D | traps.c | 453 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 D | r4k-bugs64.c | 174 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 D | sched-migration.py | 104 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 D | sched-migration.py | 104 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 D | cpustat_kern.c | 106 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 D | cpustat_kern.c | 106 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 D | ufs.h | 73 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 D | t7xx_pci.c | 412 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 D | g84.c | 102 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 D | temp.c | 142 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 D | temp.c | 142 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 D | g84.c | 102 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 D | off_cpu.bpf.c | 267 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 D | hid-uclogic-core.c | 325 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 D | wwnr.c | 22 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 D | trace_custom_sched.h | 30 unsigned int prev_state), 32 TP_ARGS(preempt, prev, next, prev_state),
|
/kernel/linux/linux-5.10/drivers/of/ |
H A D | dynamic.c | 114 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 D | dynamic.c | 108 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 D | cpu.c | 702 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 D | sched.h | 196 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 D | ufs.h | 107 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 D | stackleak.c | 27 int prev_state = state; in stack_erasing_sysctl() local 33 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
|
H A D | cpu.c | 459 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...] |