| /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/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/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/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/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/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/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 | 109 u32 prev_state, u32 curr_state), 111 TP_ARGS(hba, state, clk, prev_state, curr_state), 117 __field(u32, prev_state) 125 __entry->prev_state = prev_state; 131 __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/drivers/hid/ |
| H A D | hid-uclogic-core.c | 416 u8 prev_state = drvdata->re_state; in uclogic_raw_event_frame() local 420 if ((prev_state == 1 && state == 0) || in uclogic_raw_event_frame() 421 (prev_state == 2 && state == 3)) { in uclogic_raw_event_frame() 423 } else if ((prev_state == 2 && state == 0) || in uclogic_raw_event_frame() 424 (prev_state == 1 && state == 3)) { in uclogic_raw_event_frame()
|
| /linux/arch/sparc/kernel/ |
| H A D | traps_64.c | 190 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() 2080 enum ctx_state prev_state = exception_enter(); in sun4v_resum_error() local 2124 exception_exit(prev_state); in sun4v_resum_error() 2348 enum ctx_state prev_state = exception_enter(); in do_fpieee() local 2356 exception_exit(prev_state); in do_fpieee() 2361 enum ctx_state prev_state = exception_enter(); in do_fpother() local 2379 exception_exit(prev_state); in do_fpother() [all …]
|
| /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/drivers/tee/qcomtee/ |
| H A D | user_obj.c | 264 enum qcomtee_req_state prev_state; in qcomtee_user_object_dispatch() local 269 prev_state = ureq->state; in qcomtee_user_object_dispatch() 271 if (prev_state == QCOMTEE_REQ_PROCESSING) { in qcomtee_user_object_dispatch() 277 } else if (prev_state == QCOMTEE_REQ_QUEUED) { in qcomtee_user_object_dispatch() 283 if (prev_state == QCOMTEE_REQ_PROCESSED) { in qcomtee_user_object_dispatch()
|
| /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/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | testmode.c | 263 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/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | testmode.c | 654 enum mt76_testmode_state prev_state = td->state; in mt7915_tm_set_state() local 658 if (prev_state == MT76_TM_STATE_TX_FRAMES || in mt7915_tm_set_state() 661 else if (prev_state == MT76_TM_STATE_RX_FRAMES || in mt7915_tm_set_state() 664 else if (prev_state == MT76_TM_STATE_TX_CONT || in mt7915_tm_set_state() 667 else if (prev_state == MT76_TM_STATE_OFF || in mt7915_tm_set_state() 672 prev_state == MT76_TM_STATE_OFF) || in mt7915_tm_set_state() 674 prev_state == MT76_TM_STATE_IDLE)) { in mt7915_tm_set_state()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tracepoint.c | 13 long long prev_state; member
|