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()
246 ar->num_peers++; in ath12k_peer_create()
348 ar->num_peers--; in ath12k_link_sta_rhash_insert()
H A Dmac.c1258 ar->num_peers = 0; in ath12k_mac_peer_cleanup_all()
6955 ar->num_peers--; in ath12k_mac_station_authorize()
9743 ar->num_peers = 0; in ath12k_mac_op_start()
10582 ar->num_peers--; in ath12k_mac_assign_vif_to_vdev()
10758 ar->num_peers > (ar->max_num_peers - 1)) { in ath12k_mac_vdev_delete()
H A Dwmi.c4126 wmi_cfg->num_peers = cpu_to_le32(tg_cfg->num_peers); in ath12k_init_cmd_send()
/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.c74 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc()
397 htt->tx_q_state.num_peers = HTT_TX_Q_STATE_NUM_PEERS; in ath10k_htt_tx_alloc_txq()
720 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_32()
782 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.c6595 config.num_peers = __cpu_to_le32(TARGET_NUM_PEERS); in ath10k_wmi_op_gen_init()
6666 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_1_op_gen_init()
6732 config.num_peers = __cpu_to_le32(TARGET_10X_TX_STATS_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init()
6735 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init()
6813 config.num_peers = __cpu_to_le32(ar->max_num_peers); in ath10k_wmi_10_4_op_gen_init()
8502 size_t num_peers; in ath10k_wmi_main_op_fw_stats_fill() local
8514 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill()
8533 "ath10k PEER stats", num_peers); in ath10k_wmi_main_op_fw_stats_fill()
8560 size_t num_peers; in ath10k_wmi_10x_op_fw_stats_fill() local
8572 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill()
[all …]
H A Dhtt.h1482 * @num_peers: Number of supported peers
1493 __le16 num_peers; member
1919 u16 num_peers; member
H A Dhw.h587 u32 num_peers; member
H A Ddebug.c261 size_t num_peers; in ath10k_debug_fw_stats_process()
298 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
317 if (num_peers >= ATH10K_MAX_NUM_PEER_IDS) { in ath10k_debug_fw_stats_process()
262 size_t num_peers; ath10k_debug_fw_stats_process() local
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.c3440 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in ath10k_htt_rx_tx_fetch_ind()
3604 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.h429 u8 num_peers;
405 u8 num_peers; global() member
H A Deswitch_offloads.c3507 esw->num_peers++; in esw_create_offloads_acl_tables()
3508 peer_esw->num_peers++; in esw_create_offloads_acl_tables()
3516 peer_esw->num_peers--; in esw_create_offloads_acl_tables()
3517 esw->num_peers--; in esw_create_offloads_acl_tables()
3518 if (!esw->num_peers && !peer_esw->num_peers) in esw_create_offloads_acl_tables()
3562 esw->num_peers = 0; in mlx5_eswitch_reload_ib_reps()