Home
last modified time | relevance | path

Searched refs:prev_state (Results 1 – 61 of 61) sorted by relevance

/linux-4.4.14/arch/mips/kernel/
Dtraps.c437 enum ctx_state prev_state; in do_be() local
439 prev_state = exception_enter(); in do_be()
477 exception_exit(prev_state); in do_be()
692 enum ctx_state prev_state; in do_ov() local
699 prev_state = exception_enter(); in do_ov()
703 exception_exit(prev_state); in do_ov()
820 enum ctx_state prev_state; in do_fpe() local
824 prev_state = exception_enter(); in do_fpe()
871 exception_exit(prev_state); in do_fpe()
939 enum ctx_state prev_state; in do_bp() local
[all …]
Dcpu-bugs64.c175 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()
Dunaligned.c2224 enum ctx_state prev_state; in do_ade() local
2228 prev_state = exception_enter(); in do_ade()
2304 exception_exit(prev_state); in do_ade()
/linux-4.4.14/tools/perf/scripts/python/
Dsched-migration.py102 def sched_switch(self, prev, prev_state, next): argument
105 if taskState(prev_state) == "R" and next in self.tasks \
109 if taskState(prev_state) != "R":
114 if taskState(prev_state) != "R":
116 elif taskState(prev_state) == "R":
177 def sched_switch(self, ts_list, prev, prev_state, next, cpu): argument
179 new_rq = old_rq.sched_switch(prev, prev_state, next)
331 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, argument
347 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
420 prev_comm, prev_pid, prev_prio, prev_state, argument
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
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()
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()
/linux-4.4.14/drivers/of/
Ddynamic.c127 int is_status, status_state, old_status_state, prev_state, new_state; in of_reconfig_get_state_change() local
150 prev_state = -1; in of_reconfig_get_state_change()
164 prev_state = 0; in of_reconfig_get_state_change()
170 prev_state = status_state != 0; in of_reconfig_get_state_change()
176 prev_state = 1; in of_reconfig_get_state_change()
182 prev_state = status_state; in of_reconfig_get_state_change()
189 prev_state = old_status_state != 0; in of_reconfig_get_state_change()
195 if (prev_state == new_state) in of_reconfig_get_state_change()
/linux-4.4.14/arch/powerpc/kernel/
Dtraps.c702 enum ctx_state prev_state = exception_enter(); in machine_check_exception() local
745 exception_exit(prev_state); in machine_check_exception()
769 enum ctx_state prev_state = exception_enter(); in unknown_exception() local
776 exception_exit(prev_state); in unknown_exception()
781 enum ctx_state prev_state = exception_enter(); in instruction_breakpoint_exception() local
791 exception_exit(prev_state); in instruction_breakpoint_exception()
801 enum ctx_state prev_state = exception_enter(); in single_step_exception() local
814 exception_exit(prev_state); in single_step_exception()
1139 enum ctx_state prev_state = exception_enter(); in program_check_exception() local
1247 exception_exit(prev_state); in program_check_exception()
[all …]
/linux-4.4.14/kernel/trace/
Dtrace_entries.h123 __field( unsigned char, prev_state ) \
136 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
156 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
Dtrace_output.c860 S = task_state_char(field->prev_state); in trace_ctxwake_print()
895 S = task_state_char(field->prev_state); in trace_ctxwake_raw()
931 S = task_state_char(field->prev_state); in trace_ctxwake_hex()
967 SEQ_PUT_FIELD(s, field->prev_state); in trace_ctxwake_bin()
Dtrace_sched_wakeup.c388 entry->prev_state = prev->state; in tracing_sched_switch_trace()
416 entry->prev_state = curr->state; in tracing_sched_wakeup_trace()
/linux-4.4.14/arch/mips/mm/
Dfault.c338 enum ctx_state prev_state; in do_page_fault() local
340 prev_state = exception_enter(); in do_page_fault()
342 exception_exit(prev_state); in do_page_fault()
/linux-4.4.14/arch/sparc/kernel/
Dtraps_64.c192 enum ctx_state prev_state = exception_enter(); in spitfire_insn_access_exception() local
215 exception_exit(prev_state); in spitfire_insn_access_exception()
269 enum ctx_state prev_state = exception_enter(); in spitfire_data_access_exception() local
305 exception_exit(prev_state); in spitfire_data_access_exception()
2006 enum ctx_state prev_state = exception_enter(); in sun4v_resum_error() local
2042 exception_exit(prev_state); in sun4v_resum_error()
2206 enum ctx_state prev_state = exception_enter(); in do_fpieee() local
2214 exception_exit(prev_state); in do_fpieee()
2219 enum ctx_state prev_state = exception_enter(); in do_fpother() local
2237 exception_exit(prev_state); in do_fpother()
[all …]
Dkgdb_64.c165 enum ctx_state prev_state = exception_enter(); in kgdb_trap() local
179 exception_exit(prev_state); in kgdb_trap()
Dunaligned_64.c597 enum ctx_state prev_state = exception_enter(); in handle_lddfmna() local
656 exception_exit(prev_state); in handle_lddfmna()
661 enum ctx_state prev_state = exception_enter(); in handle_stdfmna() local
707 exception_exit(prev_state); in handle_stdfmna()
Dsignal_64.c48 enum ctx_state prev_state = exception_enter(); in sparc64_set_context() local
136 exception_exit(prev_state); in sparc64_set_context()
147 enum ctx_state prev_state = exception_enter(); in sparc64_get_context() local
230 exception_exit(prev_state); in sparc64_get_context()
Dkprobes.c422 enum ctx_state prev_state = exception_enter(); in kprobe_trap() local
440 exception_exit(prev_state); in kprobe_trap()
Dsys_sparc_64.c501 enum ctx_state prev_state = exception_enter(); in sparc_breakpoint() local
520 exception_exit(prev_state); in sparc_breakpoint()
Dviohs.c621 u8 prev_state = vio->hs_state; in vio_control_pkt_engine() local
650 vio->hs_state != prev_state && in vio_control_pkt_engine()
/linux-4.4.14/include/trace/events/
Dsched.h136 __field( long, prev_state )
146 __entry->prev_state = __trace_sched_switch_state(preempt, prev);
154 __entry->prev_state & (TASK_STATE_MAX-1) ?
155 __print_flags(__entry->prev_state & (TASK_STATE_MAX-1), "|",
160 __entry->prev_state & TASK_STATE_MAX ? "+" : "",
/linux-4.4.14/arch/x86/mm/
Dfault.c1297 enum ctx_state prev_state; in do_page_fault() local
1307 prev_state = exception_enter(); in do_page_fault()
1309 exception_exit(prev_state); in do_page_fault()
1334 enum ctx_state prev_state; in trace_do_page_fault() local
1336 prev_state = exception_enter(); in trace_do_page_fault()
1339 exception_exit(prev_state); in trace_do_page_fault()
/linux-4.4.14/arch/tile/kernel/
Dptrace.c325 enum ctx_state prev_state = exception_enter(); in do_breakpoint() local
327 exception_exit(prev_state); in do_breakpoint()
Dtraps.c257 enum ctx_state prev_state = exception_enter(); in do_trap() local
395 exception_exit(prev_state); in do_trap()
Dsingle_step.c742 enum ctx_state prev_state = exception_enter(); in gx_singlestep_handle() local
759 exception_exit(prev_state); in gx_singlestep_handle()
Dunaligned.c1452 enum ctx_state prev_state = exception_enter(); in do_unaligned() local
1597 exception_exit(prev_state); in do_unaligned()
/linux-4.4.14/tools/perf/scripts/perl/
Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/linux-4.4.14/drivers/usb/phy/
Dphy-tahvo.c81 int reg, prev_state; in check_vbus_state() local
121 prev_state = tu->vbus_state; in check_vbus_state()
123 if (prev_state != tu->vbus_state) { in check_vbus_state()
/linux-4.4.14/arch/powerpc/mm/
Dfault.c211 enum ctx_state prev_state = exception_enter(); in do_page_fault() local
499 exception_exit(prev_state); in do_page_fault()
Dhash_utils_64.c998 enum ctx_state prev_state = exception_enter(); in hash_page_mm() local
1185 exception_exit(prev_state); in hash_page_mm()
1425 enum ctx_state prev_state = exception_enter(); in low_hash_fault() local
1437 exception_exit(prev_state); in low_hash_fault()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c148 prev = adapter->ahw->idc.prev_state; in qlcnic_83xx_idc_log_state_history()
681 if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_READY) { in qlcnic_83xx_idc_ready_state_entry()
684 if ((ahw->idc.prev_state == QLC_83XX_IDC_DEV_NEED_RESET) || in qlcnic_83xx_idc_ready_state_entry()
685 (ahw->idc.prev_state == QLC_83XX_IDC_DEV_INIT)) { in qlcnic_83xx_idc_ready_state_entry()
728 if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_UNKNOWN) { in qlcnic_83xx_idc_vnic_pf_entry()
797 if (adapter->ahw->idc.prev_state == QLC_83XX_IDC_DEV_NEED_RESET) { in qlcnic_83xx_idc_init_state()
903 if (adapter->ahw->idc.prev_state != QLC_83XX_IDC_DEV_NEED_RESET) { in qlcnic_83xx_idc_need_reset_state()
987 prev = adapter->ahw->idc.prev_state; in qlcnic_83xx_idc_check_state_validity()
1167 adapter->ahw->idc.prev_state = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_poll_dev_state()
1192 adapter->ahw->idc.prev_state = QLC_83XX_IDC_DEV_UNKNOWN; in qlcnic_83xx_setup_idc_parameters()
[all …]
Dqlcnic_sriov_common.c1729 if ((idc->prev_state == QLC_83XX_IDC_DEV_NEED_RESET) || in qlcnic_sriov_vf_handle_dev_ready()
1730 (idc->prev_state == QLC_83XX_IDC_DEV_INIT)) { in qlcnic_sriov_vf_handle_dev_ready()
1814 if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_READY) in qlcnic_sriov_vf_idc_ready_state()
1828 if (idc->prev_state == QLC_83XX_IDC_DEV_READY) in qlcnic_sriov_vf_idc_failed_state()
1843 if (idc->prev_state == QLC_83XX_IDC_DEV_READY) { in qlcnic_sriov_vf_idc_need_quiescent_state()
1860 if (idc->prev_state == QLC_83XX_IDC_DEV_READY) { in qlcnic_sriov_vf_idc_init_reset_state()
1914 idc->prev_state = idc->curr_state; in qlcnic_sriov_vf_poll_dev_state()
Dqlcnic_main.c3358 u32 val, prev_state; in qlcnic_can_start_firmware() local
3375 prev_state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE); in qlcnic_can_start_firmware()
3376 QLCDB(adapter, HW, "Device state = %u\n", prev_state); in qlcnic_can_start_firmware()
3378 switch (prev_state) { in qlcnic_can_start_firmware()
3419 prev_state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE); in qlcnic_can_start_firmware()
3421 if (prev_state == QLCNIC_DEV_QUISCENT) in qlcnic_can_start_firmware()
3423 } while ((prev_state != QLCNIC_DEV_READY) && --dev_init_timeo); in qlcnic_can_start_firmware()
Dqlcnic_83xx_hw.h323 u8 prev_state; member
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmcg.c112 enum mcast_group_state prev_state; member
627 group->prev_state = group->state; in handle_join_req()
634 group->state = group->prev_state; in handle_join_req()
669 group->state = group->prev_state; in mlx4_ib_mcg_work_handler()
729 group->prev_state = group->state; in mlx4_ib_mcg_work_handler()
731 group->state = group->prev_state; in mlx4_ib_mcg_work_handler()
914 group->prev_state = group->state; in mlx4_ib_mcg_demux_handler()
Dalias_GUID.c194 enum slave_port_state prev_state; in mlx4_ib_notify_slaves_on_guid_change() local
259 prev_state = mlx4_get_slave_port_state(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
265 slave_id, port_num, prev_state, new_state, gen_event); in mlx4_ib_notify_slaves_on_guid_change()
/linux-4.4.14/kernel/debug/kdb/
Dkdb_main.c2197 char state, prev_state = '?'; in kdb_cpu_status() local
2211 if (state != prev_state) { in kdb_cpu_status()
2212 if (prev_state != '?') { in kdb_cpu_status()
2219 if (prev_state != ' ') in kdb_cpu_status()
2220 kdb_printf("(%c)", prev_state); in kdb_cpu_status()
2222 prev_state = state; in kdb_cpu_status()
2227 if (prev_state != 'F') { in kdb_cpu_status()
2233 if (prev_state != ' ') in kdb_cpu_status()
2234 kdb_printf("(%c)", prev_state); in kdb_cpu_status()
/linux-4.4.14/arch/x86/kernel/
Dkvm.c260 enum ctx_state prev_state; in do_async_page_fault() local
268 prev_state = exception_enter(); in do_async_page_fault()
271 exception_exit(prev_state); in do_async_page_fault()
/linux-4.4.14/arch/sparc/mm/
Dfault_64.c284 enum ctx_state prev_state = exception_enter(); in do_sparc64_fault() local
500 exception_exit(prev_state); in do_sparc64_fault()
/linux-4.4.14/drivers/pci/
Dxen-pcifront.c928 enum xenbus_state prev_state; in pcifront_try_disconnect() local
931 prev_state = xenbus_read_driver_state(pdev->xdev->nodename); in pcifront_try_disconnect()
933 if (prev_state >= XenbusStateClosing) in pcifront_try_disconnect()
936 if (prev_state == XenbusStateConnected) { in pcifront_try_disconnect()
/linux-4.4.14/arch/tile/mm/
Dfault.c848 enum ctx_state prev_state = exception_enter(); in do_page_fault() local
850 exception_exit(prev_state); in do_page_fault()
/linux-4.4.14/tools/perf/
Dbuiltin-sched.c724 const u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in replay_switch_event() local
756 add_sched_event_sleep(sched, prev, timestamp, prev_state); in replay_switch_event()
880 static char sched_out_state(u64 prev_state) in sched_out_state() argument
884 return str[prev_state]; in sched_out_state()
961 const u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in latency_switch_event() local
997 if (add_sched_out_event(out_events, sched_out_state(prev_state), timestamp)) in latency_switch_event()
Dbuiltin-timechart.c438 int prev_pid, int next_pid, u64 prev_state, in sched_switch() argument
464 if (prev_state & 2) in sched_switch()
466 if (prev_state == 0) in sched_switch()
629 u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in process_sample_sched_switch() local
632 prev_state, backtrace); in process_sample_sched_switch()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_pp.c178 struct enic_port_profile *prev_state,
/linux-4.4.14/drivers/mmc/host/
Ddw_mmc.c1710 enum dw_mci_state prev_state; in dw_mci_tasklet_func() local
1720 prev_state = state; in dw_mci_tasklet_func()
1738 prev_state = state = STATE_SENDING_CMD; in dw_mci_tasklet_func()
1756 prev_state = state = STATE_SENDING_DATA; in dw_mci_tasklet_func()
1816 prev_state = state = STATE_DATA_BUSY; in dw_mci_tasklet_func()
1871 prev_state = state = STATE_SENDING_STOP; in dw_mci_tasklet_func()
1903 } while (state != prev_state); in dw_mci_tasklet_func()
Datmel-mci.c1653 enum atmel_mci_state prev_state; in atmci_tasklet_func() local
1666 prev_state = state; in atmci_tasklet_func()
1846 } while (state != prev_state); in atmci_tasklet_func()
/linux-4.4.14/include/linux/
Ddrbd_genl.h205 __u32_field(5, DRBD_GENLA_F_MANDATORY, prev_state)
/linux-4.4.14/drivers/scsi/isci/
Dport.c1511 u32 prev_state; in sci_port_ready_state_enter() local
1513 prev_state = iport->sm.previous_state_id; in sci_port_ready_state_enter()
1514 if (prev_state == SCI_PORT_RESETTING) in sci_port_ready_state_enter()
Dremote_device.c1061 u32 prev_state; in sci_remote_device_stopped_state_enter() local
1066 prev_state = idev->sm.previous_state_id; in sci_remote_device_stopped_state_enter()
1067 if (prev_state == SCI_DEV_STOPPING) in sci_remote_device_stopped_state_enter()
/linux-4.4.14/drivers/scsi/csiostor/
Dt4fw_api_stor.h121 u8 prev_state; member
/linux-4.4.14/kernel/sched/
Dcore.c2543 long prev_state; in finish_task_switch() local
2574 prev_state = prev->state; in finish_task_switch()
2583 if (unlikely(prev_state == TASK_DEAD)) { in finish_task_switch()
3229 enum ctx_state prev_state = exception_enter(); in schedule_user() local
3231 exception_exit(prev_state); in schedule_user()
3328 enum ctx_state prev_state; in preempt_schedule_irq() local
3333 prev_state = exception_enter(); in preempt_schedule_irq()
3343 exception_exit(prev_state); in preempt_schedule_irq()
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c1602 int prev_state; in sbp_mgt_agent_rw() local
1605 prev_state = agent->state; in sbp_mgt_agent_rw()
1609 if (prev_state == MANAGEMENT_AGENT_STATE_BUSY) { in sbp_mgt_agent_rw()
/linux-4.4.14/Documentation/trace/
Dftrace.txt2684 …440.603828: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=…
2685 …6: sched_switch: prev_comm=snapshot-test-2 prev_pid=2242 prev_prio=120 prev_state=R ==> next_comm=…
2687 …440.707230: sched_switch: prev_comm=swapper/2 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=…
2701 …440.707395: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=…
2702 …8: sched_switch: prev_comm=snapshot-test-2 prev_pid=2229 prev_prio=120 prev_state=S ==> next_comm=…
2778 …136.676909: sched_switch: prev_comm=swapper/3 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=…
2779 …6.676916: sched_switch: prev_comm=rcu_preempt prev_pid=9 prev_prio=120 prev_state=S ==> next_comm=…
2782 … 136.677018: sched_switch: prev_comm=bash prev_pid=1998 prev_prio=120 prev_state=R+ ==> next_comm…
2784 ….677025: sched_switch: prev_comm=kworker/0:1 prev_pid=59 prev_prio=120 prev_state=S ==> next_comm=…
/linux-4.4.14/arch/ia64/kernel/
Dperfmon.c4421 int prev_state, is_system; in pfm_context_unload() local
4426 prev_state = ctx->ctx_state; in pfm_context_unload()
4432 if (prev_state == PFM_CTX_UNLOADED) { in pfm_context_unload()
4433 DPRINT(("ctx_state=%d, nothing to do\n", prev_state)); in pfm_context_unload()
4470 if (prev_state != PFM_CTX_ZOMBIE) in pfm_context_unload()
4513 if (prev_state != PFM_CTX_ZOMBIE) in pfm_context_unload()
/linux-4.4.14/arch/arm/mach-omap2/
Domap_hwmod.c2263 u8 prev_state; in _shutdown() local
2278 prev_state = oh->_state; in _shutdown()
2283 if (prev_state == _HWMOD_STATE_IDLE) in _shutdown()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c2119 enum rdma_ch_state prev_state; in __srpt_close_ch() local
2123 prev_state = ch->state; in __srpt_close_ch()
2124 switch (prev_state) { in __srpt_close_ch()
2134 switch (prev_state) { in __srpt_close_ch()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dde4x5.c927 static int de4x5_suspect_state(struct net_device *dev, int timeout, int prev_state, int (*fn)(s…
2499 de4x5_suspect_state(struct net_device *dev, int timeout, int prev_state, in de4x5_suspect_state() argument
2510 lp->media = prev_state; in de4x5_suspect_state()
2523 lp->media = prev_state; in de4x5_suspect_state()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2414 enum ath6kl_state prev_state; in ath6kl_cfg80211_suspend() local
2425 prev_state = ar->state; in ath6kl_cfg80211_suspend()
2429 ar->state = prev_state; in ath6kl_cfg80211_suspend()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_sas.h1616 u32 prev_state; member
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c3815 u8 uninitialized_var(prev_state); in rocker_port_stp_update()
3821 prev_state = rocker_port->stp_state; in rocker_port_stp_update()
3873 rocker_port->stp_state = prev_state; in rocker_port_stp_update()
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c5692 u8 prev_state = hw->promiscuous; in dev_set_promiscuous() local
5701 if (hw->promiscuous <= 1 && prev_state <= 1) in dev_set_promiscuous()
/linux-4.4.14/drivers/net/wireless/
Dairo.c5622 pci_power_t prev_state = pdev->current_state; in airo_pci_resume() local
5628 if (prev_state != PCI_D1) { in airo_pci_resume()