/linux-6.12.1/net/mac80211/ |
D | sta_info.c | 69 struct ieee80211_link_sta sta; member 92 struct sta_info *sta) in sta_info_hash_del() argument 94 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del() 116 void ieee80211_purge_sta_txqs(struct sta_info *sta) in ieee80211_purge_sta_txqs() argument 118 struct ieee80211_local *local = sta->sdata->local; in ieee80211_purge_sta_txqs() 121 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in ieee80211_purge_sta_txqs() 124 if (!sta->sta.txq[i]) in ieee80211_purge_sta_txqs() 127 txqi = to_txq_info(sta->sta.txq[i]); in ieee80211_purge_sta_txqs() 133 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument 137 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta() [all …]
|
D | mesh_plink.c | 59 struct sta_info *sta) in rssi_threshold_check() argument 63 (sta && in rssi_threshold_check() 64 (s8)-ewma_signal_read(&sta->deflink.rx_stats_avg.signal) > in rssi_threshold_check() 75 static inline void mesh_plink_fsm_restart(struct sta_info *sta) in mesh_plink_fsm_restart() argument 77 lockdep_assert_held(&sta->mesh->plink_lock); in mesh_plink_fsm_restart() 78 sta->mesh->plink_state = NL80211_PLINK_LISTEN; in mesh_plink_fsm_restart() 79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart() 80 sta->mesh->plink_retries = 0; in mesh_plink_fsm_restart() 97 struct sta_info *sta; in mesh_set_short_slot_time() local 123 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_short_slot_time() [all …]
|
D | mesh_ps.c | 21 static struct sk_buff *mps_qos_null_get(struct sta_info *sta) in mps_qos_null_get() argument 23 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get() 37 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 43 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 45 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get() 54 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx() argument 58 skb = mps_qos_null_get(sta); in mps_qos_null_tx() 62 mps_dbg(sta->sdata, "announcing peer-specific power mode to %pM\n", in mps_qos_null_tx() 63 sta->sta.addr); in mps_qos_null_tx() 66 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in mps_qos_null_tx() [all …]
|
D | agg-tx.c | 129 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 132 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_assign_tid_tx() 133 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx() 134 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 177 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument 179 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq() 198 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) in ieee80211_agg_start_txq() argument 200 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_start_txq() 203 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_agg_start_txq() 218 schedule_and_wake_txq(sta->sdata->local, txqi); in ieee80211_agg_start_txq() [all …]
|
D | agg-rx.c | 58 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument 61 struct ieee80211_local *local = sta->local; in __ieee80211_stop_rx_ba_session() 64 .sta = &sta->sta, in __ieee80211_stop_rx_ba_session() 72 lockdep_assert_wiphy(sta->local->hw.wiphy); in __ieee80211_stop_rx_ba_session() 74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in __ieee80211_stop_rx_ba_session() 75 lockdep_is_held(&sta->local->hw.wiphy->mtx)); in __ieee80211_stop_rx_ba_session() 77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in __ieee80211_stop_rx_ba_session() 80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in __ieee80211_stop_rx_ba_session() 81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in __ieee80211_stop_rx_ba_session() 83 ht_dbg(sta->sdata, in __ieee80211_stop_rx_ba_session() [all …]
|
D | tdls.c | 309 struct sta_info *sta) in ieee80211_tdls_chandef_vht_upgrade() argument 313 struct cfg80211_chan_def uc = sta->tdls_chandef; in ieee80211_tdls_chandef_vht_upgrade() 315 ieee80211_sta_cap_chan_bw(&sta->deflink); in ieee80211_tdls_chandef_vht_upgrade() 347 (uc.width > sta->tdls_chandef.width && in ieee80211_tdls_chandef_vht_upgrade() 352 if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { in ieee80211_tdls_chandef_vht_upgrade() 354 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade() 360 sta->tdls_chandef = uc; in ieee80211_tdls_chandef_vht_upgrade() 377 struct sta_info *sta = NULL; in ieee80211_tdls_add_setup_start_ies() local 437 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_start_ies() 438 if (WARN_ON_ONCE(!sta)) in ieee80211_tdls_add_setup_start_ies() [all …]
|
D | rate.h | 26 struct sta_info *sta, 32 void rate_control_rate_init(struct sta_info *sta); 35 struct sta_info *sta, 40 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta() argument 42 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta() 43 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta() 46 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument 48 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() 49 struct ieee80211_sta *ista = &sta->sta; in rate_control_free_sta() 50 void *priv_sta = sta->rate_ctrl_priv; in rate_control_free_sta() [all …]
|
D | mesh_sync.c | 90 struct sta_info *sta; in mesh_sync_offset_rx_bcn_presp() local 112 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp() 113 if (!sta) in mesh_sync_offset_rx_bcn_presp() 124 sta->sta.addr); in mesh_sync_offset_rx_bcn_presp() 130 sta->mesh->t_offset = t_t - t_r; in mesh_sync_offset_rx_bcn_presp() 132 if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) { in mesh_sync_offset_rx_bcn_presp() 133 s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset; in mesh_sync_offset_rx_bcn_presp() 136 sta->sta.addr, (long long) sta->mesh->t_offset, in mesh_sync_offset_rx_bcn_presp() 137 (long long) sta->mesh->t_offset_setpoint, in mesh_sync_offset_rx_bcn_presp() 144 sta->sta.addr, in mesh_sync_offset_rx_bcn_presp() [all …]
|
D | rate.c | 31 void rate_control_rate_init(struct sta_info *sta) in rate_control_rate_init() argument 33 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init() 34 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() 35 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init() 36 void *priv_sta = sta->rate_ctrl_priv; in rate_control_rate_init() 40 ieee80211_sta_init_nss(&sta->deflink); in rate_control_rate_init() 47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init() 57 ieee80211_s1g_sta_rate_init(sta); in rate_control_rate_init() 62 spin_lock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init() 65 spin_unlock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init() [all …]
|
D | sta_info.h | 149 struct sta_info *sta, u8 ac, 189 struct sta_info *sta; member 244 struct sta_info *sta; member 527 struct sta_info *sta; member 727 struct ieee80211_sta sta; member 730 static inline int ieee80211_tdls_sta_link_id(struct sta_info *sta) in ieee80211_tdls_sta_link_id() argument 733 return sta->sta.valid_links ? __ffs(sta->sta.valid_links) : 0; in ieee80211_tdls_sta_link_id() 736 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument 739 return sta->mesh->plink_state; in sta_plink_state() 744 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument [all …]
|
D | ocb.c | 47 struct sta_info *sta; in ieee80211_ocb_rx_no_sta() local 70 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta() 71 if (!sta) in ieee80211_ocb_rx_no_sta() 76 sta->sta.deflink.supp_rates[band] = ieee80211_mandatory_rates(sband); in ieee80211_ocb_rx_no_sta() 79 list_add(&sta->list, &ifocb->incomplete_stations); in ieee80211_ocb_rx_no_sta() 84 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta) in ieee80211_ocb_finish_sta() argument 87 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta() 90 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta() 95 sta_info_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ocb_finish_sta() 96 sta_info_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ocb_finish_sta() [all …]
|
D | tx.c | 310 if (tx->sta) in ieee80211_tx_h_check_assoc() 311 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc() 345 struct sta_info *sta; in purge_old_ps_buffers() local 369 list_for_each_entry_rcu(sta, &local->sta_list, list) { in purge_old_ps_buffers() 373 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 374 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 452 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_use_mfp() argument 458 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_use_mfp() 470 struct sta_info *sta = tx->sta; in ieee80211_tx_h_unicast_ps_buf() local 475 if (unlikely(!sta)) in ieee80211_tx_h_unicast_ps_buf() [all …]
|
D | status.c | 45 struct sta_info *sta, in ieee80211_handle_filtered_frame() argument 70 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame() 75 sta->deflink.status_stats.filtered++; in ieee80211_handle_filtered_frame() 108 set_sta_flag(sta, WLAN_STA_CLEAR_PS_FILT); in ieee80211_handle_filtered_frame() 109 ieee80211_clear_fast_xmit(sta); in ieee80211_handle_filtered_frame() 145 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame() 146 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame() 147 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame() 148 sta_info_recalc_tim(sta); in ieee80211_handle_filtered_frame() 157 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame() [all …]
|
D | ht.c | 144 struct sta_info *sta = link_sta->sta; in ieee80211_ht_cap_ie_to_sta_ht_cap() local 248 ieee80211_sta_recalc_aggregates(&sta->sta); in ieee80211_ht_cap_ie_to_sta_ht_cap() 287 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_ht_cap_ie_to_sta_ht_cap() 288 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_ht_cap_ie_to_sta_ht_cap() 315 void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, in ieee80211_sta_tear_down_BA_sessions() argument 320 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_sta_tear_down_BA_sessions() 323 __ieee80211_stop_rx_ba_session(sta, i, WLAN_BACK_RECIPIENT, in ieee80211_sta_tear_down_BA_sessions() 329 __ieee80211_stop_tx_ba_session(sta, i, reason); in ieee80211_sta_tear_down_BA_sessions() 337 wiphy_work_cancel(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in ieee80211_sta_tear_down_BA_sessions() 341 rcu_dereference_protected_tid_tx(sta, i); in ieee80211_sta_tear_down_BA_sessions() [all …]
|
D | s1g.c | 12 void ieee80211_s1g_sta_rate_init(struct sta_info *sta) in ieee80211_s1g_sta_rate_init() argument 15 sta->deflink.tx_stats.last_rate.flags |= IEEE80211_TX_RC_S1G_MCS; in ieee80211_s1g_sta_rate_init() 16 sta->deflink.rx_stats.last_rate = in ieee80211_s1g_sta_rate_init() 98 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_setup() argument 119 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup() 126 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_teardown() argument 130 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, in ieee80211_s1g_rx_twt_teardown() 136 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_tx_twt_setup_fail() argument 144 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, flowid); in ieee80211_s1g_tx_twt_setup_fail() 155 struct sta_info *sta; in ieee80211_s1g_rx_twt_action() local [all …]
|
/linux-6.12.1/arch/sparc/mm/ |
D | swift.S | 34 sta %g0, [%o0] ASI_M_DATAC_TAG 36 sta %g0, [%o1] ASI_M_TXTC_TAG 48 sta %g0, [%o0] ASI_M_TXTC_TAG 50 sta %g0, [%o0] ASI_M_DATAC_TAG 67 sta %g2, [%g7] ASI_M_MMUREGS 72 sta %g0, [%o0] ASI_M_FLUSH_CTX 85 1: sta %g0, [%o0 ] ASI_M_FLUSH_CTX 86 sta %g0, [%o0 + %o1] ASI_M_FLUSH_CTX 87 sta %g0, [%o0 + %o2] ASI_M_FLUSH_CTX 88 sta %g0, [%o0 + %o3] ASI_M_FLUSH_CTX [all …]
|
D | hypersparc.S | 36 sta %g0, [%g5] ASI_M_FLUSH_CTX 38 sta %g0, [%g0] ASI_M_FLUSH_IWHOLE ! hyper_flush_whole_icache 64 sta %g0, [%o0 + %g0] ASI_M_FLUSH_USER 65 sta %g0, [%o0 + %o1] ASI_M_FLUSH_USER 66 sta %g0, [%o0 + %g1] ASI_M_FLUSH_USER 67 sta %g0, [%o0 + %g2] ASI_M_FLUSH_USER 68 sta %g0, [%o0 + %g3] ASI_M_FLUSH_USER 69 sta %g0, [%o0 + %g4] ASI_M_FLUSH_USER 70 sta %g0, [%o0 + %g5] ASI_M_FLUSH_USER 72 sta %g0, [%o0 + %o4] ASI_M_FLUSH_USER [all …]
|
/linux-6.12.1/drivers/staging/rtl8723bs/include/ |
D | sta_info.h | 220 #define sta_rx_pkts(sta) \ argument 221 (sta->sta_stats.rx_mgnt_pkts \ 222 + sta->sta_stats.rx_ctrl_pkts \ 223 + sta->sta_stats.rx_data_pkts) 225 #define sta_rx_data_pkts(sta) \ argument 226 (sta->sta_stats.rx_data_pkts) 228 #define sta_last_rx_data_pkts(sta) \ argument 229 (sta->sta_stats.last_rx_data_pkts) 231 #define sta_rx_beacon_pkts(sta) \ argument 232 (sta->sta_stats.rx_beacon_pkts) [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/ |
D | rc.c | 16 struct ieee80211_sta *sta, in _rtl_rc_get_highest_rix() argument 49 if (sta) { in _rtl_rc_get_highest_rix() 50 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in _rtl_rc_get_highest_rix() 69 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix() 91 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix() 112 struct ieee80211_sta *sta, in _rtl_rc_rate_set_series() argument 123 if (sta) { in _rtl_rc_rate_set_series() 124 sgi_20 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_rc_rate_set_series() 125 sgi_40 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_rc_rate_set_series() 126 sgi_80 = sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series() [all …]
|
/linux-6.12.1/net/mac80211/tests/ |
D | mfp.c | 16 bool sta, mfp, decrypted, unicast, assoc; member 45 .sta = true, 54 .sta = true, 63 .sta = true, 73 .sta = true, 100 .sta = true, 109 .sta = true, 118 .sta = true, 128 .sta = true, 139 .sta = true, [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tdls.c | 18 struct ieee80211_sta *sta; in iwl_mvm_teardown_tdls_peers() local 25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers() 27 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers() 30 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers() 31 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 40 struct ieee80211_sta *sta; in iwl_mvm_tdls_sta_count() local 48 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_sta_count() 50 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_tdls_sta_count() 54 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 76 struct ieee80211_sta *sta; in iwl_mvm_tdls_config() local [all …]
|
D | mld-sta.c | 9 u32 iwl_mvm_sta_fw_id_mask(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_fw_id_mask() argument 18 if (!sta) in iwl_mvm_sta_fw_id_mask() 21 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_fw_id_mask() 25 if (!sta->valid_links) in iwl_mvm_sta_fw_id_mask() 29 for_each_sta_active_link(vif, sta, link_sta, link_id) { in iwl_mvm_sta_fw_id_mask() 63 struct iwl_mvm_int_sta *sta, in iwl_mvm_mld_add_int_sta_to_fw() argument 71 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw() 75 cmd.station_type = cpu_to_le32(sta->type); in iwl_mvm_mld_add_int_sta_to_fw() 79 sta->type == STATION_TYPE_BCAST_MGMT) in iwl_mvm_mld_add_int_sta_to_fw() 119 struct iwl_mvm_int_sta *sta, in iwl_mvm_add_aux_sta_to_fw() argument [all …]
|
D | sta.h | 462 iwl_mvm_sta_from_mac80211(struct ieee80211_sta *sta) in iwl_mvm_sta_from_mac80211() argument 464 return (void *)sta->drv_priv; in iwl_mvm_sta_from_mac80211() 490 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 494 struct ieee80211_sta *sta, int sta_id, u8 sta_type); 497 struct ieee80211_sta *sta); 501 struct ieee80211_sta *sta) in iwl_mvm_update_sta() argument 503 return iwl_mvm_sta_send_to_fw(mvm, sta, true, 0); in iwl_mvm_update_sta() 507 struct ieee80211_sta *sta); 511 struct ieee80211_sta *sta, 515 struct ieee80211_sta *sta); [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | sta.c | 28 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 34 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 38 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 83 struct iwl_addsta_cmd *sta, u8 flags) in iwl_send_add_sta() argument 89 .data = { sta, }, in iwl_send_add_sta() 90 .len = { sizeof(*sta), }, in iwl_send_add_sta() 92 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta() 97 sta_id, sta->sta.addr, flags & CMD_ASYNC ? "a" : ""); in iwl_send_add_sta() 128 struct ieee80211_sta *sta) in iwl_is_ht40_tx_allowed() argument 139 if (!sta) in iwl_is_ht40_tx_allowed() [all …]
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vcpu_sbi_sta.c | 21 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_riscv_vcpu_sbi_sta_reset() 22 vcpu->arch.sta.last_steal = 0; in kvm_riscv_vcpu_sbi_sta_reset() 27 gpa_t shmem = vcpu->arch.sta.shmem; in kvm_riscv_vcpu_record_steal_time() 28 u64 last_steal = vcpu->arch.sta.last_steal; in kvm_riscv_vcpu_record_steal_time() 50 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_riscv_vcpu_record_steal_time() 70 vcpu->arch.sta.last_steal = READ_ONCE(current->sched_info.run_delay); in kvm_riscv_vcpu_record_steal_time() 71 steal += vcpu->arch.sta.last_steal - last_steal; in kvm_riscv_vcpu_record_steal_time() 98 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_sbi_sta_steal_time_set_shmem() 122 vcpu->arch.sta.shmem = shmem; in kvm_sbi_sta_steal_time_set_shmem() 123 vcpu->arch.sta.last_steal = current->sched_info.run_delay; in kvm_sbi_sta_steal_time_set_shmem() [all …]
|