cur_state 239 drivers/acpi/device_pm.c int cur_state = device->power.state; cur_state 247 drivers/acpi/device_pm.c if (cur_state == ACPI_STATE_D0) { cur_state 212 drivers/acpi/power.c int cur_state; cur_state 218 drivers/acpi/power.c cur_state = 0; cur_state 225 drivers/acpi/power.c result = acpi_power_get_state(handle, &cur_state); cur_state 230 drivers/acpi/power.c if (cur_state != ACPI_POWER_RESOURCE_STATE_ON) cur_state 235 drivers/acpi/power.c cur_state ? "on" : "off")); cur_state 237 drivers/acpi/power.c *state = cur_state; cur_state 212 drivers/acpi/processor_thermal.c unsigned long *cur_state) cur_state 224 drivers/acpi/processor_thermal.c *cur_state = cpufreq_get_cur_state(pr->id); cur_state 226 drivers/acpi/processor_thermal.c *cur_state += pr->throttling.state; cur_state 893 drivers/block/sx8.c int cur_state, int next_state) cur_state 897 drivers/block/sx8.c assert(host->state == cur_state); cur_state 181 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h enum amd_powergating_state cur_state; cur_state 2165 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c if(state == adev->vcn.cur_state) cur_state 2174 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c adev->vcn.cur_state = state; cur_state 297 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c (adev->vcn.cur_state != AMD_PG_STATE_GATE && cur_state 2138 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c if (state == adev->vcn.cur_state) cur_state 2147 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c adev->vcn.cur_state = state; cur_state 1304 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c if(state == adev->vcn.cur_state) cur_state 1313 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c adev->vcn.cur_state = state; cur_state 90 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.c enum BACO_STATE cur_state; cur_state 92 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.c smu9_baco_get_state(hwmgr, &cur_state); cur_state 94 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.c if (cur_state == state) cur_state 88 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.c enum BACO_STATE cur_state; cur_state 90 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.c smu9_baco_get_state(hwmgr, &cur_state); cur_state 92 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.c if (cur_state == state) cur_state 78 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c enum BACO_STATE cur_state; cur_state 81 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c vega20_baco_get_state(hwmgr, &cur_state); cur_state 83 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c if (cur_state == state) cur_state 1093 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1096 drivers/gpu/drm/i915/display/intel_display.c cur_state = !!(val & DPLL_VCO_ENABLE); cur_state 1097 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1099 drivers/gpu/drm/i915/display/intel_display.c onoff(state), onoff(cur_state)); cur_state 1106 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1112 drivers/gpu/drm/i915/display/intel_display.c cur_state = val & DSI_PLL_VCO_EN; cur_state 1113 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1115 drivers/gpu/drm/i915/display/intel_display.c onoff(state), onoff(cur_state)); cur_state 1121 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1128 drivers/gpu/drm/i915/display/intel_display.c cur_state = !!(val & TRANS_DDI_FUNC_ENABLE); cur_state 1131 drivers/gpu/drm/i915/display/intel_display.c cur_state = !!(val & FDI_TX_ENABLE); cur_state 1133 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1135 drivers/gpu/drm/i915/display/intel_display.c onoff(state), onoff(cur_state)); cur_state 1144 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1147 drivers/gpu/drm/i915/display/intel_display.c cur_state = !!(val & FDI_RX_ENABLE); cur_state 1148 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1150 drivers/gpu/drm/i915/display/intel_display.c onoff(state), onoff(cur_state)); cur_state 1176 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1179 drivers/gpu/drm/i915/display/intel_display.c cur_state = !!(val & FDI_RX_PLL_ENABLE); cur_state 1180 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1182 drivers/gpu/drm/i915/display/intel_display.c onoff(state), onoff(cur_state)); cur_state 1245 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1259 drivers/gpu/drm/i915/display/intel_display.c cur_state = !!(val & PIPECONF_ENABLE); cur_state 1263 drivers/gpu/drm/i915/display/intel_display.c cur_state = false; cur_state 1266 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1268 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), onoff(state), onoff(cur_state)); cur_state 1274 drivers/gpu/drm/i915/display/intel_display.c bool cur_state; cur_state 1276 drivers/gpu/drm/i915/display/intel_display.c cur_state = plane->get_hw_state(plane, &pipe); cur_state 1278 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(cur_state != state, cur_state 1280 drivers/gpu/drm/i915/display/intel_display.c plane->base.name, onoff(state), onoff(cur_state)); cur_state 2926 drivers/gpu/drm/i915/display/intel_dp.c bool cur_state = I915_READ(intel_dp->output_reg) & DP_PORT_EN; cur_state 2928 drivers/gpu/drm/i915/display/intel_dp.c I915_STATE_WARN(cur_state != state, cur_state 2931 drivers/gpu/drm/i915/display/intel_dp.c onoff(state), onoff(cur_state)); cur_state 2937 drivers/gpu/drm/i915/display/intel_dp.c bool cur_state = I915_READ(DP_A) & DP_PLL_ENABLE; cur_state 2939 drivers/gpu/drm/i915/display/intel_dp.c I915_STATE_WARN(cur_state != state, cur_state 2941 drivers/gpu/drm/i915/display/intel_dp.c onoff(state), onoff(cur_state)); cur_state 118 drivers/gpu/drm/i915/display/intel_dpll_mgr.c bool cur_state; cur_state 124 drivers/gpu/drm/i915/display/intel_dpll_mgr.c cur_state = pll->info->funcs->get_hw_state(dev_priv, pll, &hw_state); cur_state 125 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_STATE_WARN(cur_state != state, cur_state 127 drivers/gpu/drm/i915/display/intel_dpll_mgr.c pll->info->name, onoff(state), onoff(cur_state)); cur_state 1627 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c SVGA3dTextureState *cur_state = (SVGA3dTextureState *) cur_state 1641 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c for (; cur_state < last_state; ++cur_state) { cur_state 1642 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (likely(cur_state->name != SVGA3D_TS_BIND_TEXTURE)) cur_state 1645 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (cur_state->stage >= SVGA3D_NUM_TEXTURE_UNITS) { cur_state 1647 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c (unsigned int) cur_state->stage); cur_state 1654 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c &cur_state->value, &res); cur_state 1669 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.texture_stage = cur_state->stage; cur_state 177 drivers/hwmon/aspeed-pwm-tacho.c u8 cur_state; cur_state 774 drivers/hwmon/aspeed-pwm-tacho.c *state = cdev->cur_state; cur_state 788 drivers/hwmon/aspeed-pwm-tacho.c cdev->cur_state = state; cur_state 790 drivers/hwmon/aspeed-pwm-tacho.c cdev->cooling_levels[cdev->cur_state]; cur_state 792 drivers/hwmon/aspeed-pwm-tacho.c cdev->cooling_levels[cdev->cur_state]); cur_state 293 drivers/hwmon/mlxreg-fan.c unsigned long cur_state; cur_state 320 drivers/hwmon/mlxreg-fan.c cur_state = MLXREG_FAN_PWM_DUTY2STATE(regval); cur_state 321 drivers/hwmon/mlxreg-fan.c if (state < cur_state) cur_state 324 drivers/hwmon/mlxreg-fan.c state = cur_state; cur_state 188 drivers/hwmon/npcm750-pwm-fan.c u8 cur_state; cur_state 794 drivers/hwmon/npcm750-pwm-fan.c *state = cdev->cur_state; cur_state 809 drivers/hwmon/npcm750-pwm-fan.c cdev->cur_state = state; cur_state 811 drivers/hwmon/npcm750-pwm-fan.c cdev->cooling_levels[cdev->cur_state]); cur_state 1550 drivers/infiniband/core/verbs.c bool ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, cur_state 1556 drivers/infiniband/core/verbs.c cur_state != IB_QPS_RTR && cur_state != IB_QPS_RTS && cur_state 1557 drivers/infiniband/core/verbs.c cur_state != IB_QPS_SQD && cur_state != IB_QPS_SQE) cur_state 1560 drivers/infiniband/core/verbs.c if (!qp_state_table[cur_state][next_state].valid) cur_state 1563 drivers/infiniband/core/verbs.c req_param = qp_state_table[cur_state][next_state].req_param[type]; cur_state 1564 drivers/infiniband/core/verbs.c opt_param = qp_state_table[cur_state][next_state].opt_param[type]; cur_state 788 drivers/infiniband/hw/efa/efa_verbs.c enum ib_qp_state cur_state, cur_state 802 drivers/infiniband/hw/efa/efa_verbs.c if (!ib_modify_qp_is_ok(cur_state, new_state, IB_QPT_UD, cur_state 827 drivers/infiniband/hw/efa/efa_verbs.c enum ib_qp_state cur_state; cur_state 838 drivers/infiniband/hw/efa/efa_verbs.c cur_state = qp_attr_mask & IB_QP_CUR_STATE ? qp_attr->cur_qp_state : cur_state 840 drivers/infiniband/hw/efa/efa_verbs.c new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; cur_state 842 drivers/infiniband/hw/efa/efa_verbs.c err = efa_modify_qp_validate(dev, qp, qp_attr, qp_attr_mask, cur_state, cur_state 964 drivers/infiniband/hw/hns/hns_roce_device.h int attr_mask, enum ib_qp_state cur_state, cur_state 2488 drivers/infiniband/hw/hns/hns_roce_hw_v1.c enum hns_roce_qp_state cur_state, cur_state 2536 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (cur_state >= HNS_ROCE_QP_NUM_STATE || cur_state 2538 drivers/infiniband/hw/hns/hns_roce_hw_v1.c !op[cur_state][new_state]) { cur_state 2540 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cur_state, new_state); cur_state 2544 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (op[cur_state][new_state] == HNS_ROCE_CMD_2RST_QP) cur_state 2549 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (op[cur_state][new_state] == HNS_ROCE_CMD_2ERR_QP) cur_state 2561 drivers/infiniband/hw/hns/hns_roce_hw_v1.c op[cur_state][new_state], cur_state 2569 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int attr_mask, enum ib_qp_state cur_state, cur_state 2595 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 2713 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int attr_mask, enum ib_qp_state cur_state, cur_state 2759 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 2817 drivers/infiniband/hw/hns/hns_roce_hw_v1.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) { cur_state 2887 drivers/infiniband/hw/hns/hns_roce_hw_v1.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { cur_state 3070 drivers/infiniband/hw/hns/hns_roce_hw_v1.c } else if (cur_state == IB_QPS_RTR && cur_state 3243 drivers/infiniband/hw/hns/hns_roce_hw_v1.c } else if (!((cur_state == IB_QPS_INIT && new_state == IB_QPS_RESET) || cur_state 3244 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_INIT && new_state == IB_QPS_ERR) || cur_state 3245 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_RTR && new_state == IB_QPS_RESET) || cur_state 3246 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_RTR && new_state == IB_QPS_ERR) || cur_state 3247 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_RTS && new_state == IB_QPS_RESET) || cur_state 3248 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_RTS && new_state == IB_QPS_ERR) || cur_state 3249 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_ERR && new_state == IB_QPS_RESET) || cur_state 3250 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (cur_state == IB_QPS_ERR && new_state == IB_QPS_ERR))) { cur_state 3262 drivers/infiniband/hw/hns/hns_roce_hw_v1.c to_hns_roce_state(cur_state), cur_state 3274 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) { cur_state 3323 drivers/infiniband/hw/hns/hns_roce_hw_v1.c enum ib_qp_state cur_state, cur_state 3328 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return hns_roce_v1_m_sqp(ibqp, attr, attr_mask, cur_state, cur_state 3331 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return hns_roce_v1_m_qp(ibqp, attr, attr_mask, cur_state, cur_state 230 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, enum ib_qp_state cur_state, cur_state 3166 drivers/infiniband/hw/hns/hns_roce_hw_v2.c enum ib_qp_state cur_state, cur_state 4041 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static inline bool hns_roce_v2_check_qp_stat(enum ib_qp_state cur_state, cur_state 4045 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if ((cur_state != IB_QPS_RESET && cur_state 4047 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ((cur_state == IB_QPS_RTS || cur_state == IB_QPS_SQD) && cur_state 4049 drivers/infiniband/hw/hns/hns_roce_hw_v2.c (cur_state == IB_QPS_SQE && new_state == IB_QPS_RTS)) cur_state 4161 drivers/infiniband/hw/hns/hns_roce_hw_v2.c enum ib_qp_state cur_state, cur_state 4169 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 4173 drivers/infiniband/hw/hns/hns_roce_hw_v2.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) { cur_state 4176 drivers/infiniband/hw/hns/hns_roce_hw_v2.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { cur_state 4181 drivers/infiniband/hw/hns/hns_roce_hw_v2.c } else if (cur_state == IB_QPS_RTR && new_state == IB_QPS_RTS) { cur_state 4186 drivers/infiniband/hw/hns/hns_roce_hw_v2.c } else if (hns_roce_v2_check_qp_stat(cur_state, new_state)) { cur_state 4387 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, enum ib_qp_state cur_state, cur_state 4406 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_set_abs_fields(ibqp, attr, attr_mask, cur_state, cur_state 4450 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_qp_modify(hr_dev, cur_state, new_state, ctx, hr_qp); cur_state 1179 drivers/infiniband/hw/hns/hns_roce_qp.c enum ib_qp_state cur_state, new_state; cur_state 1184 drivers/infiniband/hw/hns/hns_roce_qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? cur_state 1186 drivers/infiniband/hw/hns/hns_roce_qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; cur_state 1202 drivers/infiniband/hw/hns/hns_roce_qp.c if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, cur_state 1212 drivers/infiniband/hw/hns/hns_roce_qp.c if (cur_state == new_state && cur_state == IB_QPS_RESET) { cur_state 1216 drivers/infiniband/hw/hns/hns_roce_qp.c "cur_state=%d new_state=%d\n", cur_state, cur_state 1225 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hr_dev->hw->modify_qp(ibqp, attr, attr_mask, cur_state, cur_state 2133 drivers/infiniband/hw/mlx4/qp.c enum ib_qp_state cur_state, cur_state 2245 drivers/infiniband/hw/mlx4/qp.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 2263 drivers/infiniband/hw/mlx4/qp.c if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD && cur_state 2270 drivers/infiniband/hw/mlx4/qp.c if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { cur_state 2339 drivers/infiniband/hw/mlx4/qp.c (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR)) { cur_state 2459 drivers/infiniband/hw/mlx4/qp.c cur_state == IB_QPS_RESET && cur_state 2463 drivers/infiniband/hw/mlx4/qp.c if (cur_state == IB_QPS_INIT && cur_state 2519 drivers/infiniband/hw/mlx4/qp.c if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && cur_state 2526 drivers/infiniband/hw/mlx4/qp.c cur_state == IB_QPS_RESET && cur_state 2537 drivers/infiniband/hw/mlx4/qp.c cur_state == IB_QPS_RESET && cur_state 2552 drivers/infiniband/hw/mlx4/qp.c cur_state == IB_QPS_RESET && cur_state 2558 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state), cur_state 2585 drivers/infiniband/hw/mlx4/qp.c if (cur_state != IB_QPS_RTR && new_state == IB_QPS_RTR) cur_state 2590 drivers/infiniband/hw/mlx4/qp.c if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && cur_state 2723 drivers/infiniband/hw/mlx4/qp.c enum ib_qp_state cur_state, new_state; cur_state 2727 drivers/infiniband/hw/mlx4/qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; cur_state 2728 drivers/infiniband/hw/mlx4/qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; cur_state 2730 drivers/infiniband/hw/mlx4/qp.c if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, cur_state 2735 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, cur_state, new_state, cur_state 2741 drivers/infiniband/hw/mlx4/qp.c if (!(((cur_state == IB_QPS_RESET) && cur_state 2743 drivers/infiniband/hw/mlx4/qp.c ((cur_state == IB_QPS_INIT) && cur_state 2746 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, cur_state, new_state); cur_state 2754 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, attr_mask, cur_state, new_state); cur_state 2762 drivers/infiniband/hw/mlx4/qp.c if ((cur_state == IB_QPS_RESET) && (new_state == IB_QPS_INIT)) { cur_state 2781 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, attr->port_num, cur_state, cur_state 2796 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, attr->pkey_index, cur_state, cur_state 2806 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, attr->max_rd_atomic, cur_state, cur_state 2815 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, attr->max_dest_rd_atomic, cur_state, cur_state 2820 drivers/infiniband/hw/mlx4/qp.c if (cur_state == new_state && cur_state == IB_QPS_RESET) { cur_state 2833 drivers/infiniband/hw/mlx4/qp.c cur_state, new_state, udata); cur_state 4275 drivers/infiniband/hw/mlx4/qp.c enum ib_wq_state cur_state, new_state; cur_state 4297 drivers/infiniband/hw/mlx4/qp.c cur_state = wq_attr_mask & IB_WQ_CUR_STATE ? wq_attr->curr_wq_state : cur_state 4299 drivers/infiniband/hw/mlx4/qp.c new_state = wq_attr_mask & IB_WQ_STATE ? wq_attr->wq_state : cur_state; cur_state 4301 drivers/infiniband/hw/mlx4/qp.c if (cur_state < IB_WQS_RESET || cur_state > IB_WQS_ERR || cur_state 4305 drivers/infiniband/hw/mlx4/qp.c if ((new_state == IB_WQS_RDY) && (cur_state == IB_WQS_ERR)) cur_state 4308 drivers/infiniband/hw/mlx4/qp.c if ((new_state == IB_WQS_ERR) && (cur_state == IB_WQS_RESET)) cur_state 3410 drivers/infiniband/hw/mlx5/qp.c enum ib_qp_state cur_state, cur_state 3494 drivers/infiniband/hw/mlx5/qp.c if ((cur_state == IB_QPS_RESET) && (new_state == IB_QPS_INIT)) { cur_state 3611 drivers/infiniband/hw/mlx5/qp.c if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) cur_state 3614 drivers/infiniband/hw/mlx5/qp.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 3630 drivers/infiniband/hw/mlx5/qp.c if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) cur_state 3636 drivers/infiniband/hw/mlx5/qp.c mlx5_cur = to_mlx5_state(cur_state); cur_state 3654 drivers/infiniband/hw/mlx5/qp.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 3758 drivers/infiniband/hw/mlx5/qp.c static bool modify_dci_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state new_state, cur_state 3766 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 3769 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) { cur_state 3772 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { cur_state 3776 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state == IB_QPS_RTR && new_state == IB_QPS_RTS) { cur_state 3781 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state == IB_QPS_RTS && new_state == IB_QPS_RTS) { cur_state 3784 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state != IB_QPS_RESET && new_state == IB_QPS_ERR) { cur_state 3802 drivers/infiniband/hw/mlx5/qp.c enum ib_qp_state cur_state, new_state; cur_state 3810 drivers/infiniband/hw/mlx5/qp.c cur_state = qp->state; cur_state 3814 drivers/infiniband/hw/mlx5/qp.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { cur_state 3847 drivers/infiniband/hw/mlx5/qp.c } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { cur_state 3879 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_warn(dev, "Modify DCT: Invalid transition from %d to %d\n", cur_state, new_state); cur_state 3896 drivers/infiniband/hw/mlx5/qp.c enum ib_qp_state cur_state, new_state; cur_state 3940 drivers/infiniband/hw/mlx5/qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; cur_state 3941 drivers/infiniband/hw/mlx5/qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; cur_state 3943 drivers/infiniband/hw/mlx5/qp.c if (!(cur_state == new_state && cur_state == IB_QPS_RESET)) { cur_state 3955 drivers/infiniband/hw/mlx5/qp.c !ib_modify_qp_is_ok(cur_state, new_state, qp_type, cur_state 3958 drivers/infiniband/hw/mlx5/qp.c cur_state, new_state, ibqp->qp_type, attr_mask); cur_state 3961 drivers/infiniband/hw/mlx5/qp.c !modify_dci_qp_is_ok(cur_state, new_state, attr_mask)) { cur_state 3963 drivers/infiniband/hw/mlx5/qp.c cur_state, new_state, qp_type, attr_mask); cur_state 4001 drivers/infiniband/hw/mlx5/qp.c if (cur_state == new_state && cur_state == IB_QPS_RESET) { cur_state 4006 drivers/infiniband/hw/mlx5/qp.c err = __mlx5_ib_modify_qp(ibqp, attr, attr_mask, cur_state, cur_state 558 drivers/infiniband/hw/mthca/mthca_qp.c enum ib_qp_state cur_state, cur_state 668 drivers/infiniband/hw/mthca/mthca_qp.c cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { cur_state 788 drivers/infiniband/hw/mthca/mthca_qp.c if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && cur_state 793 drivers/infiniband/hw/mthca/mthca_qp.c err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0, cur_state 797 drivers/infiniband/hw/mthca/mthca_qp.c cur_state, new_state, err); cur_state 819 drivers/infiniband/hw/mthca/mthca_qp.c if (cur_state != IB_QPS_RTR && cur_state 823 drivers/infiniband/hw/mthca/mthca_qp.c if (cur_state != IB_QPS_RESET && cur_state 824 drivers/infiniband/hw/mthca/mthca_qp.c cur_state != IB_QPS_ERR && cur_state 863 drivers/infiniband/hw/mthca/mthca_qp.c enum ib_qp_state cur_state, new_state; cur_state 868 drivers/infiniband/hw/mthca/mthca_qp.c cur_state = attr->cur_qp_state; cur_state 872 drivers/infiniband/hw/mthca/mthca_qp.c cur_state = qp->state; cur_state 877 drivers/infiniband/hw/mthca/mthca_qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; cur_state 879 drivers/infiniband/hw/mthca/mthca_qp.c if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, cur_state 883 drivers/infiniband/hw/mthca/mthca_qp.c qp->transport, cur_state, new_state, cur_state 915 drivers/infiniband/hw/mthca/mthca_qp.c if (cur_state == new_state && cur_state == IB_QPS_RESET) { cur_state 920 drivers/infiniband/hw/mthca/mthca_qp.c err = __mthca_modify_qp(ibqp, attr, attr_mask, cur_state, new_state, cur_state 2001 drivers/infiniband/hw/qedr/verbs.c enum qed_roce_qp_state cur_state, cur_state 2006 drivers/infiniband/hw/qedr/verbs.c if (new_state == cur_state) cur_state 2009 drivers/infiniband/hw/qedr/verbs.c switch (cur_state) { cur_state 2113 drivers/infiniband/hw/qedr/verbs.c enum qed_roce_qp_state cur_state; cur_state 2336 drivers/infiniband/hw/qedr/verbs.c cur_state = qp->state; cur_state 2353 drivers/infiniband/hw/qedr/verbs.c rc = qedr_update_qp_state(dev, qp, cur_state, cur_state 108 drivers/infiniband/hw/usnic/usnic_ib_main.c enum ib_qp_state cur_state; cur_state 115 drivers/infiniband/hw/usnic/usnic_ib_main.c cur_state = qp_grp->state; cur_state 116 drivers/infiniband/hw/usnic/usnic_ib_main.c if (cur_state == IB_QPS_INIT || cur_state 117 drivers/infiniband/hw/usnic/usnic_ib_main.c cur_state == IB_QPS_RTR || cur_state 118 drivers/infiniband/hw/usnic/usnic_ib_main.c cur_state == IB_QPS_RTS) { cur_state 126 drivers/infiniband/hw/usnic/usnic_ib_main.c (cur_state), cur_state 483 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c enum ib_qp_state cur_state, next_state; cur_state 488 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cur_state = (attr_mask & IB_QP_CUR_STATE) ? attr->cur_qp_state : cur_state 490 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; cur_state 492 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (!ib_modify_qp_is_ok(cur_state, next_state, ibqp->qp_type, cur_state 523 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (cur_state == next_state && cur_state == IB_QPS_RESET) { cur_state 1451 drivers/infiniband/sw/rdmavt/qp.c enum ib_qp_state cur_state, new_state; cur_state 1462 drivers/infiniband/sw/rdmavt/qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? cur_state 1464 drivers/infiniband/sw/rdmavt/qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; cur_state 1467 drivers/infiniband/sw/rdmavt/qp.c if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, cur_state 1684 drivers/infiniband/sw/rdmavt/qp.c if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) cur_state 417 drivers/infiniband/sw/rxe/rxe_qp.c enum ib_qp_state cur_state = (mask & IB_QP_CUR_STATE) ? cur_state 420 drivers/infiniband/sw/rxe/rxe_qp.c attr->qp_state : cur_state; cur_state 422 drivers/infiniband/sw/rxe/rxe_qp.c if (!ib_modify_qp_is_ok(cur_state, new_state, qp_type(qp), mask)) { cur_state 428 drivers/infiniband/sw/rxe/rxe_qp.c if (cur_state == IB_QPS_SQD) { cur_state 823 drivers/misc/cxl/guest.c int rc, cur_state; cur_state 825 drivers/misc/cxl/guest.c rc = afu_read_error_state(afu, &cur_state); cur_state 829 drivers/misc/cxl/guest.c if (afu->guest->previous_state == cur_state) cur_state 832 drivers/misc/cxl/guest.c pr_devel("AFU(%d) update state to %#x\n", afu->slice, cur_state); cur_state 834 drivers/misc/cxl/guest.c switch (cur_state) { cur_state 836 drivers/misc/cxl/guest.c afu->guest->previous_state = cur_state; cur_state 847 drivers/misc/cxl/guest.c rc = afu_read_error_state(afu, &cur_state); cur_state 848 drivers/misc/cxl/guest.c if (!rc && cur_state == H_STATE_NORMAL) { cur_state 857 drivers/misc/cxl/guest.c afu->guest->previous_state = cur_state; cur_state 864 drivers/misc/cxl/guest.c afu->guest->previous_state = cur_state; cur_state 869 drivers/misc/cxl/guest.c afu->slice, cur_state); cur_state 633 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c enum can_state cur_state, new_state, tx_state, rx_state; cur_state 638 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cur_state = priv->can.state; cur_state 646 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (cur_state < CAN_STATE_BUS_OFF) { cur_state 651 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c else if (cur_state > CAN_STATE_ERROR_ACTIVE) cur_state 659 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (new_state != cur_state) { cur_state 667 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cur_state >= CAN_STATE_BUS_OFF && cur_state 765 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c enum xgbe_an cur_state = pdata->an_state; cur_state 783 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c cur_state = pdata->an_state; cur_state 804 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c cur_state); cur_state 826 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c enum xgbe_an cur_state = pdata->an_state; cur_state 849 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c cur_state = pdata->an_state; cur_state 887 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c cur_state); cur_state 907 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c if (cur_state != pdata->an_state) cur_state 375 drivers/net/ethernet/mellanox/mlx4/eq.c enum slave_port_state cur_state = cur_state 390 drivers/net/ethernet/mellanox/mlx4/eq.c switch (cur_state) { cur_state 88 drivers/net/ethernet/mellanox/mlx4/qp.c enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, cur_state 140 drivers/net/ethernet/mellanox/mlx4/qp.c if (cur_state >= MLX4_QP_NUM_STATE || new_state >= MLX4_QP_NUM_STATE || cur_state 141 drivers/net/ethernet/mellanox/mlx4/qp.c !op[cur_state][new_state]) cur_state 144 drivers/net/ethernet/mellanox/mlx4/qp.c if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) { cur_state 147 drivers/net/ethernet/mellanox/mlx4/qp.c if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR && cur_state 148 drivers/net/ethernet/mellanox/mlx4/qp.c cur_state != MLX4_QP_STATE_RST && cur_state 163 drivers/net/ethernet/mellanox/mlx4/qp.c if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) { cur_state 170 drivers/net/ethernet/mellanox/mlx4/qp.c if ((cur_state == MLX4_QP_STATE_RTR) && cur_state 185 drivers/net/ethernet/mellanox/mlx4/qp.c op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native); cur_state 189 drivers/net/ethernet/mellanox/mlx4/qp.c if (cur_state != MLX4_QP_STATE_ERR && cur_state 190 drivers/net/ethernet/mellanox/mlx4/qp.c cur_state != MLX4_QP_STATE_RST && cur_state 209 drivers/net/ethernet/mellanox/mlx4/qp.c enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, cur_state 214 drivers/net/ethernet/mellanox/mlx4/qp.c return __mlx4_qp_modify(dev, mtt, cur_state, new_state, context, cur_state 581 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c u32 cur_state = *state; cur_state 584 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c *state = next_action_state[action_domain][cur_state][action_type]; cur_state 703 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c unsigned long cur_state, i; cur_state 732 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c cur_state = mlxsw_duty_to_state(duty); cur_state 737 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (state < cur_state) cur_state 740 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c state = cur_state; cur_state 92 drivers/net/ethernet/netronome/nfp/bpf/verifier.c state = env->cur_state->frame[reg3->frameno]; cur_state 350 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (reg->frameno != env->cur_state->curframe) cur_state 1288 drivers/net/ethernet/qlogic/qed/qed_rdma.c qp->cur_state = QED_ROCE_QP_STATE_RESET; cur_state 1413 drivers/net/ethernet/qlogic/qed/qed_rdma.c prev_state = qp->cur_state; cur_state 1416 drivers/net/ethernet/qlogic/qed/qed_rdma.c qp->cur_state = params->new_state; cur_state 1418 drivers/net/ethernet/qlogic/qed/qed_rdma.c qp->cur_state); cur_state 1423 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_roce2iwarp_state(qp->cur_state); cur_state 113 drivers/net/ethernet/qlogic/qed/qed_rdma.h enum qed_roce_qp_state cur_state; cur_state 862 drivers/net/ethernet/qlogic/qed/qed_roce.c out_params->state = qp->cur_state; cur_state 915 drivers/net/ethernet/qlogic/qed/qed_roce.c qp->cur_state = QED_ROCE_QP_STATE_ERR; cur_state 917 drivers/net/ethernet/qlogic/qed/qed_roce.c out_params->state = qp->cur_state; cur_state 962 drivers/net/ethernet/qlogic/qed/qed_roce.c qp->cur_state = QED_ROCE_QP_STATE_ERR; cur_state 965 drivers/net/ethernet/qlogic/qed/qed_roce.c out_params->state = qp->cur_state; cur_state 985 drivers/net/ethernet/qlogic/qed/qed_roce.c if ((qp->cur_state != QED_ROCE_QP_STATE_RESET) && cur_state 986 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state != QED_ROCE_QP_STATE_ERR) && cur_state 987 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state != QED_ROCE_QP_STATE_INIT)) { cur_state 993 drivers/net/ethernet/qlogic/qed/qed_roce.c if (qp->cur_state != QED_ROCE_QP_STATE_RESET) { cur_state 1020 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state == QED_ROCE_QP_STATE_RTR)) { cur_state 1025 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state == QED_ROCE_QP_STATE_RTS)) { cur_state 1036 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state == QED_ROCE_QP_STATE_RTS)) { cur_state 1047 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state == QED_ROCE_QP_STATE_SQD)) { cur_state 1053 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state == QED_ROCE_QP_STATE_SQD)) { cur_state 1064 drivers/net/ethernet/qlogic/qed/qed_roce.c (qp->cur_state == QED_ROCE_QP_STATE_RTS)) { cur_state 1075 drivers/net/ethernet/qlogic/qed/qed_roce.c } else if (qp->cur_state == QED_ROCE_QP_STATE_ERR) { cur_state 1085 drivers/net/ethernet/qlogic/qed/qed_roce.c } else if (qp->cur_state == QED_ROCE_QP_STATE_RESET) { cur_state 1451 drivers/net/wireless/intel/iwlwifi/mvm/fw.c mvm->cooling_dev.cur_state); cur_state 564 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u32 cur_state; cur_state 532 drivers/net/wireless/intel/iwlwifi/mvm/tt.c mvm->cooling_dev.cur_state = state; cur_state 779 drivers/net/wireless/intel/iwlwifi/mvm/tt.c *state = mvm->cooling_dev.cur_state; cur_state 527 drivers/platform/x86/acerhdf.c int cur_temp, cur_state, err = 0; cur_state 538 drivers/platform/x86/acerhdf.c err = acerhdf_get_fanstate(&cur_state); cur_state 545 drivers/platform/x86/acerhdf.c if (cur_state == ACERHDF_FAN_AUTO) cur_state 548 drivers/platform/x86/acerhdf.c if (cur_state == ACERHDF_FAN_OFF) cur_state 164 drivers/pwm/pwm-rcar.c struct pwm_state cur_state; cur_state 168 drivers/pwm/pwm-rcar.c pwm_get_state(pwm, &cur_state); cur_state 153 drivers/pwm/pwm-sifive.c struct pwm_state cur_state; cur_state 170 drivers/pwm/pwm-sifive.c cur_state = pwm->state; cur_state 171 drivers/pwm/pwm-sifive.c enabled = cur_state.enabled; cur_state 120 drivers/scsi/csiostor/t4fw_api_stor.h u8 cur_state; cur_state 2915 drivers/scsi/lpfc/lpfc_nportdisc.c uint32_t cur_state, rc; cur_state 2924 drivers/scsi/lpfc/lpfc_nportdisc.c cur_state = ndlp->nlp_state; cur_state 2932 drivers/scsi/lpfc/lpfc_nportdisc.c evt, ndlp->nlp_DID, cur_state, ndlp->nlp_rpi, cur_state 2937 drivers/scsi/lpfc/lpfc_nportdisc.c evt, cur_state, ndlp->nlp_DID); cur_state 2939 drivers/scsi/lpfc/lpfc_nportdisc.c func = lpfc_disc_action[(cur_state * NLP_EVT_MAX_EVENT) + evt]; cur_state 1080 drivers/slimbus/qcom-ngd-ctrl.c enum qcom_slim_ngd_state cur_state = ctrl->state; cur_state 1111 drivers/slimbus/qcom-ngd-ctrl.c if (cur_state == QCOM_SLIM_NGD_CTRL_AWAKE) { cur_state 187 drivers/spi/spi-qup.c u32 cur_state; cur_state 202 drivers/spi/spi-qup.c cur_state = readl_relaxed(controller->base + QUP_STATE); cur_state 207 drivers/spi/spi-qup.c if (((cur_state & QUP_STATE_MASK) == QUP_STATE_PAUSE) && cur_state 212 drivers/spi/spi-qup.c cur_state &= ~QUP_STATE_MASK; cur_state 213 drivers/spi/spi-qup.c cur_state |= state; cur_state 214 drivers/spi/spi-qup.c writel_relaxed(cur_state, controller->base + QUP_STATE); cur_state 41 drivers/thermal/step_wise.c unsigned long cur_state; cur_state 49 drivers/thermal/step_wise.c cdev->ops->get_cur_state(cdev, &cur_state); cur_state 51 drivers/thermal/step_wise.c dev_dbg(&cdev->device, "cur_state=%ld\n", cur_state); cur_state 55 drivers/thermal/step_wise.c next_target = (cur_state + 1) >= instance->upper ? cur_state 57 drivers/thermal/step_wise.c ((cur_state + 1) < instance->lower ? cur_state 58 drivers/thermal/step_wise.c instance->lower : (cur_state + 1)); cur_state 69 drivers/thermal/step_wise.c next_target = cur_state < instance->upper ? cur_state 70 drivers/thermal/step_wise.c (cur_state + 1) : instance->upper; cur_state 80 drivers/thermal/step_wise.c if (cur_state <= instance->lower) { cur_state 85 drivers/thermal/step_wise.c next_target = cur_state - 1; cur_state 92 drivers/thermal/step_wise.c if (cur_state == instance->lower) { cur_state 1541 drivers/thermal/tegra/soctherm.c unsigned long *cur_state) cur_state 1548 drivers/thermal/tegra/soctherm.c *cur_state = 1; cur_state 1550 drivers/thermal/tegra/soctherm.c *cur_state = 0; cur_state 1556 drivers/thermal/tegra/soctherm.c unsigned long cur_state) cur_state 728 drivers/thermal/thermal_sysfs.c static DEVICE_ATTR_RW(cur_state); cur_state 281 drivers/video/fbdev/i810/i810.h u32 cur_state; cur_state 1569 drivers/video/fbdev/i810/i810_main.c par->cur_state = mesg.event; cur_state 1600 drivers/video/fbdev/i810/i810_main.c int cur_state = par->cur_state; cur_state 1602 drivers/video/fbdev/i810/i810_main.c par->cur_state = PM_EVENT_ON; cur_state 1604 drivers/video/fbdev/i810/i810_main.c if (cur_state == PM_EVENT_FREEZE) { cur_state 2390 drivers/video/fbdev/savage/savagefb_driver.c int cur_state = par->pm_state; cur_state 2400 drivers/video/fbdev/savage/savagefb_driver.c if (cur_state == PM_EVENT_FREEZE) { cur_state 88 fs/gfs2/rgrp.c unsigned char *byte1, *byte2, *end, cur_state; cur_state 98 fs/gfs2/rgrp.c cur_state = (*byte1 >> bit) & GFS2_BIT_MASK; cur_state 100 fs/gfs2/rgrp.c if (unlikely(!valid_change[new_state * 4 + cur_state])) { cur_state 104 fs/gfs2/rgrp.c rbm->offset, cur_state, new_state); cur_state 115 fs/gfs2/rgrp.c *byte1 ^= (cur_state ^ new_state) << bit; cur_state 119 fs/gfs2/rgrp.c cur_state = (*byte2 >> bit) & GFS2_BIT_MASK; cur_state 120 fs/gfs2/rgrp.c *byte2 ^= (cur_state ^ new_state) << bit; cur_state 101 fs/gfs2/trace_gfs2.h __field( u8, cur_state ) cur_state 112 fs/gfs2/trace_gfs2.h __entry->cur_state = glock_trace_state(gl->gl_state); cur_state 122 fs/gfs2/trace_gfs2.h glock_trace_name(__entry->cur_state), cur_state 140 fs/gfs2/trace_gfs2.h __field( u8, cur_state ) cur_state 148 fs/gfs2/trace_gfs2.h __entry->cur_state = glock_trace_state(gl->gl_state); cur_state 155 fs/gfs2/trace_gfs2.h glock_trace_name(__entry->cur_state), cur_state 172 fs/gfs2/trace_gfs2.h __field( u8, cur_state ) cur_state 182 fs/gfs2/trace_gfs2.h __entry->cur_state = glock_trace_state(gl->gl_state); cur_state 191 fs/gfs2/trace_gfs2.h glock_trace_name(__entry->cur_state), cur_state 359 include/linux/bpf_verifier.h struct bpf_verifier_state *cur_state; /* current verifier state */ cur_state 403 include/linux/bpf_verifier.h struct bpf_verifier_state *cur = env->cur_state; cur_state 478 include/linux/mlx4/qp.h enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, cur_state 2898 include/rdma/ib_verbs.h bool ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, cur_state 427 kernel/bpf/verifier.c struct bpf_verifier_state *cur = env->cur_state; cur_state 778 kernel/bpf/verifier.c struct bpf_verifier_state *cur = env->cur_state; cur_state 806 kernel/bpf/verifier.c struct bpf_verifier_state *cur = env->cur_state; cur_state 842 kernel/bpf/verifier.c free_verifier_state(env->cur_state, true); cur_state 843 kernel/bpf/verifier.c env->cur_state = NULL; cur_state 1361 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 1663 kernel/bpf/verifier.c struct bpf_verifier_state *st = env->cur_state; cur_state 1916 kernel/bpf/verifier.c cur = env->cur_state->frame[env->cur_state->curframe]; cur_state 2025 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 2189 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 3144 kernel/bpf/verifier.c struct bpf_verifier_state *cur = env->cur_state; cur_state 3713 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 3745 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 3762 kernel/bpf/verifier.c struct bpf_verifier_state *state = env->cur_state; cur_state 3836 kernel/bpf/verifier.c struct bpf_verifier_state *state = env->cur_state; cur_state 4308 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 4364 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 4888 kernel/bpf/verifier.c struct bpf_verifier_state *vstate = env->cur_state; cur_state 5869 kernel/bpf/verifier.c struct bpf_verifier_state *this_branch = env->cur_state; cur_state 6147 kernel/bpf/verifier.c if (env->cur_state->active_spin_lock) { cur_state 6290 kernel/bpf/verifier.c struct bpf_verifier_state *cur = env->cur_state; cur_state 7311 kernel/bpf/verifier.c struct bpf_verifier_state *cur = env->cur_state, *new; cur_state 7571 kernel/bpf/verifier.c env->cur_state = state; cur_state 7608 kernel/bpf/verifier.c env->cur_state->speculative ? cur_state 7629 kernel/bpf/verifier.c env->cur_state->speculative ? cur_state 7786 kernel/bpf/verifier.c if (env->cur_state->active_spin_lock && cur_state 7822 kernel/bpf/verifier.c if (env->cur_state->active_spin_lock) { cur_state 7859 kernel/bpf/verifier.c update_branch_counts(env, env->cur_state); cur_state 9386 kernel/bpf/verifier.c if (env->cur_state) { cur_state 9387 kernel/bpf/verifier.c free_verifier_state(env->cur_state, true); cur_state 9388 kernel/bpf/verifier.c env->cur_state = NULL; cur_state 202 net/netfilter/nf_conntrack_proto_sctp.c enum sctp_conntrack cur_state, cur_state 257 net/netfilter/nf_conntrack_proto_sctp.c sctp_conntrack_names[cur_state]); cur_state 258 net/netfilter/nf_conntrack_proto_sctp.c return cur_state; cur_state 262 net/netfilter/nf_conntrack_proto_sctp.c dir, sctp_conntrack_names[cur_state], chunk_type, cur_state 263 net/netfilter/nf_conntrack_proto_sctp.c sctp_conntrack_names[sctp_conntracks[dir][i][cur_state]]); cur_state 265 net/netfilter/nf_conntrack_proto_sctp.c return sctp_conntracks[dir][i][cur_state]; cur_state 94 security/selinux/ss/conditional.c if (new_state != node->cur_state) { cur_state 95 security/selinux/ss/conditional.c node->cur_state = new_state; cur_state 406 security/selinux/ss/conditional.c node->cur_state = le32_to_cpu(buf[0]); cur_state 558 security/selinux/ss/conditional.c buf[0] = cpu_to_le32(node->cur_state); cur_state 54 security/selinux/ss/conditional.h int cur_state; cur_state 321 sound/drivers/vx/vx_pcm.c int err, i, cur_state; cur_state 324 sound/drivers/vx/vx_pcm.c if (vx_get_pipe_state(chip, pipe, &cur_state) < 0) cur_state 326 sound/drivers/vx/vx_pcm.c if (state == cur_state) cur_state 356 sound/drivers/vx/vx_pcm.c err = vx_get_pipe_state(chip, pipe, &cur_state); cur_state 357 sound/drivers/vx/vx_pcm.c if (err < 0 || cur_state == state) cur_state 99 tools/thermal/tmon/sysfs.c sysfs_get_ulong(path, "cur_state", &cdi->cur_state); cur_state 103 tools/thermal/tmon/sysfs.c cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); cur_state 515 tools/thermal/tmon/sysfs.c val = ptdata.cdi[i].cur_state; cur_state 51 tools/thermal/tmon/tmon.h unsigned long cur_state; cur_state 219 tools/thermal/tmon/tui.c ptdata.cdi[j].cur_state,