cstate 181 drivers/acpi/processor_idle.c struct acpi_processor_cx *cstate) { } cstate 697 drivers/block/drbd/drbd_int.h enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */ cstate 1322 drivers/block/drbd/drbd_main.c if (connection->cstate < C_WF_REPORT_PARAMS) cstate 1483 drivers/block/drbd/drbd_main.c || connection->cstate < C_WF_REPORT_PARAMS; cstate 2702 drivers/block/drbd/drbd_main.c connection->cstate = C_STANDALONE; cstate 2892 drivers/block/drbd/drbd_main.c device->state.conn = first_connection(resource)->cstate; cstate 481 drivers/block/drbd/drbd_nl.c if (connection->cstate >= C_WF_REPORT_PARAMS) { cstate 495 drivers/block/drbd/drbd_nl.c if (connection->cstate < C_WF_REPORT_PARAMS) { cstate 574 drivers/block/drbd/drbd_nl.c if (connection->cstate < C_WF_REPORT_PARAMS && !test_bit(STATE_SENT, &connection->flags)) { cstate 1217 drivers/block/drbd/drbd_nl.c if (can_do && connection->cstate >= C_CONNECTED && !(connection->agreed_features & DRBD_FF_TRIM)) { cstate 1281 drivers/block/drbd/drbd_nl.c if (can_do && connection->cstate >= C_CONNECTED && !(connection->agreed_features & DRBD_FF_WSAME)) { cstate 1439 drivers/block/drbd/drbd_nl.c connection->cstate == C_STANDALONE; cstate 2306 drivers/block/drbd/drbd_nl.c if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 100) { cstate 2512 drivers/block/drbd/drbd_nl.c if (connection->cstate >= C_WF_REPORT_PARAMS && connection->agreed_pro_version >= 100) cstate 2524 drivers/block/drbd/drbd_nl.c if (connection->cstate >= C_WF_REPORT_PARAMS) { cstate 2551 drivers/block/drbd/drbd_nl.c info->conn_connection_state = connection->cstate; cstate 2620 drivers/block/drbd/drbd_nl.c if (connection->cstate > C_STANDALONE) { cstate 2719 drivers/block/drbd/drbd_nl.c enum drbd_conns cstate; cstate 2741 drivers/block/drbd/drbd_nl.c cstate = connection->cstate; cstate 2743 drivers/block/drbd/drbd_nl.c if (cstate <= C_WF_CONNECTION) cstate 4477 drivers/block/drbd/drbd_nl.c if (connection->cstate > C_STANDALONE) cstate 529 drivers/block/drbd/drbd_receiver.c t = wait_event_timeout(connection->ping_wait, connection->cstate < C_WF_REPORT_PARAMS, t); cstate 1009 drivers/block/drbd/drbd_receiver.c if (connection->cstate <= C_DISCONNECTING) cstate 1118 drivers/block/drbd/drbd_receiver.c if (rv < SS_SUCCESS || connection->cstate != C_WF_REPORT_PARAMS) { cstate 5159 drivers/block/drbd/drbd_receiver.c if (connection->cstate == C_STANDALONE) cstate 5200 drivers/block/drbd/drbd_receiver.c oc = connection->cstate; cstate 6066 drivers/block/drbd/drbd_receiver.c connection->cstate < C_WF_REPORT_PARAMS, cstate 115 drivers/block/drbd/drbd_state.c connection_state_change->cstate[OLD] = cstate 116 drivers/block/drbd/drbd_state.c connection->cstate; cstate 187 drivers/block/drbd/drbd_state.c connection_state_change->cstate[NEW] = connection->cstate; cstate 229 drivers/block/drbd/drbd_state.c OLD_TO_NEW(connection_state_change->cstate); cstate 1563 drivers/block/drbd/drbd_state.c .conn_connection_state = connection_state_change->cstate[NEW], cstate 1637 drivers/block/drbd/drbd_state.c HAS_CHANGED(connection_state_change->cstate)) cstate 2112 drivers/block/drbd/drbd_state.c .conn = connection->cstate, cstate 2213 drivers/block/drbd/drbd_state.c if (connection->cstate != C_WF_REPORT_PARAMS && val.conn == C_WF_REPORT_PARAMS) cstate 2216 drivers/block/drbd/drbd_state.c connection->cstate = val.conn; cstate 2277 drivers/block/drbd/drbd_state.c if (err == SS_SUCCESS && connection->cstate == C_WF_REPORT_PARAMS) cstate 2289 drivers/block/drbd/drbd_state.c enum drbd_conns oc = connection->cstate; cstate 20 drivers/block/drbd/drbd_state_change.h enum drbd_conns cstate[2]; /* drbd9: enum drbd_conn_state */ cstate 148 drivers/block/drbd/drbd_worker.c if (connection->cstate >= C_WF_REPORT_PARAMS) { cstate 2199 drivers/block/drbd/drbd_worker.c if (w->cb(w, connection->cstate < C_WF_REPORT_PARAMS) == 0) cstate 2201 drivers/block/drbd/drbd_worker.c if (connection->cstate >= C_WF_REPORT_PARAMS) cstate 297 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c struct drm_connector_state *cstate; cstate 304 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c for_each_new_connector_in_state(state->state, connector, cstate, i) { cstate 307 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c if (!cstate->crtc) cstate 310 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c supported_fmts = atmel_hlcdc_connector_output_mode(cstate); cstate 72 drivers/gpu/drm/i915/intel_pm.h struct intel_crtc_state *cstate); cstate 152 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc_state *cstate) cstate 154 drivers/gpu/drm/mcde/mcde_display.c const struct drm_display_mode *mode = &cstate->mode; cstate 181 drivers/gpu/drm/mcde/mcde_display.c cstate->mode_changed = true; cstate 813 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc_state *cstate, cstate 820 drivers/gpu/drm/mcde/mcde_display.c const struct drm_display_mode *mode = &cstate->mode; cstate 121 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); cstate 167 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { cstate 191 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); cstate 192 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_mixer *mixer = cstate->mixers; cstate 199 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < cstate->num_mixers; i++) { cstate 216 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < cstate->num_mixers; i++) { cstate 402 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate = to_dpu_crtc_state(state); cstate 404 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers; cstate 407 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < cstate->num_mixers; i++) { cstate 408 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct drm_rect *r = &cstate->lm_bounds[i]; cstate 424 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate; cstate 444 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = to_dpu_crtc_state(crtc->state); cstate 468 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (unlikely(!cstate->num_mixers)) cstate 491 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate; cstate 502 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = to_dpu_crtc_state(crtc->state); cstate 527 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (unlikely(!cstate->num_mixers)) cstate 566 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate; cstate 574 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = to_dpu_crtc_state(state); cstate 580 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c kfree(cstate); cstate 610 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); cstate 617 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (unlikely(!cstate->num_mixers)) cstate 649 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate = kzalloc(sizeof(*cstate), GFP_KERNEL); cstate 654 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c __drm_atomic_helper_crtc_reset(crtc, &cstate->base); cstate 665 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate, *old_cstate; cstate 674 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = kmemdup(old_cstate, sizeof(*old_cstate), GFP_KERNEL); cstate 675 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (!cstate) { cstate 681 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c __drm_atomic_helper_crtc_duplicate_state(crtc, &cstate->base); cstate 683 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c return &cstate->base; cstate 690 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate; cstate 702 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = to_dpu_crtc_state(crtc->state); cstate 703 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c mode = &cstate->base.adjusted_mode; cstate 744 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c memset(cstate->mixers, 0, sizeof(cstate->mixers)); cstate 745 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate->num_mixers = 0; cstate 748 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate->bw_control = false; cstate 749 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate->bw_split_vote = false; cstate 816 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate; cstate 838 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = to_dpu_crtc_state(state); cstate 855 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c mixer_width = mode->hdisplay / cstate->num_mixers; cstate 1087 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_crtc_state *cstate; cstate 1095 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cstate = to_dpu_crtc_state(crtc->state); cstate 1098 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c out_width = mode->hdisplay / cstate->num_mixers; cstate 1105 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < cstate->num_mixers; ++i) { cstate 1106 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c m = &cstate->mixers[i]; cstate 954 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c struct dpu_crtc_state *cstate; cstate 1027 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c cstate = to_dpu_crtc_state(drm_crtc->state); cstate 1032 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c cstate->mixers[i].hw_lm = hw_lm[i]; cstate 1033 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c cstate->mixers[i].lm_ctl = hw_ctl[ctl_idx]; cstate 1036 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c cstate->num_mixers = num_lm; cstate 579 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c static bool is_fullscreen(struct drm_crtc_state *cstate, cstate 583 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c ((pstate->crtc_x + pstate->crtc_w) >= cstate->mode.hdisplay) && cstate 584 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c ((pstate->crtc_y + pstate->crtc_h) >= cstate->mode.vdisplay); cstate 283 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c struct drm_crtc_state *cstate = encoder->crtc->state; cstate 285 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_encoder_mode_set(encoder, &cstate->mode, &cstate->adjusted_mode); cstate 68 drivers/gpu/drm/nouveau/include/nvkm/subdev/therm.h int cstate; cstate 76 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c struct nvkm_cstate *cstate; cstate 113 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c list_for_each_entry(cstate, &pstate->list, head) { cstate 114 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c lo = min(lo, cstate->domain[domain->name]); cstate 115 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c hi = max(hi, cstate->domain[domain->name]); cstate 79 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, cstate 88 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u32 freq = cstate->domain[domain->name]; cstate 105 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c voltage = nvkm_volt_map(volt, cstate->voltage, temp); cstate 113 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate) cstate 119 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (!pstate || !cstate) cstate 123 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return cstate; cstate 136 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_for_each_entry_from_reverse(cstate, &pstate->list, head) { cstate 137 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp)) cstate 141 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return cstate; cstate 147 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate; cstate 149 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return list_last_entry(&pstate->list, typeof(*cstate), head); cstate 151 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_for_each_entry(cstate, &pstate->list, head) { cstate 152 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (cstate->id == cstatei) cstate 153 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return cstate; cstate 166 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate; cstate 170 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate = nvkm_cstate_get(clk, pstate, cstatei); cstate 171 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate = nvkm_cstate_find_best(clk, pstate, cstate); cstate 173 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate = &pstate->base; cstate 185 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = nvkm_volt_set_id(volt, cstate->voltage, cstate 193 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = clk->func->calc(clk, cstate); cstate 200 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = nvkm_volt_set_id(volt, cstate->voltage, cstate 216 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_cstate_del(struct nvkm_cstate *cstate) cstate 218 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_del(&cstate->head); cstate 219 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c kfree(cstate); cstate 228 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate = NULL; cstate 240 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate = kzalloc(sizeof(*cstate), GFP_KERNEL); cstate 241 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (!cstate) cstate 244 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c *cstate = pstate->base; cstate 245 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->voltage = cstepX.voltage; cstate 246 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->id = idx; cstate 252 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[domain->name] = freq; cstate 257 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_add(&cstate->head, &pstate->list); cstate 348 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate; cstate 364 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_for_each_entry(cstate, &pstate->list, head) { cstate 365 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u32 freq = cstate->domain[clock->name]; cstate 390 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate, *temp; cstate 392 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_for_each_entry_safe(cstate, temp, &pstate->list, head) { cstate 393 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_cstate_del(cstate); cstate 406 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate; cstate 419 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate = &pstate->base; cstate 429 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->voltage = perfE.voltage; cstate 430 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[nv_clk_src_core] = perfE.core; cstate 431 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[nv_clk_src_shader] = perfE.shader; cstate 432 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[nv_clk_src_mem] = perfE.memory; cstate 433 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[nv_clk_src_vdec] = perfE.vdec; cstate 434 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[nv_clk_src_dom6] = perfE.disp; cstate 451 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[domain->name] = perfS.v40.freq; cstate 274 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) cstate 277 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c u32 freq = cstate->domain[dom]; cstate 294 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c clk1 = cstate->domain[nv_clk_src_hubk06]; cstate 325 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 330 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || cstate 331 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || cstate 332 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || cstate 333 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || cstate 334 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || cstate 335 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x09, nv_clk_src_copy)) || cstate 336 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x0c, nv_clk_src_pmu)) || cstate 337 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c (ret = calc_clk(clk, cstate, 0x0e, nv_clk_src_vdec))) cstate 288 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c struct nvkm_cstate *cstate, int idx, int dom) cstate 291 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c u32 freq = cstate->domain[dom]; cstate 308 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c clk1 = cstate->domain[nv_clk_src_hubk06]; cstate 339 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c gk104_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 344 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || cstate 345 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || cstate 346 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || cstate 347 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || cstate 348 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || cstate 349 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c (ret = calc_clk(clk, cstate, 0x0c, nv_clk_src_pmu)) || cstate 350 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c (ret = calc_clk(clk, cstate, 0x0e, nv_clk_src_vdec))) cstate 480 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c gk20a_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 484 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c return gk20a_pllg_calc_mnp(clk, cstate->domain[nv_clk_src_gpc] * cstate 464 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c gm20b_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 471 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c ret = gk20a_pllg_calc_mnp(&clk->base, cstate->domain[nv_clk_src_gpc] * cstate 476 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c clk->new_uv = volt->vid[cstate->voltage].uv; cstate 274 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c calc_clk(struct gt215_clk *clk, struct nvkm_cstate *cstate, cstate 277 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c int ret = gt215_pll_info(&clk->base, idx, pll, cstate->domain[dom], cstate 285 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c calc_host(struct gt215_clk *clk, struct nvkm_cstate *cstate) cstate 288 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c u32 kHz = cstate->domain[nv_clk_src_host]; cstate 459 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c gt215_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 465 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c if ((ret = calc_clk(clk, cstate, 0x10, 0x4200, nv_clk_src_core)) || cstate 466 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c (ret = calc_clk(clk, cstate, 0x11, 0x4220, nv_clk_src_shader)) || cstate 467 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c (ret = calc_clk(clk, cstate, 0x20, 0x0000, nv_clk_src_disp)) || cstate 468 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c (ret = calc_clk(clk, cstate, 0x21, 0x0000, nv_clk_src_vdec)) || cstate 469 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c (ret = calc_host(clk, cstate))) cstate 476 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c cstate->domain[nv_clk_src_core_intm], cstate 203 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c mcp77_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 206 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c const int shader = cstate->domain[nv_clk_src_shader]; cstate 207 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c const int core = cstate->domain[nv_clk_src_core]; cstate 208 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c const int vdec = cstate->domain[nv_clk_src_vdec]; cstate 146 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c nv40_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 149 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c int gclk = cstate->domain[nv_clk_src_core]; cstate 150 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c int sclk = cstate->domain[nv_clk_src_shader]; cstate 368 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c nv50_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) cstate 374 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c const int shader = cstate->domain[nv_clk_src_shader]; cstate 375 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c const int core = cstate->domain[nv_clk_src_core]; cstate 376 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c const int vdec = cstate->domain[nv_clk_src_vdec]; cstate 377 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c const int dom6 = cstate->domain[nv_clk_src_dom6]; cstate 137 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (therm->cstate) { cstate 138 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c duty = therm->cstate; cstate 167 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (!dir || (dir < 0 && fan < therm->cstate) || cstate 168 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c (dir > 0 && fan > therm->cstate)) { cstate 170 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->cstate = fan; cstate 87 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc_state *cstate) cstate 89 drivers/gpu/drm/pl111/pl111_display.c const struct drm_display_mode *mode = &cstate->mode; cstate 113 drivers/gpu/drm/pl111/pl111_display.c cstate->mode_changed = true; cstate 120 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc_state *cstate, cstate 127 drivers/gpu/drm/pl111/pl111_display.c const struct drm_display_mode *mode = &cstate->mode; cstate 222 drivers/gpu/drm/ttm/ttm_page_alloc.c enum ttm_caching_state cstate) cstate 226 drivers/gpu/drm/ttm/ttm_page_alloc.c if (cstate == tt_cached) cstate 229 drivers/gpu/drm/ttm/ttm_page_alloc.c if (cstate == tt_wc) cstate 443 drivers/gpu/drm/ttm/ttm_page_alloc.c enum ttm_caching_state cstate, unsigned cpages) cstate 447 drivers/gpu/drm/ttm/ttm_page_alloc.c switch (cstate) { cstate 470 drivers/gpu/drm/ttm/ttm_page_alloc.c int ttm_flags, enum ttm_caching_state cstate, cstate 488 drivers/gpu/drm/ttm/ttm_page_alloc.c int ttm_flags, enum ttm_caching_state cstate, cstate 517 drivers/gpu/drm/ttm/ttm_page_alloc.c cstate, cpages); cstate 520 drivers/gpu/drm/ttm/ttm_page_alloc.c ttm_flags, cstate, cstate 542 drivers/gpu/drm/ttm/ttm_page_alloc.c cstate, cpages); cstate 545 drivers/gpu/drm/ttm/ttm_page_alloc.c ttm_flags, cstate, cstate 555 drivers/gpu/drm/ttm/ttm_page_alloc.c r = ttm_set_pages_caching(caching_array, cstate, cpages); cstate 558 drivers/gpu/drm/ttm/ttm_page_alloc.c ttm_flags, cstate, cstate 572 drivers/gpu/drm/ttm/ttm_page_alloc.c enum ttm_caching_state cstate, cstate 603 drivers/gpu/drm/ttm/ttm_page_alloc.c cstate, alloc_size, 0); cstate 632 drivers/gpu/drm/ttm/ttm_page_alloc.c enum ttm_caching_state cstate, cstate 642 drivers/gpu/drm/ttm/ttm_page_alloc.c ttm_page_pool_fill_locked(pool, ttm_flags, cstate, count, cstate 700 drivers/gpu/drm/ttm/ttm_page_alloc.c r = ttm_alloc_new_pages(pages, gfp_flags, ttm_flags, cstate, cstate 709 drivers/gpu/drm/ttm/ttm_page_alloc.c enum ttm_caching_state cstate) cstate 711 drivers/gpu/drm/ttm/ttm_page_alloc.c struct ttm_page_pool *pool = ttm_get_pool(flags, false, cstate); cstate 713 drivers/gpu/drm/ttm/ttm_page_alloc.c struct ttm_page_pool *huge = ttm_get_pool(flags, true, cstate); cstate 827 drivers/gpu/drm/ttm/ttm_page_alloc.c enum ttm_caching_state cstate) cstate 829 drivers/gpu/drm/ttm/ttm_page_alloc.c struct ttm_page_pool *pool = ttm_get_pool(flags, false, cstate); cstate 831 drivers/gpu/drm/ttm/ttm_page_alloc.c struct ttm_page_pool *huge = ttm_get_pool(flags, true, cstate); cstate 903 drivers/gpu/drm/ttm/ttm_page_alloc.c ttm_page_pool_get_pages(huge, &plist, flags, cstate, cstate 917 drivers/gpu/drm/ttm/ttm_page_alloc.c r = ttm_page_pool_get_pages(pool, &plist, flags, cstate, cstate 935 drivers/gpu/drm/ttm/ttm_page_alloc.c ttm_put_pages(pages, count, flags, cstate); cstate 328 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) cstate 334 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c if (cstate == tt_cached) cstate 336 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c else if (cstate == tt_uncached) cstate 72 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc_state *cstate) cstate 74 drivers/gpu/drm/tve200/tve200_display.c const struct drm_display_mode *mode = &cstate->mode; cstate 114 drivers/gpu/drm/tve200/tve200_display.c cstate->mode_changed = true; cstate 121 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc_state *cstate, cstate 128 drivers/gpu/drm/tve200/tve200_display.c const struct drm_display_mode *mode = &cstate->mode; cstate 382 drivers/gpu/drm/vc4/vc4_hdmi.c struct drm_connector_state *cstate = hdmi->connector->state; cstate 401 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.right_bar = cstate->tv.margins.right; cstate 402 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.left_bar = cstate->tv.margins.left; cstate 403 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.top_bar = cstate->tv.margins.top; cstate 404 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.bottom_bar = cstate->tv.margins.bottom; cstate 903 drivers/idle/intel_idle.c unsigned int cstate; cstate 915 drivers/idle/intel_idle.c cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & cstate 918 drivers/idle/intel_idle.c if (!(lapic_timer_reliable_states & (1 << (cstate)))) { cstate 1326 drivers/idle/intel_idle.c int cstate; cstate 1334 drivers/idle/intel_idle.c for (cstate = 0; cstate < CPUIDLE_STATE_MAX; ++cstate) { cstate 1337 drivers/idle/intel_idle.c if ((cpuidle_state_table[cstate].enter == NULL) && cstate 1338 drivers/idle/intel_idle.c (cpuidle_state_table[cstate].enter_s2idle == NULL)) cstate 1341 drivers/idle/intel_idle.c if (cstate + 1 > max_cstate) { cstate 1346 drivers/idle/intel_idle.c mwait_hint = flg2MWAIT(cpuidle_state_table[cstate].flags); cstate 1358 drivers/idle/intel_idle.c if (cpuidle_state_table[cstate].disabled != 0) { cstate 1360 drivers/idle/intel_idle.c cpuidle_state_table[cstate].name); cstate 1371 drivers/idle/intel_idle.c cpuidle_state_table[cstate]; cstate 700 drivers/infiniband/hw/hfi1/trace_tx.h const char *cstate, cstate 703 drivers/infiniband/hw/hfi1/trace_tx.h TP_ARGS(sde, cstate, nstate), cstate 705 drivers/infiniband/hw/hfi1/trace_tx.h __string(curstate, cstate) cstate 709 drivers/infiniband/hw/hfi1/trace_tx.h __assign_str(curstate, cstate); cstate 1976 drivers/media/platform/marvell-ccic/mcam-core.c enum mcam_state cstate = cam->state; cstate 1981 drivers/media/platform/marvell-ccic/mcam-core.c cam->state = cstate; cstate 95 drivers/net/slip/slhc.c struct cstate *ts; cstate 106 drivers/net/slip/slhc.c size_t rsize = rslots * sizeof(struct cstate); cstate 114 drivers/net/slip/slhc.c size_t tsize = tslots * sizeof(struct cstate); cstate 230 drivers/net/slip/slhc.c struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); cstate 231 drivers/net/slip/slhc.c struct cstate *lcs = ocs; cstate 232 drivers/net/slip/slhc.c struct cstate *cs = lcs->next; cstate 499 drivers/net/slip/slhc.c struct cstate *cs; cstate 646 drivers/net/slip/slhc.c struct cstate *cs; cstate 916 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c rtlpriv->btcoexist.cstate = 0; cstate 25 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 29 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 32 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 36 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 39 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 42 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= BT_COEX_STATE_WIFI_IDLE; cstate 43 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 45 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 51 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 53 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 55 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 58 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 61 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 63 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 66 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 68 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 74 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= BT_COEX_STATE_BT30; cstate 76 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_BT30; cstate 91 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 101 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 103 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 115 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 117 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 141 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 143 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 145 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 161 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 163 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 165 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 171 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 173 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 175 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 187 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate |= cstate 189 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 191 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 219 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate &= cstate 229 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 231 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 243 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 245 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 268 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 270 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 272 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 288 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 290 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 292 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 298 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 300 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 302 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 314 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 316 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 318 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c rtlpriv->btcoexist.cstate cstate 501 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c if ((rtlpriv->btcoexist.previous_state == rtlpriv->btcoexist.cstate) && cstate 25 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate = 0; cstate 116 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= cstate 121 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; cstate 130 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate) && cstate 345 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= cstate 1366 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= cstate 1385 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate &= cstate 1395 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate &= ~ cstate 1399 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate &= ~ cstate 1435 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= cstate 1446 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= cstate 1456 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= cstate 1638 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate); cstate 1640 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c = rtlpriv->btcoexist.cstate; cstate 1683 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_BT_IDLE; cstate 1688 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtlpriv->btcoexist.cstate |= BT_COEX_STATE_BT_IDLE; cstate 2300 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c rtlpriv->btcoexist.cstate = 0; cstate 2654 drivers/net/wireless/realtek/rtlwifi/wifi.h u32 cstate; cstate 215 drivers/pwm/pwm-atmel.c struct pwm_state cstate; cstate 220 drivers/pwm/pwm-atmel.c pwm_get_state(pwm, &cstate); cstate 223 drivers/pwm/pwm-atmel.c if (cstate.enabled && cstate 224 drivers/pwm/pwm-atmel.c cstate.polarity == state->polarity && cstate 225 drivers/pwm/pwm-atmel.c cstate.period == state->period) { cstate 243 drivers/pwm/pwm-atmel.c if (cstate.enabled) { cstate 267 drivers/pwm/pwm-atmel.c } else if (cstate.enabled) { cstate 216 drivers/pwm/pwm-imx27.c struct pwm_state cstate; cstate 221 drivers/pwm/pwm-imx27.c pwm_get_state(pwm, &cstate); cstate 251 drivers/pwm/pwm-imx27.c if (cstate.enabled) { cstate 274 drivers/pwm/pwm-imx27.c } else if (cstate.enabled) { cstate 164 drivers/pwm/pwm-sprd.c struct pwm_state *cstate = &pwm->state; cstate 168 drivers/pwm/pwm-sprd.c if (!cstate->enabled) { cstate 183 drivers/pwm/pwm-sprd.c if (state->period != cstate->period || cstate 184 drivers/pwm/pwm-sprd.c state->duty_cycle != cstate->duty_cycle) { cstate 192 drivers/pwm/pwm-sprd.c } else if (cstate->enabled) { cstate 39 drivers/pwm/pwm-stm32-lp.c struct pwm_state cstate; cstate 44 drivers/pwm/pwm-stm32-lp.c pwm_get_state(pwm, &cstate); cstate 45 drivers/pwm/pwm-stm32-lp.c reenable = !cstate.enabled; cstate 48 drivers/pwm/pwm-stm32-lp.c if (cstate.enabled) { cstate 83 drivers/pwm/pwm-stm32-lp.c if (!cstate.enabled) { cstate 154 drivers/pwm/pwm-stm32-lp.c if (!cstate.enabled) cstate 202 drivers/pwm/pwm-sun4i.c struct pwm_state cstate; cstate 208 drivers/pwm/pwm-sun4i.c pwm_get_state(pwm, &cstate); cstate 210 drivers/pwm/pwm-sun4i.c if (!cstate.enabled) { cstate 221 drivers/pwm/pwm-sun4i.c if ((cstate.period != state->period) || cstate 222 drivers/pwm/pwm-sun4i.c (cstate.duty_cycle != state->duty_cycle)) { cstate 231 drivers/pwm/pwm-sun4i.c if (!cstate.enabled) cstate 248 drivers/pwm/pwm-sun4i.c usecs_to_jiffies(cstate.period / 1000 + 1); cstate 154 drivers/pwm/pwm-zx.c struct pwm_state cstate; cstate 157 drivers/pwm/pwm-zx.c pwm_get_state(pwm, &cstate); cstate 159 drivers/pwm/pwm-zx.c if (state->polarity != cstate.polarity) cstate 164 drivers/pwm/pwm-zx.c if (state->period != cstate.period || cstate 165 drivers/pwm/pwm-zx.c state->duty_cycle != cstate.duty_cycle) { cstate 172 drivers/pwm/pwm-zx.c if (state->enabled != cstate.enabled) { cstate 8 fs/nfsd/current_stateid.h extern void clear_current_stateid(struct nfsd4_compound_state *cstate); cstate 212 fs/nfsd/nfs4layouts.c nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate, cstate 215 fs/nfsd/nfs4layouts.c struct nfs4_client *clp = cstate->clp; cstate 220 fs/nfsd/nfs4layouts.c stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, cstate 266 fs/nfsd/nfs4layouts.c struct nfsd4_compound_state *cstate, stateid_t *stateid, cstate 277 fs/nfsd/nfs4layouts.c status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, cstate 282 fs/nfsd/nfs4layouts.c if (!fh_match(&cstate->current_fh.fh_handle, cstate 289 fs/nfsd/nfs4layouts.c ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); cstate 490 fs/nfsd/nfs4layouts.c struct nfsd4_compound_state *cstate, cstate 499 fs/nfsd/nfs4layouts.c nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, cstate 533 fs/nfsd/nfs4layouts.c struct nfsd4_compound_state *cstate, cstate 537 fs/nfsd/nfs4layouts.c struct nfs4_client *clp = cstate->clp; cstate 550 fs/nfsd/nfs4layouts.c &cstate->current_fh.fh_handle)) cstate 96 fs/nfsd/nfs4proc.c check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 99 fs/nfsd/nfs4proc.c struct dentry *dentry = cstate->current_fh.fh_dentry; cstate 100 fs/nfsd/nfs4proc.c struct svc_export *exp = cstate->current_fh.fh_export; cstate 102 fs/nfsd/nfs4proc.c if (!nfsd_attrs_supported(cstate->minorversion, bmval)) cstate 119 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, struct nfsd4_open *open) cstate 126 fs/nfsd/nfs4proc.c status = check_attr_support(rqstp, cstate, cstate 129 fs/nfsd/nfs4proc.c status = check_attr_support(rqstp, cstate, cstate 216 fs/nfsd/nfs4proc.c static void nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) cstate 218 fs/nfsd/nfs4proc.c if (nfsd4_has_session(cstate)) cstate 225 fs/nfsd/nfs4proc.c do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) cstate 227 fs/nfsd/nfs4proc.c struct svc_fh *current_fh = &cstate->current_fh; cstate 294 fs/nfsd/nfs4proc.c nfsd4_set_open_owner_reply_cache(cstate, open, *resfh); cstate 306 fs/nfsd/nfs4proc.c do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) cstate 308 fs/nfsd/nfs4proc.c struct svc_fh *current_fh = &cstate->current_fh; cstate 318 fs/nfsd/nfs4proc.c nfsd4_set_open_owner_reply_cache(cstate, open, current_fh); cstate 350 fs/nfsd/nfs4proc.c nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 373 fs/nfsd/nfs4proc.c if (nfsd4_has_session(cstate) && cstate 375 fs/nfsd/nfs4proc.c &cstate->session->se_client->cl_flags) && cstate 379 fs/nfsd/nfs4proc.c if (nfsd4_has_session(cstate)) cstate 380 fs/nfsd/nfs4proc.c copy_clientid(&open->op_clientid, cstate->session); cstate 383 fs/nfsd/nfs4proc.c status = nfsd4_process_open1(cstate, open, nn); cstate 386 fs/nfsd/nfs4proc.c fh_put(&cstate->current_fh); cstate 387 fs/nfsd/nfs4proc.c fh_copy_shallow(&cstate->current_fh.fh_handle, cstate 389 fs/nfsd/nfs4proc.c status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); cstate 403 fs/nfsd/nfs4proc.c status = nfsd4_check_open_attributes(rqstp, cstate, open); cstate 419 fs/nfsd/nfs4proc.c status = do_open_lookup(rqstp, cstate, open, &resfh); cstate 425 fs/nfsd/nfs4proc.c cstate, nn); cstate 433 fs/nfsd/nfs4proc.c status = do_open_fhandle(rqstp, cstate, open); cstate 436 fs/nfsd/nfs4proc.c resfh = &cstate->current_fh; cstate 462 fs/nfsd/nfs4proc.c if (resfh && resfh != &cstate->current_fh) { cstate 463 fs/nfsd/nfs4proc.c fh_dup2(&cstate->current_fh, resfh); cstate 467 fs/nfsd/nfs4proc.c nfsd4_cleanup_open_state(cstate, open); cstate 468 fs/nfsd/nfs4proc.c nfsd4_bump_seqid(cstate, status); cstate 478 fs/nfsd/nfs4proc.c static __be32 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_op *op) cstate 484 fs/nfsd/nfs4proc.c if (nfsd4_has_session(cstate)) cstate 487 fs/nfsd/nfs4proc.c return nfsd4_open(rqstp, cstate, &op->u); cstate 494 fs/nfsd/nfs4proc.c nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 497 fs/nfsd/nfs4proc.c u->getfh = &cstate->current_fh; cstate 502 fs/nfsd/nfs4proc.c nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 507 fs/nfsd/nfs4proc.c fh_put(&cstate->current_fh); cstate 508 fs/nfsd/nfs4proc.c cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; cstate 509 fs/nfsd/nfs4proc.c memcpy(&cstate->current_fh.fh_handle.fh_base, putfh->pf_fhval, cstate 511 fs/nfsd/nfs4proc.c return fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_BYPASS_GSS); cstate 515 fs/nfsd/nfs4proc.c nfsd4_putrootfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 520 fs/nfsd/nfs4proc.c fh_put(&cstate->current_fh); cstate 521 fs/nfsd/nfs4proc.c status = exp_pseudoroot(rqstp, &cstate->current_fh); cstate 526 fs/nfsd/nfs4proc.c nfsd4_restorefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 529 fs/nfsd/nfs4proc.c if (!cstate->save_fh.fh_dentry) cstate 532 fs/nfsd/nfs4proc.c fh_dup2(&cstate->current_fh, &cstate->save_fh); cstate 533 fs/nfsd/nfs4proc.c if (HAS_STATE_ID(cstate, SAVED_STATE_ID_FLAG)) { cstate 534 fs/nfsd/nfs4proc.c memcpy(&cstate->current_stateid, &cstate->save_stateid, sizeof(stateid_t)); cstate 535 fs/nfsd/nfs4proc.c SET_STATE_ID(cstate, CURRENT_STATE_ID_FLAG); cstate 541 fs/nfsd/nfs4proc.c nfsd4_savefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 544 fs/nfsd/nfs4proc.c fh_dup2(&cstate->save_fh, &cstate->current_fh); cstate 545 fs/nfsd/nfs4proc.c if (HAS_STATE_ID(cstate, CURRENT_STATE_ID_FLAG)) { cstate 546 fs/nfsd/nfs4proc.c memcpy(&cstate->save_stateid, &cstate->current_stateid, sizeof(stateid_t)); cstate 547 fs/nfsd/nfs4proc.c SET_STATE_ID(cstate, SAVED_STATE_ID_FLAG); cstate 556 fs/nfsd/nfs4proc.c nfsd4_access(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 565 fs/nfsd/nfs4proc.c return nfsd_access(rqstp, &cstate->current_fh, &access->ac_resp_access, cstate 579 fs/nfsd/nfs4proc.c nfsd4_commit(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 585 fs/nfsd/nfs4proc.c return nfsd_commit(rqstp, &cstate->current_fh, commit->co_offset, cstate 590 fs/nfsd/nfs4proc.c nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 600 fs/nfsd/nfs4proc.c status = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_NOP); cstate 604 fs/nfsd/nfs4proc.c status = check_attr_support(rqstp, cstate, create->cr_bmval, cstate 612 fs/nfsd/nfs4proc.c status = nfsd_symlink(rqstp, &cstate->current_fh, cstate 623 fs/nfsd/nfs4proc.c status = nfsd_create(rqstp, &cstate->current_fh, cstate 634 fs/nfsd/nfs4proc.c status = nfsd_create(rqstp, &cstate->current_fh, cstate 640 fs/nfsd/nfs4proc.c status = nfsd_create(rqstp, &cstate->current_fh, cstate 646 fs/nfsd/nfs4proc.c status = nfsd_create(rqstp, &cstate->current_fh, cstate 653 fs/nfsd/nfs4proc.c status = nfsd_create(rqstp, &cstate->current_fh, cstate 672 fs/nfsd/nfs4proc.c fh_unlock(&cstate->current_fh); cstate 673 fs/nfsd/nfs4proc.c set_change_info(&create->cr_cinfo, &cstate->current_fh); cstate 674 fs/nfsd/nfs4proc.c fh_dup2(&cstate->current_fh, &resfh); cstate 683 fs/nfsd/nfs4proc.c nfsd4_getattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 689 fs/nfsd/nfs4proc.c status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); cstate 696 fs/nfsd/nfs4proc.c getattr->ga_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; cstate 697 fs/nfsd/nfs4proc.c getattr->ga_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; cstate 698 fs/nfsd/nfs4proc.c getattr->ga_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; cstate 700 fs/nfsd/nfs4proc.c getattr->ga_fhp = &cstate->current_fh; cstate 705 fs/nfsd/nfs4proc.c nfsd4_link(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 711 fs/nfsd/nfs4proc.c status = nfsd_link(rqstp, &cstate->current_fh, cstate 712 fs/nfsd/nfs4proc.c link->li_name, link->li_namelen, &cstate->save_fh); cstate 714 fs/nfsd/nfs4proc.c set_change_info(&link->li_cinfo, &cstate->current_fh); cstate 736 fs/nfsd/nfs4proc.c nfsd4_lookupp(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 739 fs/nfsd/nfs4proc.c return nfsd4_do_lookupp(rqstp, &cstate->current_fh); cstate 743 fs/nfsd/nfs4proc.c nfsd4_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 746 fs/nfsd/nfs4proc.c return nfsd_lookup(rqstp, &cstate->current_fh, cstate 748 fs/nfsd/nfs4proc.c &cstate->current_fh); cstate 752 fs/nfsd/nfs4proc.c nfsd4_read(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 762 fs/nfsd/nfs4proc.c trace_nfsd_read_start(rqstp, &cstate->current_fh, cstate 777 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, cstate 787 fs/nfsd/nfs4proc.c read->rd_fhp = &cstate->current_fh; cstate 802 fs/nfsd/nfs4proc.c nfsd4_readdir(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 814 fs/nfsd/nfs4proc.c readdir->rd_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; cstate 815 fs/nfsd/nfs4proc.c readdir->rd_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; cstate 816 fs/nfsd/nfs4proc.c readdir->rd_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; cstate 823 fs/nfsd/nfs4proc.c readdir->rd_fhp = &cstate->current_fh; cstate 828 fs/nfsd/nfs4proc.c nfsd4_readlink(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 832 fs/nfsd/nfs4proc.c u->readlink.rl_fhp = &cstate->current_fh; cstate 837 fs/nfsd/nfs4proc.c nfsd4_remove(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 845 fs/nfsd/nfs4proc.c status = nfsd_unlink(rqstp, &cstate->current_fh, 0, cstate 848 fs/nfsd/nfs4proc.c fh_unlock(&cstate->current_fh); cstate 849 fs/nfsd/nfs4proc.c set_change_info(&remove->rm_cinfo, &cstate->current_fh); cstate 855 fs/nfsd/nfs4proc.c nfsd4_rename(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 863 fs/nfsd/nfs4proc.c status = nfsd_rename(rqstp, &cstate->save_fh, rename->rn_sname, cstate 864 fs/nfsd/nfs4proc.c rename->rn_snamelen, &cstate->current_fh, cstate 868 fs/nfsd/nfs4proc.c set_change_info(&rename->rn_sinfo, &cstate->current_fh); cstate 869 fs/nfsd/nfs4proc.c set_change_info(&rename->rn_tinfo, &cstate->save_fh); cstate 874 fs/nfsd/nfs4proc.c nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 882 fs/nfsd/nfs4proc.c err = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, NFSD_MAY_EXEC); cstate 885 fs/nfsd/nfs4proc.c err = nfsd_lookup_dentry(rqstp, &cstate->current_fh, cstate 890 fs/nfsd/nfs4proc.c fh_unlock(&cstate->current_fh); cstate 897 fs/nfsd/nfs4proc.c if (cstate->minorversion) cstate 899 fs/nfsd/nfs4proc.c fh_put(&cstate->current_fh); cstate 904 fs/nfsd/nfs4proc.c nfsd4_secinfo_no_name(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 913 fs/nfsd/nfs4proc.c err = nfsd4_do_lookupp(rqstp, &cstate->current_fh); cstate 921 fs/nfsd/nfs4proc.c u->secinfo_no_name.sin_exp = exp_get(cstate->current_fh.fh_export); cstate 922 fs/nfsd/nfs4proc.c fh_put(&cstate->current_fh); cstate 941 fs/nfsd/nfs4proc.c nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 949 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, cstate 950 fs/nfsd/nfs4proc.c &cstate->current_fh, &setattr->sa_stateid, cstate 957 fs/nfsd/nfs4proc.c err = fh_want_write(&cstate->current_fh); cstate 962 fs/nfsd/nfs4proc.c status = check_attr_support(rqstp, cstate, setattr->sa_bmval, cstate 968 fs/nfsd/nfs4proc.c status = nfsd4_set_nfs4_acl(rqstp, &cstate->current_fh, cstate 973 fs/nfsd/nfs4proc.c status = nfsd4_set_nfs4_label(rqstp, &cstate->current_fh, cstate 977 fs/nfsd/nfs4proc.c status = nfsd_setattr(rqstp, &cstate->current_fh, &setattr->sa_iattr, cstate 980 fs/nfsd/nfs4proc.c fh_drop_write(&cstate->current_fh); cstate 985 fs/nfsd/nfs4proc.c nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 999 fs/nfsd/nfs4proc.c trace_nfsd_write_start(rqstp, &cstate->current_fh, cstate 1001 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, cstate 1015 fs/nfsd/nfs4proc.c status = nfsd_vfs_write(rqstp, &cstate->current_fh, nf->nf_file, cstate 1021 fs/nfsd/nfs4proc.c trace_nfsd_write_done(rqstp, &cstate->current_fh, cstate 1027 fs/nfsd/nfs4proc.c nfsd4_verify_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1033 fs/nfsd/nfs4proc.c if (!cstate->save_fh.fh_dentry) cstate 1036 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->save_fh, cstate 1043 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, cstate 1067 fs/nfsd/nfs4proc.c nfsd4_clone(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1074 fs/nfsd/nfs4proc.c status = nfsd4_verify_copy(rqstp, cstate, &clone->cl_src_stateid, &src, cstate 1081 fs/nfsd/nfs4proc.c EX_ISSYNC(cstate->current_fh.fh_export)); cstate 1255 fs/nfsd/nfs4proc.c nfsd4_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1262 fs/nfsd/nfs4proc.c status = nfsd4_verify_copy(rqstp, cstate, ©->cp_src_stateid, cstate 1268 fs/nfsd/nfs4proc.c copy->cp_clp = cstate->clp; cstate 1269 fs/nfsd/nfs4proc.c memcpy(©->fh, &cstate->current_fh.fh_handle, cstate 1325 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, cstate 1331 fs/nfsd/nfs4proc.c struct nfs4_client *clp = cstate->clp; cstate 1343 fs/nfsd/nfs4proc.c nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1349 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, cstate 1357 fs/nfsd/nfs4proc.c status = nfsd4_vfs_fallocate(rqstp, &cstate->current_fh, nf->nf_file, cstate 1366 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, cstate 1372 fs/nfsd/nfs4proc.c struct nfs4_client *clp = cstate->clp; cstate 1385 fs/nfsd/nfs4proc.c nfsd4_allocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1388 fs/nfsd/nfs4proc.c return nfsd4_fallocate(rqstp, cstate, &u->allocate, 0); cstate 1392 fs/nfsd/nfs4proc.c nfsd4_deallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1395 fs/nfsd/nfs4proc.c return nfsd4_fallocate(rqstp, cstate, &u->deallocate, cstate 1400 fs/nfsd/nfs4proc.c nfsd4_seek(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1408 fs/nfsd/nfs4proc.c status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, cstate 1449 fs/nfsd/nfs4proc.c _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1456 fs/nfsd/nfs4proc.c status = fh_verify(rqstp, &cstate->current_fh, 0, NFSD_MAY_NOP); cstate 1460 fs/nfsd/nfs4proc.c status = check_attr_support(rqstp, cstate, verify->ve_bmval, NULL); cstate 1479 fs/nfsd/nfs4proc.c status = nfsd4_encode_fattr_to_buf(&p, count, &cstate->current_fh, cstate 1480 fs/nfsd/nfs4proc.c cstate->current_fh.fh_export, cstate 1481 fs/nfsd/nfs4proc.c cstate->current_fh.fh_dentry, cstate 1507 fs/nfsd/nfs4proc.c nfsd4_nverify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1512 fs/nfsd/nfs4proc.c status = _nfsd4_verify(rqstp, cstate, &u->verify); cstate 1517 fs/nfsd/nfs4proc.c nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 1522 fs/nfsd/nfs4proc.c status = _nfsd4_verify(rqstp, cstate, &u->nverify); cstate 1547 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 1582 fs/nfsd/nfs4proc.c rqstp, cstate->session->se_client, gdp); cstate 1599 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 1602 fs/nfsd/nfs4proc.c struct svc_fh *current_fh = &cstate->current_fh; cstate 1652 fs/nfsd/nfs4proc.c nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid, cstate 1685 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 1689 fs/nfsd/nfs4proc.c struct svc_fh *current_fh = &cstate->current_fh; cstate 1720 fs/nfsd/nfs4proc.c nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, cstate 1749 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 1752 fs/nfsd/nfs4proc.c struct svc_fh *current_fh = &cstate->current_fh; cstate 1777 fs/nfsd/nfs4proc.c nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); cstate 1781 fs/nfsd/nfs4proc.c nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); cstate 1924 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate = &resp->cstate; cstate 1925 fs/nfsd/nfs4proc.c struct svc_fh *current_fh = &cstate->current_fh; cstate 1926 fs/nfsd/nfs4proc.c struct svc_fh *save_fh = &cstate->save_fh; cstate 1937 fs/nfsd/nfs4proc.c cstate->minorversion = args->minorversion; cstate 1975 fs/nfsd/nfs4proc.c op->status = nfsd4_open_omfg(rqstp, cstate, op); cstate 2012 fs/nfsd/nfs4proc.c op->opdesc->op_get_currentstateid(cstate, &op->u); cstate 2013 fs/nfsd/nfs4proc.c op->status = op->opdesc->op_func(rqstp, cstate, &op->u); cstate 2016 fs/nfsd/nfs4proc.c if (cstate->status == nfserr_replay_cache) { cstate 2023 fs/nfsd/nfs4proc.c op->opdesc->op_set_currentstateid(cstate, &op->u); cstate 2026 fs/nfsd/nfs4proc.c clear_current_stateid(cstate); cstate 2033 fs/nfsd/nfs4proc.c op->replay = &cstate->replay_owner->so_replay; cstate 2044 fs/nfsd/nfs4proc.c nfsd4_cstate_clear_replay(cstate); cstate 2048 fs/nfsd/nfs4proc.c cstate->status = status; cstate 2051 fs/nfsd/nfs4proc.c BUG_ON(cstate->replay_owner); cstate 2736 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate = &resp->cstate; cstate 2737 fs/nfsd/nfs4proc.c struct nfs4_op_map *allow = &cstate->clp->cl_spo_must_allow; cstate 2740 fs/nfsd/nfs4proc.c if (!cstate->minorversion) cstate 2743 fs/nfsd/nfs4proc.c if (cstate->spo_must_allowed == true) cstate 2750 fs/nfsd/nfs4proc.c cstate->clp->cl_mach_cred && cstate 2751 fs/nfsd/nfs4proc.c nfsd4_mach_creds_match(cstate->clp, rqstp)) { cstate 2752 fs/nfsd/nfs4proc.c cstate->spo_must_allowed = true; cstate 2756 fs/nfsd/nfs4proc.c cstate->spo_must_allowed = false; cstate 1497 fs/nfsd/nfs4state.c void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) cstate 1499 fs/nfsd/nfs4state.c struct nfs4_stateowner *so = cstate->replay_owner; cstate 1505 fs/nfsd/nfs4state.c nfsd4_cstate_clear_replay(cstate); cstate 2808 fs/nfsd/nfs4state.c struct nfsd4_slot *slot = resp->cstate.slot; cstate 2815 fs/nfsd/nfs4state.c slot->sl_status = resp->cstate.status; cstate 2825 fs/nfsd/nfs4state.c base = resp->cstate.data_offset; cstate 2845 fs/nfsd/nfs4state.c struct nfsd4_slot *slot = resp->cstate.slot; cstate 2876 fs/nfsd/nfs4state.c struct nfsd4_slot *slot = resp->cstate.slot; cstate 2957 fs/nfsd/nfs4state.c nfsd4_exchange_id(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 3089 fs/nfsd/nfs4state.c new->cl_minorversion = cstate->minorversion; cstate 3256 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 3383 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 3387 fs/nfsd/nfs4state.c struct nfsd4_session *session = cstate->session; cstate 3405 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 3440 fs/nfsd/nfs4state.c static bool nfsd4_compound_in_session(struct nfsd4_compound_state *cstate, struct nfs4_sessionid *sid) cstate 3442 fs/nfsd/nfs4state.c if (!cstate->session) cstate 3444 fs/nfsd/nfs4state.c return !memcmp(sid, &cstate->session->se_sessionid, sizeof(*sid)); cstate 3448 fs/nfsd/nfs4state.c nfsd4_destroy_session(struct svc_rqst *r, struct nfsd4_compound_state *cstate, cstate 3459 fs/nfsd/nfs4state.c if (nfsd4_compound_in_session(cstate, sessionid)) { cstate 3578 fs/nfsd/nfs4state.c nfsd4_sequence(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 3639 fs/nfsd/nfs4state.c cstate->slot = slot; cstate 3640 fs/nfsd/nfs4state.c cstate->session = session; cstate 3641 fs/nfsd/nfs4state.c cstate->clp = clp; cstate 3645 fs/nfsd/nfs4state.c cstate->status = nfserr_replay_cache; cstate 3674 fs/nfsd/nfs4state.c cstate->slot = slot; cstate 3675 fs/nfsd/nfs4state.c cstate->session = session; cstate 3676 fs/nfsd/nfs4state.c cstate->clp = clp; cstate 3704 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cs = &resp->cstate; cstate 3719 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 3763 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 3769 fs/nfsd/nfs4state.c if (!cstate->current_fh.fh_dentry) cstate 3780 fs/nfsd/nfs4state.c &cstate->session->se_client->cl_flags)) cstate 3784 fs/nfsd/nfs4state.c if (is_client_expired(cstate->session->se_client)) cstate 3795 fs/nfsd/nfs4state.c nfsd4_client_record_create(cstate->session->se_client); cstate 3796 fs/nfsd/nfs4state.c inc_reclaim_complete(cstate->session->se_client); cstate 3802 fs/nfsd/nfs4state.c nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 3862 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 4034 fs/nfsd/nfs4state.c static void nfsd4_cstate_assign_replay(struct nfsd4_compound_state *cstate, cstate 4037 fs/nfsd/nfs4state.c if (!nfsd4_has_session(cstate)) { cstate 4039 fs/nfsd/nfs4state.c cstate->replay_owner = nfs4_get_stateowner(so); cstate 4043 fs/nfsd/nfs4state.c void nfsd4_cstate_clear_replay(struct nfsd4_compound_state *cstate) cstate 4045 fs/nfsd/nfs4state.c struct nfs4_stateowner *so = cstate->replay_owner; cstate 4048 fs/nfsd/nfs4state.c cstate->replay_owner = NULL; cstate 4173 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate) cstate 4175 fs/nfsd/nfs4state.c struct nfs4_client *clp = cstate->clp; cstate 4185 fs/nfsd/nfs4state.c if (nfsd4_has_session(cstate)) cstate 4482 fs/nfsd/nfs4state.c static __be32 nfsd4_check_seqid(struct nfsd4_compound_state *cstate, struct nfs4_stateowner *so, u32 seqid) cstate 4484 fs/nfsd/nfs4state.c if (nfsd4_has_session(cstate)) cstate 4494 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 4499 fs/nfsd/nfs4state.c if (cstate->clp) { cstate 4500 fs/nfsd/nfs4state.c found = cstate->clp; cstate 4514 fs/nfsd/nfs4state.c WARN_ON_ONCE(cstate->session); cstate 4525 fs/nfsd/nfs4state.c cstate->clp = found; cstate 4530 fs/nfsd/nfs4state.c nfsd4_process_open1(struct nfsd4_compound_state *cstate, cstate 4549 fs/nfsd/nfs4state.c status = lookup_clientid(clientid, cstate, nn); cstate 4552 fs/nfsd/nfs4state.c clp = cstate->clp; cstate 4566 fs/nfsd/nfs4state.c status = nfsd4_check_seqid(cstate, &oo->oo_owner, open->op_seqid); cstate 4571 fs/nfsd/nfs4state.c oo = alloc_init_open_stateowner(strhashval, open, cstate); cstate 4580 fs/nfsd/nfs4state.c if (nfsd4_has_session(cstate) && cstate 4581 fs/nfsd/nfs4state.c (cstate->current_fh.fh_export->ex_flags & NFSEXP_PNFS)) { cstate 5065 fs/nfsd/nfs4state.c if (nfsd4_has_session(&resp->cstate)) { cstate 5097 fs/nfsd/nfs4state.c if (nfsd4_has_session(&resp->cstate)) cstate 5110 fs/nfsd/nfs4state.c void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, cstate 5116 fs/nfsd/nfs4state.c nfsd4_cstate_assign_replay(cstate, so); cstate 5128 fs/nfsd/nfs4state.c nfsd4_renew(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 5138 fs/nfsd/nfs4state.c status = lookup_clientid(clid, cstate, nn); cstate 5141 fs/nfsd/nfs4state.c clp = cstate->clp; cstate 5507 fs/nfsd/nfs4state.c nfsd4_lookup_stateid(struct nfsd4_compound_state *cstate, cstate 5526 fs/nfsd/nfs4state.c status = lookup_clientid(&stateid->si_opaque.so_clid, cstate, nn); cstate 5528 fs/nfsd/nfs4state.c if (cstate->session) cstate 5534 fs/nfsd/nfs4state.c *s = find_stateid_by_type(cstate->clp, stateid, typemask); cstate 5539 fs/nfsd/nfs4state.c if (cstate->minorversion) cstate 5611 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, struct svc_fh *fhp, cstate 5631 fs/nfsd/nfs4state.c status = nfsd4_lookup_stateid(cstate, stateid, cstate 5637 fs/nfsd/nfs4state.c nfsd4_has_session(cstate)); cstate 5670 fs/nfsd/nfs4state.c nfsd4_test_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 5675 fs/nfsd/nfs4state.c struct nfs4_client *cl = cstate->session->se_client; cstate 5714 fs/nfsd/nfs4state.c nfsd4_free_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 5721 fs/nfsd/nfs4state.c struct nfs4_client *cl = cstate->session->se_client; cstate 5769 fs/nfsd/nfs4state.c static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) cstate 5771 fs/nfsd/nfs4state.c struct svc_fh *current_fh = &cstate->current_fh; cstate 5775 fs/nfsd/nfs4state.c status = nfsd4_check_seqid(cstate, sop, seqid); cstate 5781 fs/nfsd/nfs4state.c status = check_stateid_generation(stateid, &stp->st_stid.sc_stateid, nfsd4_has_session(cstate)); cstate 5793 fs/nfsd/nfs4state.c nfs4_preprocess_seqid_op(struct nfsd4_compound_state *cstate, u32 seqid, cstate 5806 fs/nfsd/nfs4state.c status = nfsd4_lookup_stateid(cstate, stateid, typemask, &s, nn); cstate 5810 fs/nfsd/nfs4state.c nfsd4_cstate_assign_replay(cstate, stp->st_stateowner); cstate 5812 fs/nfsd/nfs4state.c status = nfs4_seqid_op_checks(cstate, stateid, seqid, stp); cstate 5820 fs/nfsd/nfs4state.c static __be32 nfs4_preprocess_confirmed_seqid_op(struct nfsd4_compound_state *cstate, u32 seqid, cstate 5827 fs/nfsd/nfs4state.c status = nfs4_preprocess_seqid_op(cstate, seqid, stateid, cstate 5842 fs/nfsd/nfs4state.c nfsd4_open_confirm(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 5852 fs/nfsd/nfs4state.c cstate->current_fh.fh_dentry); cstate 5854 fs/nfsd/nfs4state.c status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0); cstate 5858 fs/nfsd/nfs4state.c status = nfs4_preprocess_seqid_op(cstate, cstate 5880 fs/nfsd/nfs4state.c nfsd4_bump_seqid(cstate, status); cstate 5912 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) cstate 5920 fs/nfsd/nfs4state.c cstate->current_fh.fh_dentry); cstate 5927 fs/nfsd/nfs4state.c status = nfs4_preprocess_confirmed_seqid_op(cstate, od->od_seqid, cstate 5950 fs/nfsd/nfs4state.c nfsd4_bump_seqid(cstate, status); cstate 5980 fs/nfsd/nfs4state.c nfsd4_close(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 5990 fs/nfsd/nfs4state.c cstate->current_fh.fh_dentry); cstate 5992 fs/nfsd/nfs4state.c status = nfs4_preprocess_seqid_op(cstate, close->cl_seqid, cstate 5996 fs/nfsd/nfs4state.c nfsd4_bump_seqid(cstate, status); cstate 6029 fs/nfsd/nfs4state.c nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 6039 fs/nfsd/nfs4state.c if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0))) cstate 6042 fs/nfsd/nfs4state.c status = nfsd4_lookup_stateid(cstate, stateid, NFS4_DELEG_STID, &s, nn); cstate 6046 fs/nfsd/nfs4state.c status = nfsd4_stid_check_stateid_generation(stateid, &dp->dl_stid, nfsd4_has_session(cstate)); cstate 6365 fs/nfsd/nfs4state.c lookup_or_create_lock_state(struct nfsd4_compound_state *cstate, cstate 6374 fs/nfsd/nfs4state.c struct inode *inode = d_inode(cstate->current_fh.fh_dentry); cstate 6388 fs/nfsd/nfs4state.c if (!cstate->minorversion && cstate 6410 fs/nfsd/nfs4state.c nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 6439 fs/nfsd/nfs4state.c if ((status = fh_verify(rqstp, &cstate->current_fh, cstate 6446 fs/nfsd/nfs4state.c if (nfsd4_has_session(cstate)) cstate 6449 fs/nfsd/nfs4state.c &cstate->session->se_client->cl_clientid, cstate 6457 fs/nfsd/nfs4state.c status = nfs4_preprocess_confirmed_seqid_op(cstate, cstate 6469 fs/nfsd/nfs4state.c status = lookup_or_create_lock_state(cstate, open_stp, lock, cstate 6472 fs/nfsd/nfs4state.c status = nfs4_preprocess_seqid_op(cstate, cstate 6496 fs/nfsd/nfs4state.c if (nfsd4_has_session(cstate)) cstate 6508 fs/nfsd/nfs4state.c if (nfsd4_has_session(cstate)) cstate 6601 fs/nfsd/nfs4state.c if (cstate->replay_owner && cstate 6602 fs/nfsd/nfs4state.c cstate->replay_owner != &lock_sop->lo_owner && cstate 6619 fs/nfsd/nfs4state.c nfsd4_bump_seqid(cstate, status); cstate 6646 fs/nfsd/nfs4state.c nfsd4_lockt(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 6661 fs/nfsd/nfs4state.c if (!nfsd4_has_session(cstate)) { cstate 6662 fs/nfsd/nfs4state.c status = lookup_clientid(&lockt->lt_clientid, cstate, nn); cstate 6667 fs/nfsd/nfs4state.c if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0))) cstate 6692 fs/nfsd/nfs4state.c lo = find_lockowner_str(cstate->clp, &lockt->lt_owner); cstate 6703 fs/nfsd/nfs4state.c status = nfsd_test_lock(rqstp, &cstate->current_fh, file_lock); cstate 6720 fs/nfsd/nfs4state.c nfsd4_locku(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, cstate 6738 fs/nfsd/nfs4state.c status = nfs4_preprocess_seqid_op(cstate, locku->lu_seqid, cstate 6779 fs/nfsd/nfs4state.c nfsd4_bump_seqid(cstate, status); cstate 6828 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 6846 fs/nfsd/nfs4state.c status = lookup_clientid(clid, cstate, nn); cstate 6850 fs/nfsd/nfs4state.c clp = cstate->clp; cstate 6987 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, cstate 6993 fs/nfsd/nfs4state.c status = lookup_clientid(clid, cstate, nn); cstate 6997 fs/nfsd/nfs4state.c if (test_bit(NFSD4_CLIENT_RECLAIM_COMPLETE, &cstate->clp->cl_flags)) cstate 7000 fs/nfsd/nfs4state.c if (nfsd4_client_record_check(cstate->clp)) cstate 7789 fs/nfsd/nfs4state.c get_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid) cstate 7791 fs/nfsd/nfs4state.c if (HAS_STATE_ID(cstate, CURRENT_STATE_ID_FLAG) && CURRENT_STATEID(stateid)) cstate 7792 fs/nfsd/nfs4state.c memcpy(stateid, &cstate->current_stateid, sizeof(stateid_t)); cstate 7796 fs/nfsd/nfs4state.c put_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid) cstate 7798 fs/nfsd/nfs4state.c if (cstate->minorversion) { cstate 7799 fs/nfsd/nfs4state.c memcpy(&cstate->current_stateid, stateid, sizeof(stateid_t)); cstate 7800 fs/nfsd/nfs4state.c SET_STATE_ID(cstate, CURRENT_STATE_ID_FLAG); cstate 7805 fs/nfsd/nfs4state.c clear_current_stateid(struct nfsd4_compound_state *cstate) cstate 7807 fs/nfsd/nfs4state.c CLEAR_STATE_ID(cstate, CURRENT_STATE_ID_FLAG); cstate 7814 fs/nfsd/nfs4state.c nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *cstate, cstate 7817 fs/nfsd/nfs4state.c put_stateid(cstate, &u->open_downgrade.od_stateid); cstate 7821 fs/nfsd/nfs4state.c nfsd4_set_openstateid(struct nfsd4_compound_state *cstate, cstate 7824 fs/nfsd/nfs4state.c put_stateid(cstate, &u->open.op_stateid); cstate 7828 fs/nfsd/nfs4state.c nfsd4_set_closestateid(struct nfsd4_compound_state *cstate, cstate 7831 fs/nfsd/nfs4state.c put_stateid(cstate, &u->close.cl_stateid); cstate 7835 fs/nfsd/nfs4state.c nfsd4_set_lockstateid(struct nfsd4_compound_state *cstate, cstate 7838 fs/nfsd/nfs4state.c put_stateid(cstate, &u->lock.lk_resp_stateid); cstate 7846 fs/nfsd/nfs4state.c nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *cstate, cstate 7849 fs/nfsd/nfs4state.c get_stateid(cstate, &u->open_downgrade.od_stateid); cstate 7853 fs/nfsd/nfs4state.c nfsd4_get_delegreturnstateid(struct nfsd4_compound_state *cstate, cstate 7856 fs/nfsd/nfs4state.c get_stateid(cstate, &u->delegreturn.dr_stateid); cstate 7860 fs/nfsd/nfs4state.c nfsd4_get_freestateid(struct nfsd4_compound_state *cstate, cstate 7863 fs/nfsd/nfs4state.c get_stateid(cstate, &u->free_stateid.fr_stateid); cstate 7867 fs/nfsd/nfs4state.c nfsd4_get_setattrstateid(struct nfsd4_compound_state *cstate, cstate 7870 fs/nfsd/nfs4state.c get_stateid(cstate, &u->setattr.sa_stateid); cstate 7874 fs/nfsd/nfs4state.c nfsd4_get_closestateid(struct nfsd4_compound_state *cstate, cstate 7877 fs/nfsd/nfs4state.c get_stateid(cstate, &u->close.cl_stateid); cstate 7881 fs/nfsd/nfs4state.c nfsd4_get_lockustateid(struct nfsd4_compound_state *cstate, cstate 7884 fs/nfsd/nfs4state.c get_stateid(cstate, &u->locku.lu_stateid); cstate 7888 fs/nfsd/nfs4state.c nfsd4_get_readstateid(struct nfsd4_compound_state *cstate, cstate 7891 fs/nfsd/nfs4state.c get_stateid(cstate, &u->read.rd_stateid); cstate 7895 fs/nfsd/nfs4state.c nfsd4_get_writestateid(struct nfsd4_compound_state *cstate, cstate 7898 fs/nfsd/nfs4state.c get_stateid(cstate, &u->write.wr_stateid); cstate 2429 fs/nfsd/nfs4xdr.c u32 minorversion = resp->cstate.minorversion; cstate 4082 fs/nfsd/nfs4xdr.c resp->cstate.data_offset = xdr->buf->len; /* DRC cache data pointer */ cstate 4416 fs/nfsd/nfs4xdr.c struct nfsd4_slot *slot = resp->cstate.slot; cstate 4420 fs/nfsd/nfs4xdr.c if (!nfsd4_has_session(&resp->cstate)) cstate 4433 fs/nfsd/nfs4xdr.c struct nfs4_stateowner *so = resp->cstate.replay_owner; cstate 4468 fs/nfsd/nfs4xdr.c if (op->status == nfserr_resource && nfsd4_has_session(&resp->cstate)) { cstate 4469 fs/nfsd/nfs4xdr.c struct nfsd4_slot *slot = resp->cstate.slot; cstate 55 fs/nfsd/pnfs.h struct nfsd4_compound_state *cstate, stateid_t *stateid, cstate 60 fs/nfsd/pnfs.h struct nfsd4_compound_state *cstate, cstate 63 fs/nfsd/pnfs.h struct nfsd4_compound_state *cstate, cstate 619 fs/nfsd/state.h struct nfsd4_compound_state *cstate, struct svc_fh *fhp, cstate 621 fs/nfsd/state.h __be32 nfsd4_lookup_stateid(struct nfsd4_compound_state *cstate, cstate 636 fs/nfsd/state.h struct nfsd4_compound_state *cstate, struct nfsd_net *nn); cstate 676 fs/nfsd/xdr4.h struct nfsd4_compound_state cstate; cstate 696 fs/nfsd/xdr4.h return (resp->cstate.slot->sl_flags & NFSD4_SLOT_CACHETHIS) cstate 767 fs/nfsd/xdr4.h extern void nfsd4_cstate_clear_replay(struct nfsd4_compound_state *cstate); cstate 768 fs/nfsd/xdr4.h extern void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, cstate 277 include/acpi/processor.h void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cstate); cstate 294 include/acpi/processor.h *cstate) cstate 39 include/linux/netfilter/nf_conntrack_pptp.h enum pptp_ctrlcall_state cstate; /* call state */ cstate 131 include/net/slhc_vj.h struct cstate *next; /* next in ring (xmit) */ cstate 138 include/net/slhc_vj.h #define NULLSLSTATE (struct cstate *)0 cstate 144 include/net/slhc_vj.h struct cstate *tstate; /* transmit connection states (array)*/ cstate 145 include/net/slhc_vj.h struct cstate *rstate; /* receive connection states (array)*/ cstate 348 lib/decompress_unlzma.c struct cstate *cst, uint16_t *p, cstate 392 lib/decompress_unlzma.c struct cstate *cst, uint16_t *p, cstate 554 lib/decompress_unlzma.c struct cstate cst; cstate 314 net/netfilter/nf_conntrack_pptp.c if (info->cstate != PPTP_CALL_OUT_REQ && cstate 315 net/netfilter/nf_conntrack_pptp.c info->cstate != PPTP_CALL_OUT_CONF) cstate 326 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_OUT_CONF; cstate 330 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_NONE; cstate 340 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_IN_REQ; cstate 348 net/netfilter/nf_conntrack_pptp.c if (info->cstate != PPTP_CALL_IN_REP && cstate 349 net/netfilter/nf_conntrack_pptp.c info->cstate != PPTP_CALL_IN_CONF) cstate 359 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_IN_CONF; cstate 369 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_NONE; cstate 396 net/netfilter/nf_conntrack_pptp.c msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, cstate 434 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_OUT_REQ; cstate 443 net/netfilter/nf_conntrack_pptp.c if (info->cstate != PPTP_CALL_IN_REQ && cstate 444 net/netfilter/nf_conntrack_pptp.c info->cstate != PPTP_CALL_IN_REP) cstate 456 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_IN_REP; cstate 459 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_NONE; cstate 469 net/netfilter/nf_conntrack_pptp.c info->cstate = PPTP_CALL_CLEAR_REQ; cstate 492 net/netfilter/nf_conntrack_pptp.c msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, cstate 584 net/netfilter/nf_conntrack_pptp.c oldcstate = info->cstate; cstate 599 net/netfilter/nf_conntrack_pptp.c oldsstate, info->sstate, oldcstate, info->cstate); cstate 106 samples/bpf/cpustat_kern.c u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; cstate 121 samples/bpf/cpustat_kern.c cstate = bpf_map_lookup_elem(&my_map, &key); cstate 122 samples/bpf/cpustat_kern.c if (!cstate) cstate 135 samples/bpf/cpustat_kern.c prev_state = *cstate; cstate 136 samples/bpf/cpustat_kern.c *cstate = ctx->state; cstate 214 samples/bpf/cpustat_kern.c u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; cstate 231 samples/bpf/cpustat_kern.c cstate = bpf_map_lookup_elem(&my_map, &key); cstate 232 samples/bpf/cpustat_kern.c if (!cstate) cstate 248 samples/bpf/cpustat_kern.c if (*cstate != (u32)(-1)) cstate 33 samples/bpf/cpustat_user.c unsigned long cstate[MAX_CSTATE_ENTRIES]; cstate 69 samples/bpf/cpustat_user.c printf("%-11ld ", data->cstate[i] / 1000000); cstate 87 samples/bpf/cpustat_user.c stat_data[c].cstate[i] = value; cstate 1561 tools/perf/builtin-script.c data->hw, data->cstate, data->subcstate); cstate 210 tools/perf/util/event.h cstate : 4, cstate 100 tools/power/cpupower/utils/cpuidle-info.c unsigned int cstate, cstates; cstate 112 tools/power/cpupower/utils/cpuidle-info.c for (cstate = 1; cstate < cstates; cstate++) { cstate 114 tools/power/cpupower/utils/cpuidle-info.c "type[C%d] "), cstate, cstate); cstate 117 tools/power/cpupower/utils/cpuidle-info.c cpuidle_state_latency(cpu, cstate)); cstate 119 tools/power/cpupower/utils/cpuidle-info.c cpuidle_state_usage(cpu, cstate)); cstate 121 tools/power/cpupower/utils/cpuidle-info.c cpuidle_state_time(cpu, cstate)); cstate 96 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c static int amd_fam14h_get_pci_info(struct cstate *state,