| /linux/drivers/net/wireguard/ |
| H A D | peer.c | 30 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 D | device.h | 54 unsigned int num_peers, device_update_gen; member
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | peer.c | 54 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 D | mac.c | 1254 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 D | wmi.c | 3998 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 D | peer.c | 259 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 D | wmi.c | 4183 wmi_cfg->num_peers = tg_cfg->num_peers; in ath11k_wmi_copy_resource_config()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | htt_tx.c | 75 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 D | wmi.c | 6596 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 D | htt.h | 1493 __le16 num_peers; member 1919 u16 num_peers; member
|
| H A D | hw.h | 587 u32 num_peers; member
|
| H A D | debug.c | 262 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 D | wmi-tlv.h | 1749 __le32 num_peers; member 2103 __le32 num_peers; member
|
| H A D | mac.c | 748 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 D | htt_rx.c | 3441 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 D | ovpn-cli.c | 2012 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 D | eswitch.h | 404 u8 num_peers; member 918 return esw->num_peers; in mlx5_eswitch_get_npeers()
|
| H A D | eswitch_offloads.c | 3271 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()
|