Home
last modified time | relevance | path

Searched refs:num_peers (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/wireguard/
H A Dpeer.c30 if (wg->num_peers >= MAX_PEERS_PER_DEVICE) in wg_peer_create()
62 ++wg->num_peers; in wg_peer_create()
148 --peer->device->num_peers; in peer_remove_after_dead()
H A Ddevice.h54 unsigned int num_peers, device_update_gen; member
/linux/drivers/net/wireless/ath/ath12k/
H A Dpeer.c54 ar->num_peers--; in ath12k_peer_cleanup()
125 ar->num_peers--; in ath12k_peer_delete()
154 if (ar->num_peers > (ar->max_num_peers - 1)) { in ath12k_peer_create()
240 ar->num_peers++; in ath12k_peer_create()
339 ar->num_peers--; in ath12k_peer_mlo_link_peers_delete()
H A Dmac.c1254 ar->num_peers = 0; in ath12k_mac_peer_cleanup_all()
6883 ar->num_peers--; in ath12k_mac_station_post_remove()
9645 ar->num_peers = 0; in ath12k_mac_start()
10447 ar->num_peers--; in ath12k_mac_vdev_create()
10624 ar->num_peers > (ar->max_num_peers - 1)) { in ath12k_mac_assign_vif_to_vdev()
H A Dwmi.c3998 wmi_cfg->num_peers = cpu_to_le32(tg_cfg->num_peers); in ath12k_wmi_copy_resource_config()
/linux/drivers/net/wireless/ath/ath11k/
H A Dpeer.c259 ar->num_peers--; in ath11k_peer_cleanup()
360 ar->num_peers--; in ath11k_peer_delete()
379 if (ar->num_peers > (ar->max_num_peers - 1)) { in ath11k_peer_create()
458 ar->num_peers++; in ath11k_peer_create()
H A Dwmi.c4183 wmi_cfg->num_peers = tg_cfg->num_peers; in ath11k_wmi_copy_resource_config()
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c75 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc()
398 htt->tx_q_state.num_peers = HTT_TX_Q_STATE_NUM_PEERS; in ath10k_htt_tx_alloc_txq()
721 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_32()
783 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_64()
H A Dwmi.c6596 config.num_peers = __cpu_to_le32(TARGET_NUM_PEERS); in ath10k_wmi_op_gen_init()
6667 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_1_op_gen_init()
6733 config.num_peers = __cpu_to_le32(TARGET_10X_TX_STATS_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init()
6736 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init()
6814 config.num_peers = __cpu_to_le32(ar->max_num_peers); in ath10k_wmi_10_4_op_gen_init()
8503 size_t num_peers; in ath10k_wmi_main_op_fw_stats_fill() local
8515 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill()
8534 "ath10k PEER stats", num_peers); in ath10k_wmi_main_op_fw_stats_fill()
8561 size_t num_peers; in ath10k_wmi_10x_op_fw_stats_fill() local
8573 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill()
[all …]
H A Dhtt.h1493 __le16 num_peers; member
1919 u16 num_peers; member
H A Dhw.h587 u32 num_peers; member
H A Ddebug.c262 size_t num_peers; in ath10k_debug_fw_stats_process() local
299 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
318 if (num_peers >= ATH10K_MAX_NUM_PEER_IDS) { in ath10k_debug_fw_stats_process()
H A Dwmi-tlv.h1749 __le32 num_peers; member
2103 __le32 num_peers; member
H A Dmac.c748 if (ar->num_peers + list_count_nodes(&ar->arvifs) >= ar->max_num_peers) in ath10k_peer_create()
781 ar->num_peers++; in ath10k_peer_create()
866 ar->num_peers--; in ath10k_peer_delete()
895 ar->num_peers--; in ath10k_peer_map_cleanup()
935 ar->num_peers = 0; in ath10k_peer_cleanup_all()
5592 if (ar->num_peers >= ar->max_num_peers) { in ath10k_add_interface()
5992 ar->num_peers--; in ath10k_remove_interface()
7539 ar->num_peers + 1, ar->max_num_peers); in ath10k_sta_state()
H A Dhtt_rx.c3441 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in ath10k_htt_rx_tx_fetch_ind()
3605 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in ath10k_htt_rx_tx_mode_switch_ind()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c2012 int num_peers = 0; in ovpn_run_cmd()
2018 if (num_peers == MAX_PEERS) { in ovpn_run_cmd()
2034 ovpn->cli_sockets[num_peers] = peer_ctx.socket; in ovpn_run_cmd()
2050 num_peers++; in ovpn_run_cmd()
2053 for (int i = 0; i < num_peers; i++) { in ovpn_run_cmd()
1965 int num_peers = 0; ovpn_run_cmd() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h404 u8 num_peers; member
918 return esw->num_peers; in mlx5_eswitch_get_npeers()
H A Deswitch_offloads.c3271 esw->num_peers++; in mlx5_esw_offloads_devcom_event()
3272 peer_esw->num_peers++; in mlx5_esw_offloads_devcom_event()
3280 peer_esw->num_peers--; in mlx5_esw_offloads_devcom_event()
3281 esw->num_peers--; in mlx5_esw_offloads_devcom_event()
3282 if (!esw->num_peers && !peer_esw->num_peers) in mlx5_esw_offloads_devcom_event()
3326 esw->num_peers = 0; in mlx5_esw_offloads_devcom_init()