Home
last modified time | relevance | path

Searched refs:cstate (Results 1 – 48 of 48) sorted by relevance

/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhal_bt_coexist.c47 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
51 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
54 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
58 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
61 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
64 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state()
65 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
67 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
73 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
75 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
[all …]
Dhal_btc.c46 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
137 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr()
142 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723e_dm_bt_need_to_dec_bt_pwr()
151 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state()
366 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_is_2_ant_common_action()
1387 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_inq_page_monitor()
1406 rtlpriv->btcoexist.cstate &= in rtl8723e_dm_bt_inq_page_monitor()
1416 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1420 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1458 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
[all …]
Ddm.c845 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_init_bt_coexist()
Dhw.c2374 rtlpriv->btcoexist.cstate = 0; in rtl8723e_bt_var_init()
/linux-4.1.27/fs/nfsd/
Dnfs4proc.c94 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument
97 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
103 if ((bmval[0] & ~nfsd_suppattrs0(cstate->minorversion)) || in check_attr_support()
104 (bmval[1] & ~nfsd_suppattrs1(cstate->minorversion)) || in check_attr_support()
105 (bmval[2] & ~nfsd_suppattrs2(cstate->minorversion))) in check_attr_support()
131 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument
138 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
141 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
228 static void nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open… in nfsd4_set_open_owner_reply_cache() argument
230 if (nfsd4_has_session(cstate)) in nfsd4_set_open_owner_reply_cache()
[all …]
Dnfs4state.c1319 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument
1321 struct nfs4_stateowner *so = cstate->replay_owner; in nfsd4_bump_seqid()
1327 nfsd4_cstate_clear_replay(cstate); in nfsd4_bump_seqid()
2209 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_store_cache_entry()
2215 slot->sl_status = resp->cstate.status; in nfsd4_store_cache_entry()
2222 base = resp->cstate.data_offset; in nfsd4_store_cache_entry()
2241 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_enc_sequence_replay()
2264 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_replay_cache_entry()
2321 struct nfsd4_compound_state *cstate, in nfsd4_exchange_id() argument
2418 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id()
[all …]
Dcurrent_stateid.h7 extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
11 extern void nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *cstate, struct nfsd4_open_d…
19 extern void nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *cstate, struct nfsd4_open_d…
Dpnfs.h41 struct nfsd4_compound_state *cstate, stateid_t *stateid,
46 struct nfsd4_compound_state *cstate,
49 struct nfsd4_compound_state *cstate,
Dnfs4layouts.c184 nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate, in nfsd4_alloc_layout_stateid() argument
187 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid()
192 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache); in nfsd4_alloc_layout_stateid()
235 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfsd4_preprocess_layout_stateid() argument
246 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid()
251 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
258 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid()
458 struct nfsd4_compound_state *cstate, in nfsd4_return_file_layouts() argument
467 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
503 struct nfsd4_compound_state *cstate, in nfsd4_return_client_layouts() argument
[all …]
Dstate.h587 struct nfsd4_compound_state *cstate,
589 __be32 nfsd4_lookup_stateid(struct nfsd4_compound_state *cstate,
601 struct nfsd4_compound_state *cstate, struct nfsd_net *nn);
Dxdr4.h602 struct nfsd4_compound_state cstate; member
613 return !(resp->cstate.slot->sl_flags & NFSD4_SLOT_CACHETHIS) in nfsd4_not_cached()
684 extern void nfsd4_cstate_clear_replay(struct nfsd4_compound_state *cstate);
685 extern void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate,
Dnfs4xdr.c2262 u32 minorversion = resp->cstate.minorversion; in nfsd4_encode_fattr()
3991 resp->cstate.data_offset = xdr->buf->len; /* DRC cache data pointer */ in nfsd4_encode_sequence()
4296 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_check_resp_size()
4300 if (!nfsd4_has_session(&resp->cstate)) in nfsd4_check_resp_size()
4313 struct nfs4_stateowner *so = resp->cstate.replay_owner; in nfsd4_encode_operation()
4342 if (op->status == nfserr_resource && nfsd4_has_session(&resp->cstate)) { in nfsd4_encode_operation()
4343 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_encode_operation()
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb.c379 struct mcryptd_alg_cstate *cstate, bool flush) in sha_finish_walk() argument
402 sha_ctx = sha1_ctx_mgr_submit(cstate->mgr, sha_ctx, rctx->walk.data, nbytes, flag); in sha_finish_walk()
405 sha_ctx = sha1_ctx_mgr_flush(cstate->mgr); in sha_finish_walk()
426 struct mcryptd_alg_cstate *cstate, in sha_complete_job() argument
435 spin_lock(&cstate->work_lock); in sha_complete_job()
437 spin_unlock(&cstate->work_lock); in sha_complete_job()
448 sha_ctx = sha1_ctx_mgr_get_comp_ctx(cstate->mgr); in sha_complete_job()
451 ret = sha_finish_walk(&req_ctx, cstate, false); in sha_complete_job()
453 spin_lock(&cstate->work_lock); in sha_complete_job()
455 spin_unlock(&cstate->work_lock); in sha_complete_job()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c82 struct nvkm_cstate *cstate; in nvkm_cstate_prog() local
86 cstate = list_entry(pstate->list.prev, typeof(*cstate), head); in nvkm_cstate_prog()
88 cstate = &pstate->base; in nvkm_cstate_prog()
100 ret = volt->set_id(volt, cstate->voltage, +1); in nvkm_cstate_prog()
107 ret = clk->calc(clk, cstate); in nvkm_cstate_prog()
114 ret = volt->set_id(volt, cstate->voltage, -1); in nvkm_cstate_prog()
129 nvkm_cstate_del(struct nvkm_cstate *cstate) in nvkm_cstate_del() argument
131 list_del(&cstate->head); in nvkm_cstate_del()
132 kfree(cstate); in nvkm_cstate_del()
140 struct nvkm_cstate *cstate = NULL; in nvkm_cstate_new() local
[all …]
Dgf100.c263 struct nvkm_cstate *cstate, int clk, int dom) in calc_clk() argument
266 u32 freq = cstate->domain[dom]; in calc_clk()
283 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk()
314 gf100_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in gf100_clk_calc() argument
319 if ((ret = calc_clk(priv, cstate, 0x00, nv_clk_src_gpc)) || in gf100_clk_calc()
320 (ret = calc_clk(priv, cstate, 0x01, nv_clk_src_rop)) || in gf100_clk_calc()
321 (ret = calc_clk(priv, cstate, 0x02, nv_clk_src_hubk07)) || in gf100_clk_calc()
322 (ret = calc_clk(priv, cstate, 0x07, nv_clk_src_hubk06)) || in gf100_clk_calc()
323 (ret = calc_clk(priv, cstate, 0x08, nv_clk_src_hubk01)) || in gf100_clk_calc()
324 (ret = calc_clk(priv, cstate, 0x09, nv_clk_src_copy)) || in gf100_clk_calc()
[all …]
Dgk104.c281 struct nvkm_cstate *cstate, int clk, int dom) in calc_clk() argument
284 u32 freq = cstate->domain[dom]; in calc_clk()
301 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk()
332 gk104_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in gk104_clk_calc() argument
337 if ((ret = calc_clk(priv, cstate, 0x00, nv_clk_src_gpc)) || in gk104_clk_calc()
338 (ret = calc_clk(priv, cstate, 0x01, nv_clk_src_rop)) || in gk104_clk_calc()
339 (ret = calc_clk(priv, cstate, 0x02, nv_clk_src_hubk07)) || in gk104_clk_calc()
340 (ret = calc_clk(priv, cstate, 0x07, nv_clk_src_hubk06)) || in gk104_clk_calc()
341 (ret = calc_clk(priv, cstate, 0x08, nv_clk_src_hubk01)) || in gk104_clk_calc()
342 (ret = calc_clk(priv, cstate, 0x0c, nv_clk_src_daemon)) || in gk104_clk_calc()
[all …]
Dgt215.c265 calc_clk(struct gt215_clk_priv *priv, struct nvkm_cstate *cstate, in calc_clk() argument
268 int ret = gt215_pll_info(&priv->base, clk, pll, cstate->domain[idx], in calc_clk()
276 calc_host(struct gt215_clk_priv *priv, struct nvkm_cstate *cstate) in calc_host() argument
279 u32 kHz = cstate->domain[nv_clk_src_host]; in calc_host()
429 gt215_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in gt215_clk_calc() argument
435 if ((ret = calc_clk(priv, cstate, 0x10, 0x4200, nv_clk_src_core)) || in gt215_clk_calc()
436 (ret = calc_clk(priv, cstate, 0x11, 0x4220, nv_clk_src_shader)) || in gt215_clk_calc()
437 (ret = calc_clk(priv, cstate, 0x20, 0x0000, nv_clk_src_disp)) || in gt215_clk_calc()
438 (ret = calc_clk(priv, cstate, 0x21, 0x0000, nv_clk_src_vdec)) || in gt215_clk_calc()
439 (ret = calc_host(priv, cstate))) in gt215_clk_calc()
[all …]
Dnv40.c152 nv40_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in nv40_clk_calc() argument
155 int gclk = cstate->domain[nv_clk_src_core]; in nv40_clk_calc()
156 int sclk = cstate->domain[nv_clk_src_shader]; in nv40_clk_calc()
Dnv50.c364 nv50_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in nv50_clk_calc() argument
368 const int shader = cstate->domain[nv_clk_src_shader]; in nv50_clk_calc()
369 const int core = cstate->domain[nv_clk_src_core]; in nv50_clk_calc()
370 const int vdec = cstate->domain[nv_clk_src_vdec]; in nv50_clk_calc()
371 const int dom6 = cstate->domain[nv_clk_src_dom6]; in nv50_clk_calc()
Dmcp77.c200 mcp77_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in mcp77_clk_calc() argument
203 const int shader = cstate->domain[nv_clk_src_shader]; in mcp77_clk_calc()
204 const int core = cstate->domain[nv_clk_src_core]; in mcp77_clk_calc()
205 const int vdec = cstate->domain[nv_clk_src_vdec]; in mcp77_clk_calc()
Dgk20a.c580 gk20a_clk_calc(struct nvkm_clk *clk, struct nvkm_cstate *cstate) in gk20a_clk_calc() argument
584 return gk20a_pllg_calc_mnp(priv, cstate->domain[nv_clk_src_gpc] * in gk20a_clk_calc()
/linux-4.1.27/tools/power/cpupower/utils/
Dcpuidle-info.c103 unsigned int cstate, cstates; in proc_cpuidle_cpu_output() local
115 for (cstate = 1; cstate < cstates; cstate++) { in proc_cpuidle_cpu_output()
117 "type[C%d] "), cstate, cstate); in proc_cpuidle_cpu_output()
120 sysfs_get_idlestate_latency(cpu, cstate)); in proc_cpuidle_cpu_output()
122 sysfs_get_idlestate_usage(cpu, cstate)); in proc_cpuidle_cpu_output()
124 sysfs_get_idlestate_time(cpu, cstate)); in proc_cpuidle_cpu_output()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_page_alloc.c257 enum ttm_caching_state cstate) in ttm_get_pool() argument
261 if (cstate == tt_cached) in ttm_get_pool()
264 if (cstate == tt_wc) in ttm_get_pool()
449 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument
453 switch (cstate) { in ttm_set_pages_caching()
476 int ttm_flags, enum ttm_caching_state cstate, in ttm_handle_caching_state_failure() argument
494 int ttm_flags, enum ttm_caching_state cstate, unsigned count) in ttm_alloc_new_pages() argument
521 cstate, cpages); in ttm_alloc_new_pages()
524 ttm_flags, cstate, in ttm_alloc_new_pages()
542 cstate, cpages); in ttm_alloc_new_pages()
[all …]
Dttm_page_alloc_dma.c353 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type() argument
359 if (cstate == tt_cached) in ttm_to_type()
361 else if (cstate == tt_uncached) in ttm_to_type()
/linux-4.1.27/include/net/
Dslhc_vj.h128 struct cstate { struct
130 struct cstate *next; /* next in ring (xmit) */ argument
137 #define NULLSLSTATE (struct cstate *)0 argument
143 struct cstate *tstate; /* transmit connection states (array)*/
144 struct cstate *rstate; /* receive connection states (array)*/
/linux-4.1.27/net/netfilter/
Dnf_conntrack_pptp.c307 if (info->cstate != PPTP_CALL_OUT_REQ && in pptp_inbound_pkt()
308 info->cstate != PPTP_CALL_OUT_CONF) in pptp_inbound_pkt()
319 info->cstate = PPTP_CALL_OUT_CONF; in pptp_inbound_pkt()
323 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt()
333 info->cstate = PPTP_CALL_IN_REQ; in pptp_inbound_pkt()
341 if (info->cstate != PPTP_CALL_IN_REP && in pptp_inbound_pkt()
342 info->cstate != PPTP_CALL_IN_CONF) in pptp_inbound_pkt()
352 info->cstate = PPTP_CALL_IN_CONF; in pptp_inbound_pkt()
362 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt()
389 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, in pptp_inbound_pkt()
[all …]
/linux-4.1.27/crypto/
Dmcryptd.c50 void mcryptd_arm_flusher(struct mcryptd_alg_cstate *cstate, unsigned long delay) in mcryptd_arm_flusher() argument
54 if (!cstate->flusher_engaged) { in mcryptd_arm_flusher()
58 list_add_tail(&cstate->flush_list, &flist->list); in mcryptd_arm_flusher()
59 cstate->flusher_engaged = true; in mcryptd_arm_flusher()
60 cstate->next_flush = jiffies + delay; in mcryptd_arm_flusher()
62 &cstate->flush, delay); in mcryptd_arm_flusher()
126 struct mcryptd_alg_cstate *cstate; in mcryptd_opportunistic_flush() local
135 cstate = list_entry(flist->list.next, in mcryptd_opportunistic_flush()
137 if (!cstate->flusher_engaged) { in mcryptd_opportunistic_flush()
141 list_del(&cstate->flush_list); in mcryptd_opportunistic_flush()
[all …]
/linux-4.1.27/drivers/idle/
Dintel_idle.c665 unsigned int cstate; in intel_idle() local
668 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) + 1; in intel_idle()
677 if (!(lapic_timer_reliable_states & (1 << (cstate)))) in intel_idle()
682 if (!(lapic_timer_reliable_states & (1 << (cstate)))) in intel_idle()
958 int cstate; in intel_idle_cpuidle_driver_init() local
965 for (cstate = 0; cstate < CPUIDLE_STATE_MAX; ++cstate) { in intel_idle_cpuidle_driver_init()
968 if (cpuidle_state_table[cstate].enter == NULL) in intel_idle_cpuidle_driver_init()
971 if (cstate + 1 > max_cstate) { in intel_idle_cpuidle_driver_init()
977 mwait_hint = flg2MWAIT(cpuidle_state_table[cstate].flags); in intel_idle_cpuidle_driver_init()
994 cpuidle_state_table[cstate]; in intel_idle_cpuidle_driver_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c75 struct nvkm_cstate *cstate; in nvkm_control_mthd_pstate_attr() local
112 list_for_each_entry(cstate, &pstate->list, head) { in nvkm_control_mthd_pstate_attr()
113 lo = min(lo, cstate->domain[domain->name]); in nvkm_control_mthd_pstate_attr()
114 hi = max(hi, cstate->domain[domain->name]); in nvkm_control_mthd_pstate_attr()
/linux-4.1.27/drivers/net/slip/
Dslhc.c95 register struct cstate *ts; in slhc_init()
106 size_t rsize = rslots * sizeof(struct cstate); in slhc_init()
114 size_t tsize = tslots * sizeof(struct cstate); in slhc_init()
230 register struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); in slhc_compress()
231 register struct cstate *lcs = ocs; in slhc_compress()
232 register struct cstate *cs = lcs->next; in slhc_compress()
493 register struct cstate *cs; in slhc_uncompress()
636 register struct cstate *cs; in slhc_remember()
/linux-4.1.27/include/crypto/
Dmcryptd.h95 unsigned long (*flusher)(struct mcryptd_alg_cstate *cstate);
110 void mcryptd_arm_flusher(struct mcryptd_alg_cstate *cstate, unsigned long delay);
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dbase.c116 if (priv->cstate) in nvkm_therm_update()
117 duty = priv->cstate; in nvkm_therm_update()
143 if (!dir || (dir < 0 && fan < priv->cstate) || in nvkm_therm_cstate()
144 (dir > 0 && fan > priv->cstate)) { in nvkm_therm_cstate()
146 priv->cstate = fan; in nvkm_therm_cstate()
Dpriv.h77 int cstate; member
/linux-4.1.27/arch/x86/kernel/acpi/
DMakefile6 obj-y += cstate.o
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h32 typedef struct cstate { struct
Damd_fam14h_idle.c97 static int amd_fam14h_get_pci_info(struct cstate *state, in amd_fam14h_get_pci_info()
/linux-4.1.27/include/acpi/
Dprocessor.h253 void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cstate);
270 *cstate) in acpi_processor_ffh_cstate_enter()
/linux-4.1.27/lib/
Ddecompress_unlzma.c287 struct cstate { struct
348 struct cstate *cst, uint16_t *p, in process_bit0()
392 struct cstate *cst, uint16_t *p, in process_bit1()
554 struct cstate cst; in unlzma()
/linux-4.1.27/include/linux/netfilter/
Dnf_conntrack_pptp.h33 enum pptp_ctrlcall_state cstate; /* call state */ member
/linux-4.1.27/drivers/block/drbd/
Ddrbd_nl.c448 if (connection->cstate >= C_WF_REPORT_PARAMS) { in conn_try_outdate_peer()
521 if (connection->cstate < C_WF_REPORT_PARAMS && !test_bit(STATE_SENT, &connection->flags)) { in conn_try_outdate_peer()
1155 (connection->cstate < C_CONNECTED || connection->agreed_features & FF_TRIM)) { in drbd_setup_queue_param()
1241 connection->cstate == C_STANDALONE; in conn_reconfig_done()
2006 …if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 1… in _check_net_options()
2212 if (connection->cstate >= C_WF_REPORT_PARAMS && connection->agreed_pro_version >= 100) in drbd_adm_net_opts()
2224 if (connection->cstate >= C_WF_REPORT_PARAMS) { in drbd_adm_net_opts()
2297 if (connection->cstate > C_STANDALONE) { in drbd_adm_connect()
3538 if (connection->cstate > C_STANDALONE) in adm_del_resource()
Ddrbd_state.c1644 .conn = connection->cstate, in conn_old_common_state()
1745 if (connection->cstate != C_WF_REPORT_PARAMS && val.conn == C_WF_REPORT_PARAMS) in conn_set_state()
1748 connection->cstate = val.conn; in conn_set_state()
1811 if (err == SS_SUCCESS && connection->cstate == C_WF_REPORT_PARAMS) in _conn_rq_cond()
1823 enum drbd_conns oc = connection->cstate; in _conn_request_state()
Ddrbd_receiver.c510 t = wait_event_timeout(connection->ping_wait, connection->cstate < C_WF_REPORT_PARAMS, t); in drbd_recv()
990 if (connection->cstate <= C_DISCONNECTING) in conn_connect()
1096 if (rv < SS_SUCCESS || connection->cstate != C_WF_REPORT_PARAMS) { in conn_connect()
4653 if (connection->cstate == C_STANDALONE) in conn_disconnect()
4690 oc = connection->cstate; in conn_disconnect()
5576 connection->cstate < C_WF_REPORT_PARAMS, in drbd_asender()
Ddrbd_main.c1295 if (connection->cstate < C_WF_REPORT_PARAMS) in drbd_send_b_ack()
1440 || connection->cstate < C_WF_REPORT_PARAMS; in we_should_drop_the_connection()
2642 connection->cstate = C_STANDALONE; in conn_create()
2834 device->state.conn = first_connection(resource)->cstate; in drbd_create_device()
Ddrbd_worker.c2122 if (w->cb(w, connection->cstate < C_WF_REPORT_PARAMS) == 0) in drbd_worker()
2124 if (connection->cstate >= C_WF_REPORT_PARAMS) in drbd_worker()
Ddrbd_int.h717 enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */ member
/linux-4.1.27/drivers/acpi/
Dprocessor_idle.c191 struct acpi_processor_cx *cstate) { } in lapic_timer_check_state() argument
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c2010 enum mcam_state cstate = cam->state; in mccic_suspend() local
2014 cam->state = cstate; in mccic_suspend()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dwifi.h2494 u32 cstate; member