Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dhal_bt_coexist.c25 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
29 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
32 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
36 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
39 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
42 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state()
43 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
45 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
51 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
53 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
[all …]
H A Dhal_btc.c25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
117 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr()
122 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723e_dm_bt_need_to_dec_bt_pwr()
131 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state()
346 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_is_2_ant_common_action()
1366 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_inq_page_monitor()
1384 rtlpriv->btcoexist.cstate &= in rtl8723e_dm_bt_inq_page_monitor()
1394 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1398 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1434 rtlpriv->btcoexist.cstate | in _rtl8723e_dm_bt_coexist_2_ant()
[all...]
/linux/fs/nfsd/
H A Dnfs4proc.c139 check_attr_support(struct nfsd4_compound_state *cstate, u32 *bmval, in is_create_with_attrs()
142 struct dentry *dentry = cstate->current_fh.fh_dentry;
143 struct svc_export *exp = cstate->current_fh.fh_export; in fh_dup2()
145 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in fh_dup2()
165 nfsd4_check_open_attributes(struct nfsd4_compound_state *cstate, in do_open_permission()
176 status = check_attr_support(cstate, open->op_bmval, in nfsd_check_obj_isreg()
180 status = check_attr_support(cstate, open->op_bmval, in nfsd_check_obj_isreg()
239 static void nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) in nfsd4_vfs_create()
241 if (nfsd4_has_session(cstate))
548 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struc in do_open_fhandle()
85 check_attr_support(struct nfsd4_compound_state * cstate,u32 * bmval,u32 * writable) check_attr_support() argument
111 nfsd4_check_open_attributes(struct nfsd4_compound_state * cstate,struct nfsd4_open * open) nfsd4_check_open_attributes() argument
191 nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state * cstate,struct nfsd4_open * open,struct svc_fh * resfh) nfsd4_set_open_owner_reply_cache() argument
456 do_open_lookup(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_open * open,struct svc_fh ** resfh) do_open_lookup() argument
523 do_open_fhandle(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_open * open) do_open_fhandle() argument
564 nfsd4_open(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_open() argument
694 nfsd4_open_omfg(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_op * op) nfsd4_open_omfg() argument
717 nfsd4_getfh(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_getfh() argument
725 nfsd4_putfh(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_putfh() argument
746 nfsd4_putrootfh(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_putrootfh() argument
755 nfsd4_restorefh(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_restorefh() argument
770 nfsd4_savefh(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_savefh() argument
785 nfsd4_access(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_access() argument
805 nfsd4_commit(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_commit() argument
825 nfsd4_create(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_create() argument
952 nfsd4_getattr(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_getattr() argument
976 nfsd4_link(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_link() argument
1007 nfsd4_lookupp(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_lookupp() argument
1014 nfsd4_lookup(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_lookup() argument
1023 nfsd4_read(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_read() argument
1076 nfsd4_readdir(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_readdir() argument
1105 nfsd4_readlink(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_readlink() argument
1114 nfsd4_remove(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_remove() argument
1130 nfsd4_rename(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_rename() argument
1149 nfsd4_secinfo(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_secinfo() argument
1178 nfsd4_secinfo_no_name(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_secinfo_no_name() argument
1244 nfsd4_setattr(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_setattr() argument
1350 nfsd4_write(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_write() argument
1391 nfsd4_verify_copy(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,stateid_t * src_stateid,struct nfsd_file ** src,stateid_t * dst_stateid,struct nfsd_file ** dst) nfsd4_verify_copy() argument
1429 nfsd4_clone(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_clone() argument
1847 nfsd4_setup_inter_ssc(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_copy * copy) nfsd4_setup_inter_ssc() argument
1905 nfsd4_setup_inter_ssc(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_copy * copy) nfsd4_setup_inter_ssc() argument
1927 nfsd4_setup_intra_ssc(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_copy * copy) nfsd4_setup_intra_ssc() argument
2187 nfsd4_copy(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_copy() argument
2348 nfsd4_offload_cancel(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_offload_cancel() argument
2401 nfsd4_copy_notify(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_copy_notify() argument
2449 nfsd4_fallocate(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_fallocate * fallocate,int flags) nfsd4_fallocate() argument
2471 nfsd4_offload_status(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_offload_status() argument
2496 nfsd4_allocate(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_allocate() argument
2503 nfsd4_deallocate(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_deallocate() argument
2511 nfsd4_seek(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_seek() argument
2558 _nfsd4_verify(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_verify * verify) _nfsd4_verify() argument
2621 nfsd4_nverify(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_nverify() argument
2631 nfsd4_verify(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_verify() argument
2648 nfsd4_get_dir_delegation(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_dir_delegation() argument
2726 nfsd4_getdeviceinfo(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_getdeviceinfo() argument
2780 nfsd4_layoutget(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_layoutget() argument
2866 nfsd4_layoutcommit(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_layoutcommit() argument
2938 nfsd4_layoutreturn(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_layoutreturn() argument
2984 nfsd4_getxattr(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_getxattr() argument
2995 nfsd4_setxattr(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_setxattr() argument
3015 nfsd4_listxattrs(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_listxattrs() argument
3027 nfsd4_removexattr(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_removexattr() argument
3195 struct nfsd4_compound_state *cstate = &resp->cstate; nfsd4_proc_compound() local
4189 struct nfsd4_compound_state *cstate = &resp->cstate; nfsd4_spo_must_allow() local
[all...]
H A Dnfs4state.c2258 * Bump the seqid on cstate->replay_owner, and clear replay_owner if it in gen_sessionid()
2261 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr)
2263 struct nfs4_stateowner *so = cstate->replay_owner;
2269 nfsd4_cstate_clear_replay(cstate);
4150 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_store_cache_entry()
4165 if (resp->opcnt == 1 && resp->cstate.status != nfs_ok) in nfsd4_replay_cache_entry()
4170 slot->sl_status = resp->cstate.status; in nfsd4_replay_cache_entry()
4174 if (!(resp->cstate.slot->sl_flags & NFSD4_SLOT_CACHETHIS)) { in nfsd4_replay_cache_entry()
4180 base = resp->cstate.data_offset; in nfsd4_replay_cache_entry()
4197 struct nfsd4_slot *slot = resp->cstate
2231 nfsd4_bump_seqid(struct nfsd4_compound_state * cstate,__be32 nfserr) nfsd4_bump_seqid() argument
4254 nfsd4_exchange_id(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_exchange_id() argument
4584 nfsd4_create_session(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_create_session() argument
4738 nfsd4_backchannel_ctl(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_backchannel_ctl() argument
4801 nfsd4_bind_conn_to_session(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_bind_conn_to_session() argument
4847 nfsd4_compound_in_session(struct nfsd4_compound_state * cstate,struct nfs4_sessionid * sid) nfsd4_compound_in_session() argument
4855 nfsd4_destroy_session(struct svc_rqst * r,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_destroy_session() argument
5016 nfsd4_sequence(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_sequence() argument
5207 nfsd4_destroy_clientid(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_destroy_clientid() argument
5252 nfsd4_reclaim_complete(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_reclaim_complete() argument
5292 nfsd4_setclientid(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_setclientid() argument
5350 nfsd4_setclientid_confirm(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_setclientid_confirm() argument
5585 nfsd4_cstate_assign_replay(struct nfsd4_compound_state * cstate,struct nfs4_stateowner * so) nfsd4_cstate_assign_replay() argument
5599 nfsd4_cstate_clear_replay(struct nfsd4_compound_state * cstate) nfsd4_cstate_clear_replay() argument
5795 find_or_alloc_open_stateowner(unsigned int strhashval,struct nfsd4_open * open,struct nfsd4_compound_state * cstate) find_or_alloc_open_stateowner() argument
6234 nfsd4_check_seqid(struct nfsd4_compound_state * cstate,struct nfs4_stateowner * so,u32 seqid) nfsd4_check_seqid() argument
6259 set_client(clientid_t * clid,struct nfsd4_compound_state * cstate,struct nfsd_net * nn) set_client() argument
6280 nfsd4_process_open1(struct nfsd4_compound_state * cstate,struct nfsd4_open * open,struct nfsd_net * nn) nfsd4_process_open1() argument
7232 nfsd4_cleanup_open_state(struct nfsd4_compound_state * cstate,struct nfsd4_open * open) nfsd4_cleanup_open_state() argument
7246 nfsd4_renew(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_renew() argument
7945 nfsd4_lookup_stateid(struct nfsd4_compound_state * cstate,stateid_t * stateid,unsigned short typemask,unsigned short statusmask,struct nfs4_stid ** s,struct nfsd_net * nn) nfsd4_lookup_stateid() argument
8161 nfs4_preprocess_stateid_op(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct svc_fh * fhp,stateid_t * stateid,int flags,struct nfsd_file ** nfp,struct nfs4_stid ** cstid) nfs4_preprocess_stateid_op() argument
8220 nfsd4_test_stateid(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_test_stateid() argument
8264 nfsd4_free_stateid(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_free_stateid() argument
8327 nfs4_seqid_op_checks(struct nfsd4_compound_state * cstate,stateid_t * stateid,u32 seqid,struct nfs4_ol_stateid * stp) nfs4_seqid_op_checks() argument
8362 nfs4_preprocess_seqid_op(struct nfsd4_compound_state * cstate,u32 seqid,stateid_t * stateid,unsigned short typemask,unsigned short statusmask,struct nfs4_ol_stateid ** stpp,struct nfsd_net * nn) nfs4_preprocess_seqid_op() argument
8394 nfs4_preprocess_confirmed_seqid_op(struct nfsd4_compound_state * cstate,u32 seqid,stateid_t * stateid,struct nfs4_ol_stateid ** stpp,struct nfsd_net * nn) nfs4_preprocess_confirmed_seqid_op() argument
8416 nfsd4_open_confirm(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_open_confirm() argument
8484 nfsd4_open_downgrade(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_open_downgrade() argument
8555 nfsd4_close(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_close() argument
8609 nfsd4_delegreturn(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_delegreturn() argument
8979 lookup_or_create_lock_state(struct nfsd4_compound_state * cstate,struct nfs4_ol_stateid * ost,struct nfsd4_lock * lock,struct nfs4_ol_stateid ** plst,bool * new) lookup_or_create_lock_state() argument
9024 nfsd4_lock(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_lock() argument
9293 nfsd4_lockt(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_lockt() argument
9375 nfsd4_locku(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_locku() argument
9506 nfsd4_release_lockowner(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_release_lockowner() argument
9922 get_stateid(struct nfsd4_compound_state * cstate,stateid_t * stateid) get_stateid() argument
9930 put_stateid(struct nfsd4_compound_state * cstate,stateid_t * stateid) put_stateid() argument
9939 clear_current_stateid(struct nfsd4_compound_state * cstate) clear_current_stateid() argument
9948 nfsd4_set_opendowngradestateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_set_opendowngradestateid() argument
9955 nfsd4_set_openstateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_set_openstateid() argument
9962 nfsd4_set_closestateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_set_closestateid() argument
9969 nfsd4_set_lockstateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_set_lockstateid() argument
9980 nfsd4_get_opendowngradestateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_opendowngradestateid() argument
9987 nfsd4_get_delegreturnstateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_delegreturnstateid() argument
9994 nfsd4_get_freestateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_freestateid() argument
10001 nfsd4_get_setattrstateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_setattrstateid() argument
10008 nfsd4_get_closestateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_closestateid() argument
10015 nfsd4_get_lockustateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_lockustateid() argument
10022 nfsd4_get_readstateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_readstateid() argument
10029 nfsd4_get_writestateid(struct nfsd4_compound_state * cstate,union nfsd4_op_u * u) nfsd4_get_writestateid() argument
10243 nfsd_get_dir_deleg(struct nfsd4_compound_state * cstate,struct nfsd4_get_dir_delegation * gdd,struct nfsd_file * nf) nfsd_get_dir_deleg() argument
[all...]
H A Dnfs4layouts.c225 nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate, in nfsd4_alloc_layout_stateid()
228 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid()
233 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, in nfsd4_alloc_layout_stateid()
291 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfsd4_preprocess_layout_stateid()
302 status = nfsd4_lookup_stateid(cstate, stateid, typemask, 0, &stid, in nfsd4_preprocess_layout_stateid()
307 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
314 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid()
516 struct nfsd4_compound_state *cstate, in nfsd4_return_file_layouts()
525 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
559 struct nfsd4_compound_state *cstate, in nfsd4_return_client_layouts()
222 nfsd4_alloc_layout_stateid(struct nfsd4_compound_state * cstate,struct nfs4_stid * parent,u32 layout_type) nfsd4_alloc_layout_stateid() argument
288 nfsd4_preprocess_layout_stateid(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,stateid_t * stateid,bool create,u32 layout_type,struct nfs4_layout_stateid ** lsp) nfsd4_preprocess_layout_stateid() argument
513 nfsd4_return_file_layouts(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_layoutreturn * lrp) nfsd4_return_file_layouts() argument
556 nfsd4_return_client_layouts(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_layoutreturn * lrp) nfsd4_return_client_layouts() argument
[all...]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c79 nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, in nvkm_cstate_valid() argument
88 u32 freq = cstate->domain[domain->name]; in nvkm_cstate_valid()
105 voltage = nvkm_volt_map(volt, cstate->voltage, temp); in nvkm_cstate_valid()
113 struct nvkm_cstate *cstate) in nvkm_cstate_find_best() argument
119 if (!pstate || !cstate) in nvkm_cstate_find_best()
123 return cstate; in nvkm_cstate_find_best()
136 list_for_each_entry_from_reverse(cstate, &pstate->list, head) { in nvkm_cstate_find_best()
137 if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp)) in nvkm_cstate_find_best()
138 return cstate; in nvkm_cstate_find_best()
147 struct nvkm_cstate *cstate; in nvkm_cstate_get() local
[all …]
H A Dgf100.c274 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument
277 u32 freq = cstate->domain[dom]; in calc_clk()
294 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk()
325 gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gf100_clk_calc() argument
330 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || in gf100_clk_calc()
331 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || in gf100_clk_calc()
332 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || in gf100_clk_calc()
333 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || in gf100_clk_calc()
334 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || in gf100_clk_calc()
335 (ret = calc_clk(clk, cstate, 0x09, nv_clk_src_copy)) || in gf100_clk_calc()
[all …]
H A Dgt215.c274 calc_clk(struct gt215_clk *clk, struct nvkm_cstate *cstate, in calc_clk() argument
277 int ret = gt215_pll_info(&clk->base, idx, pll, cstate->domain[dom], in calc_clk()
285 calc_host(struct gt215_clk *clk, struct nvkm_cstate *cstate) in calc_host() argument
288 u32 kHz = cstate->domain[nv_clk_src_host]; in calc_host()
459 gt215_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gt215_clk_calc() argument
465 if ((ret = calc_clk(clk, cstate, 0x10, 0x4200, nv_clk_src_core)) || in gt215_clk_calc()
466 (ret = calc_clk(clk, cstate, 0x11, 0x4220, nv_clk_src_shader)) || in gt215_clk_calc()
467 (ret = calc_clk(clk, cstate, 0x20, 0x0000, nv_clk_src_disp)) || in gt215_clk_calc()
468 (ret = calc_clk(clk, cstate, 0x21, 0x0000, nv_clk_src_vdec)) || in gt215_clk_calc()
469 (ret = calc_host(clk, cstate))) in gt215_clk_calc()
[all …]
H A Dgk104.c288 struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument
291 u32 freq = cstate->domain[dom]; in calc_clk()
308 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk()
339 gk104_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gk104_clk_calc() argument
344 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || in gk104_clk_calc()
345 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || in gk104_clk_calc()
346 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || in gk104_clk_calc()
347 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || in gk104_clk_calc()
348 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || in gk104_clk_calc()
349 (ret = calc_clk(clk, cstate, 0x0c, nv_clk_src_pmu)) || in gk104_clk_calc()
[all …]
H A Dnv40.c146 nv40_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in nv40_clk_calc() argument
149 int gclk = cstate->domain[nv_clk_src_core]; in nv40_clk_calc()
150 int sclk = cstate->domain[nv_clk_src_shader]; in nv40_clk_calc()
H A Dnv50.c369 nv50_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in nv50_clk_calc() argument
375 const int shader = cstate->domain[nv_clk_src_shader]; in nv50_clk_calc()
376 const int core = cstate->domain[nv_clk_src_core]; in nv50_clk_calc()
377 const int vdec = cstate->domain[nv_clk_src_vdec]; in nv50_clk_calc()
378 const int dom6 = cstate->domain[nv_clk_src_dom6]; in nv50_clk_calc()
H A Dmcp77.c200 mcp77_clk_calc(struct nvkm_clk *base, 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()
H A Dgp10b.c50 gp10b_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gp10b_clk_calc() argument
53 u32 target_rate = cstate->domain[nv_clk_src_gpc] * GK20A_CLK_GPC_MDIV; in gp10b_clk_calc()
/linux/tools/power/cpupower/utils/
H A Dcpuidle-info.c102 unsigned int cstate, cstates; in proc_cpuidle_cpu_output() local
114 for (cstate = 0; cstate < cstates; cstate++) { in proc_cpuidle_cpu_output()
116 "type[C%d] "), cstate, cstate); in proc_cpuidle_cpu_output()
119 cpuidle_state_latency(cpu, cstate)); in proc_cpuidle_cpu_output()
121 cpuidle_state_residency(cpu, cstate)); in proc_cpuidle_cpu_output()
123 cpuidle_state_usage(cpu, cstate)); in proc_cpuidle_cpu_output()
125 cpuidle_state_time(cpu, cstate)); in proc_cpuidle_cpu_output()
[all...]
/linux/net/netfilter/
H A Dnf_conntrack_pptp.c232 if (info->cstate != PPTP_CALL_OUT_REQ && in pptp_inbound_pkt()
233 info->cstate != PPTP_CALL_OUT_CONF) in pptp_inbound_pkt()
244 info->cstate = PPTP_CALL_OUT_CONF; in pptp_inbound_pkt()
248 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt()
258 info->cstate = PPTP_CALL_IN_REQ; in pptp_inbound_pkt()
266 if (info->cstate != PPTP_CALL_IN_REP && in pptp_inbound_pkt()
267 info->cstate != PPTP_CALL_IN_CONF) in pptp_inbound_pkt()
277 info->cstate = PPTP_CALL_IN_CONF; in pptp_inbound_pkt()
287 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt()
313 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, in pptp_inbound_pkt()
[all …]
/linux/samples/bpf/
H A Dcpustat_kern.c106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local
121 cstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1()
122 if (!cstate) in bpf_prog1()
135 prev_state = *cstate; in bpf_prog1()
136 *cstate = ctx->state; in bpf_prog1()
214 u64 *pts, *cstate, *pstate, cur_ts, delta; in bpf_prog2() local
231 cstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog2()
232 if (!cstate) in bpf_prog2()
247 if (*cstate != (u32)(-1)) in bpf_prog2()
H A Dcpustat_user.c33 unsigned long cstate[MAX_CSTATE_ENTRIES]; member
69 printf("%-11lu ", data->cstate[i] / 1000000); in cpu_stat_print()
87 stat_data[c].cstate[i] = value; in cpu_stat_update()
/linux/include/net/
H A Dslhc_vj.h128 struct cstate { struct
131 struct cstate *next; /* next in ring (xmit) */ argument
138 #define NULLSLSTATE (struct cstate *)0 argument
144 struct cstate *tstate; /* transmit connection states (array)*/
145 struct cstate *rstate; /* receive connection states (array)*/
/linux/arch/x86/events/intel/
H A DMakefile7 obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o
8 intel-cstate-objs := cstate.o
/linux/mm/kmsan/
H A Dinstrumentation.c144 *shadow = *(u64 *)(ctx->cstate.param_tls); in get_param0_metadata()
145 *origin = ctx->cstate.param_origin_tls[0]; in get_param0_metadata()
152 *(u64 *)(ctx->cstate.retval_tls) = shadow; in set_retval_metadata()
153 ctx->cstate.retval_origin_tls = origin; in set_retval_metadata()
328 return &kmsan_get_context()->cstate; in __msan_get_context_state()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dctrl.c76 struct nvkm_cstate *cstate; in nvkm_control_mthd_pstate_attr() local
119 list_for_each_entry(cstate, &pstate->list, head) { in nvkm_control_mthd_pstate_attr()
120 lo = min(lo, cstate->domain[domain->name]); in nvkm_control_mthd_pstate_attr()
121 hi = max(hi, cstate->domain[domain->name]); in nvkm_control_mthd_pstate_attr()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dbase.c137 if (therm->cstate) { in nvkm_therm_update()
138 duty = therm->cstate; in nvkm_therm_update()
167 if (!dir || (dir < 0 && fan < therm->cstate) || in nvkm_therm_cstate()
168 (dir > 0 && fan > therm->cstate)) { in nvkm_therm_cstate()
170 therm->cstate = fan; in nvkm_therm_cstate()
/linux/drivers/pwm/
H A Dpwm-sprd.c167 struct pwm_state *cstate = &pwm->state; in sprd_pwm_apply() local
174 if (!cstate->enabled) { in sprd_pwm_apply()
195 } else if (cstate->enabled) { in sprd_pwm_apply()
/linux/arch/x86/events/
H A DKconfig21 tristate "Intel cstate performance events"
25 Include support for Intel cstate performance events for power
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_encoder.c206 struct drm_crtc_state *cstate = encoder->crtc->state; in mdp5_encoder_enable() local
208 mdp5_encoder_mode_set(encoder, &cstate->mode, &cstate->adjusted_mode); in mdp5_encoder_enable()

123