/linux/arch/mips/kernel/ |
A D | traps.c | 453 enum ctx_state prev_state; in do_be() local 495 exception_exit(prev_state); in do_be() 754 enum ctx_state prev_state; in do_ov() local 876 enum ctx_state prev_state; in do_fpe() local 1031 enum ctx_state prev_state; in do_bp() local 1117 enum ctx_state prev_state; in do_tr() local 1156 enum ctx_state prev_state; in do_ri() local 1404 enum ctx_state prev_state; in do_cpu() local 1509 enum ctx_state prev_state; in do_msa_fpe() local 1529 enum ctx_state prev_state; in do_msa() local [all …]
|
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()
|
/linux/samples/bpf/ |
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()
|
/linux/tools/perf/scripts/python/ |
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/ |
A D | cpu.c | 491 return prev_state; in cpuhp_set_state() 499 st->target = prev_state; in cpuhp_reset_state() 545 enum cpuhp_state prev_state; in cpuhp_kick_ap() local 551 cpuhp_reset_state(st, prev_state); in cpuhp_kick_ap() 706 cpuhp_reset_state(st, prev_state); in cpuhp_up_callbacks() 709 prev_state)); in cpuhp_up_callbacks() 1109 cpuhp_reset_state(st, prev_state); in cpuhp_down_callbacks() 1111 if (st->state < prev_state) in cpuhp_down_callbacks() 1113 prev_state)); in cpuhp_down_callbacks() 1124 int prev_state, ret = 0; in _cpu_down() local [all …]
|
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()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
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()
|
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/hid/ |
A D | hid-uclogic-core.c | 324 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()
|
/linux/drivers/of/ |
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()
|
/linux/include/trace/events/ |
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)
|
A D | sched.h | 232 __field( long, prev_state ) 242 __entry->prev_state = __trace_sched_switch_state(preempt, prev); 252 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ? 253 __print_flags(__entry->prev_state & (TASK_REPORT_MAX - 1), "|", 264 __entry->prev_state & TASK_REPORT_MAX ? "+" : "",
|
/linux/arch/sparc/kernel/ |
A D | traps_64.c | 189 enum ctx_state prev_state = exception_enter(); in spitfire_insn_access_exception() local 206 exception_exit(prev_state); in spitfire_insn_access_exception() 325 exception_exit(prev_state); in spitfire_data_access_exception() 2123 exception_exit(prev_state); in sun4v_resum_error() 2355 exception_exit(prev_state); in do_fpieee() 2378 exception_exit(prev_state); in do_fpother() 2397 exception_exit(prev_state); in do_tof() 2416 exception_exit(prev_state); in do_div0() 2612 exception_exit(prev_state); in do_illegal_instruction() 2632 exception_exit(prev_state); in mem_address_unaligned() [all …]
|
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()
|
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/arch/mips/mm/ |
A D | fault.c | 330 enum ctx_state prev_state; in do_page_fault() local 332 prev_state = exception_enter(); in do_page_fault() 334 exception_exit(prev_state); in do_page_fault()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | testmode.c | 264 enum mt76_testmode_state prev_state = td->state; in mt7615_tm_set_state() local 268 if (prev_state == MT76_TM_STATE_TX_FRAMES) in mt7615_tm_set_state() 277 prev_state == MT76_TM_STATE_OFF) || in mt7615_tm_set_state() 279 prev_state == MT76_TM_STATE_IDLE)) { in mt7615_tm_set_state()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
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/kernel/trace/ |
A D | trace_entries.h | 119 __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,
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_enc_cfg.c | 316 struct dc_state *prev_state = dc->current_state; in link_enc_cfg_link_encs_assign() local 328 for (j = 0; j < prev_state->stream_count; j++) { in link_enc_cfg_link_encs_assign() 329 struct dc_stream_state *prev_stream = prev_state->streams[j]; in link_enc_cfg_link_encs_assign() 332 prev_state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[j].valid) { in link_enc_cfg_link_encs_assign() 333 eng_id = prev_state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[j].eng_id; in link_enc_cfg_link_encs_assign()
|
/linux/lib/dim/ |
A D | net_dim.c | 167 int prev_state = dim->tune_state; in net_dim_decision() local 211 if (prev_state != DIM_PARKING_ON_TOP || in net_dim_decision()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
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()
|
A D | qed_roce.h | 31 enum qed_roce_qp_state prev_state,
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_tracepoint.c | 13 long long prev_state; member
|
/linux/drivers/usb/phy/ |
A D | phy-tahvo.c | 73 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()
|