| /linux/drivers/hid/bpf/progs/ |
| H A D | XPPen__Artist24.bpf.c | 105 static __u8 prev_state = 0; variable 166 if (current_state == prev_state) in SEC() 169 prev_tip = !!(prev_state & TIP_SWITCH); in SEC() 191 changed_state = prev_state ^ current_state; in SEC() 194 prev_state = current_state; in SEC()
|
| /linux/arch/mips/kernel/ |
| H A D | traps.c | 455 enum ctx_state prev_state; in do_be() local 457 prev_state = exception_enter(); in do_be() 497 exception_exit(prev_state); in do_be() 756 enum ctx_state prev_state; in do_ov() local 758 prev_state = exception_enter(); in do_ov() 762 exception_exit(prev_state); in do_ov() 878 enum ctx_state prev_state; in do_fpe() local 882 prev_state = exception_enter(); in do_fpe() 927 exception_exit(prev_state); in do_fpe() 1033 enum ctx_state prev_state; in do_bp() local [all …]
|
| H A D | r4k-bugs64.c | 175 enum ctx_state prev_state; in do_daddi_ov() local 177 prev_state = exception_enter(); in do_daddi_ov() 180 exception_exit(prev_state); in do_daddi_ov()
|
| /linux/tools/perf/scripts/python/ |
| H A D | sched-migration.py | 104 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/kernel/trace/rv/monitors/sssw/ |
| H A D | sssw.c | 34 unsigned int prev_state) in handle_sched_switch() argument 38 else if (prev_state == TASK_RUNNING) in handle_sched_switch() 40 else if (prev_state == TASK_RTLOCK_WAIT) in handle_sched_switch()
|
| /linux/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()
|
| /linux/include/trace/events/ |
| H A D | sched.h | 191 unsigned int prev_state, in __trace_sched_switch_state() argument 211 state = __task_state_index(prev_state, p->exit_state); in __trace_sched_switch_state() 225 unsigned int prev_state), 227 TP_ARGS(preempt, prev, next, prev_state), 233 __field( long, prev_state ) 243 __entry->prev_state = __trace_sched_switch_state(preempt, prev_state, prev); 253 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ? 254 __print_flags(__entry->prev_state & (TASK_REPORT_MAX - 1), "|", 265 __entry->prev_state & TASK_REPORT_MAX ? "+" : "",
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_pci.c | 573 u32 prev_state; in __t7xx_pci_pm_resume() local 583 prev_state = ioread32(IREG_BASE(t7xx_dev) + T7XX_PCIE_PM_RESUME_STATE); in __t7xx_pci_pm_resume() 592 if (prev_state == PM_RESUME_REG_STATE_L3 || in __t7xx_pci_pm_resume() 593 (prev_state == PM_RESUME_REG_STATE_INIT && in __t7xx_pci_pm_resume() 602 if (prev_state == PM_RESUME_REG_STATE_EXP || in __t7xx_pci_pm_resume() 603 prev_state == PM_RESUME_REG_STATE_L2_EXP) { in __t7xx_pci_pm_resume() 604 if (prev_state == PM_RESUME_REG_STATE_L2_EXP) { in __t7xx_pci_pm_resume() 624 if (prev_state == PM_RESUME_REG_STATE_L2) { in __t7xx_pci_pm_resume() 629 } else if (prev_state != PM_RESUME_REG_STATE_L1 && in __t7xx_pci_pm_resume() 630 prev_state != PM_RESUME_REG_STATE_INIT) { in __t7xx_pci_pm_resume()
|
| /linux/samples/trace_events/ |
| H A D | trace_custom_sched.h | 30 unsigned int prev_state), 32 TP_ARGS(preempt, prev, next, prev_state),
|
| /linux/kernel/trace/rv/monitors/wwnr/ |
| H A D | wwnr.c | 22 struct task_struct *n, unsigned int prev_state) in handle_switch() argument 25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
|
| /linux/kernel/ |
| H A D | cpu.c | 713 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local 725 return prev_state; in cpuhp_set_state() 730 enum cpuhp_state prev_state) in cpuhp_reset_state() argument 734 st->target = prev_state; in cpuhp_reset_state() 781 enum cpuhp_state prev_state; in cpuhp_kick_ap() local 784 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap() 787 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap() 1020 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local 1029 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks() 1032 prev_state)); in cpuhp_up_callbacks() [all …]
|
| H A D | kstack_erase.c | 30 int prev_state = state; in stack_erasing_sysctl() local 36 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
|
| /linux/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()
|
| /linux/drivers/of/ |
| H A D | dynamic.c | 110 int is_status, status_state, old_status_state, prev_state, new_state; in of_reconfig_get_state_change() local 133 prev_state = -1; in of_reconfig_get_state_change() 147 prev_state = 0; in of_reconfig_get_state_change() 153 prev_state = status_state != 0; in of_reconfig_get_state_change() 159 prev_state = 1; in of_reconfig_get_state_change() 165 prev_state = status_state; in of_reconfig_get_state_change() 172 prev_state = old_status_state != 0; in of_reconfig_get_state_change() 178 if (prev_state == new_state) in of_reconfig_get_state_change()
|
| /linux/drivers/ufs/core/ |
| H A D | ufs_trace.h | 108 u32 prev_state, u32 curr_state), 110 TP_ARGS(hba, state, clk, prev_state, curr_state), 116 __field(u32, prev_state) 124 __entry->prev_state = prev_state; 130 __entry->prev_state, __entry->curr_state)
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | off_cpu.bpf.c | 356 int prev_state; in on_switch() local 365 prev_state = (int)ctx[3]; in on_switch() 367 prev_state = get_task_state(prev); in on_switch() 369 return off_cpu_stat(ctx, prev, next, prev_state & 0xff); in on_switch()
|
| /linux/arch/mips/mm/ |
| H A D | fault.c | 327 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()
|
| /linux/Documentation/trace/ |
| H A D | fprobetrace.rst | 199 ….2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_state=S ==> next_comm=… 200 …estub_sched_switch+0x4/0x10) preempt=0 prev=0xffff88800664e100 next=0xffffffff828229c0 prev_state=1 201 …912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=… 202 …estub_sched_switch+0x4/0x10) preempt=0 prev=0xffffffff828229c0 next=0xffff888004208000 prev_state=0 203 ….084196: sched_switch: prev_comm=rcu_preempt prev_pid=16 prev_prio=120 prev_state=I ==> next_comm=… 204 …ub_sched_switch+0x4/0x10) preempt=0 prev=0xffff888004208000 next=0xffffffff828229c0 prev_state=1026 205 …912.085191: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=… 206 …estub_sched_switch+0x4/0x10) preempt=0 prev=0xffffffff828229c0 next=0xffff888004208000 prev_state=0
|
| /linux/kernel/trace/ |
| H A D | trace_entries.h | 175 __field( unsigned char, prev_state ) \ 188 __entry->prev_pid, __entry->prev_prio, __entry->prev_state, 206 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tracepoint.c | 13 long long prev_state; member
|
| /linux/arch/sparc/kernel/ |
| H A D | kgdb_64.c | 166 enum ctx_state prev_state = exception_enter(); in kgdb_trap() local 180 exception_exit(prev_state); in kgdb_trap()
|
| H A D | unaligned_64.c | 598 enum ctx_state prev_state = exception_enter(); in handle_lddfmna() local 657 exception_exit(prev_state); in handle_lddfmna() 662 enum ctx_state prev_state = exception_enter(); in handle_stdfmna() local 708 exception_exit(prev_state); in handle_stdfmna()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_roce.c | 982 enum qed_roce_qp_state prev_state, in qed_roce_modify_qp() argument 990 if (((prev_state == QED_ROCE_QP_STATE_INIT) || in qed_roce_modify_qp() 991 (prev_state == QED_ROCE_QP_STATE_RESET)) && in qed_roce_modify_qp() 996 } else if ((prev_state == QED_ROCE_QP_STATE_RTR) && in qed_roce_modify_qp() 1007 } else if ((prev_state == QED_ROCE_QP_STATE_RTS) && in qed_roce_modify_qp() 1018 } else if ((prev_state == QED_ROCE_QP_STATE_RTS) && in qed_roce_modify_qp() 1024 } else if ((prev_state == QED_ROCE_QP_STATE_SQD) && in qed_roce_modify_qp() 1035 } else if ((prev_state == QED_ROCE_QP_STATE_SQD) && in qed_roce_modify_qp()
|
| H A D | qed_roce.h | 31 enum qed_roce_qp_state prev_state,
|