/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | allowedips.c | 7 #include "peer.h" 77 if (rcu_access_pointer(node->peer)) in root_remove_peer_lists() 117 if (rcu_access_pointer(node->peer)) in find_node() 126 /* Returns a strong reference to a peer */ 133 struct wg_peer *peer = NULL; in lookup() local 141 peer = wg_peer_get_maybe_zero(rcu_dereference_bh(node->peer)); in lookup() 142 if (!peer) in lookup() 146 return peer; in lookup() 182 u8 cidr, struct wg_peer *peer, struc in add() 181 add(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, u8 cidr, struct wg_peer *peer, struct mutex *lock) add() argument 281 wg_allowedips_insert_v4(struct allowedips *table, const struct in_addr *ip, u8 cidr, struct wg_peer *peer, struct mutex *lock) wg_allowedips_insert_v4() argument 292 wg_allowedips_insert_v6(struct allowedips *table, const struct in6_addr *ip, u8 cidr, struct wg_peer *peer, struct mutex *lock) wg_allowedips_insert_v6() argument 303 wg_allowedips_remove_by_peer(struct allowedips *table, struct wg_peer *peer, struct mutex *lock) wg_allowedips_remove_by_peer() argument [all...] |
H A D | queueing.h | 9 #include "peer.h" 39 void wg_packet_send_queued_handshake_initiation(struct wg_peer *peer, 41 void wg_packet_send_handshake_response(struct wg_peer *peer); 45 void wg_packet_send_keepalive(struct wg_peer *peer); 46 void wg_packet_purge_staged_packets(struct wg_peer *peer); 47 void wg_packet_send_staged_packets(struct wg_peer *peer); 68 #define PACKET_PEER(skb) (PACKET_CB(skb)->keypair->entry.peer) 164 /* We first queue this up for the peer ingestion, but the consumer in wg_queue_enqueue_per_device_and_peer() 183 * peer can be freed from below us. in wg_queue_enqueue_per_peer_tx() 185 struct wg_peer *peer in wg_queue_enqueue_per_peer_tx() local 198 struct wg_peer *peer = wg_peer_get(PACKET_PEER(skb)); wg_queue_enqueue_per_peer_rx() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | queueing.h | 9 #include "peer.h" 39 void wg_packet_send_queued_handshake_initiation(struct wg_peer *peer, 41 void wg_packet_send_handshake_response(struct wg_peer *peer); 45 void wg_packet_send_keepalive(struct wg_peer *peer); 46 void wg_packet_purge_staged_packets(struct wg_peer *peer); 47 void wg_packet_send_staged_packets(struct wg_peer *peer); 68 #define PACKET_PEER(skb) (PACKET_CB(skb)->keypair->entry.peer) 166 /* We first queue this up for the peer ingestion, but the consumer in wg_queue_enqueue_per_device_and_peer() 185 * peer can be freed from below us. in wg_queue_enqueue_per_peer_tx() 187 struct wg_peer *peer in wg_queue_enqueue_per_peer_tx() local 200 struct wg_peer *peer = wg_peer_get(PACKET_PEER(skb)); wg_queue_enqueue_per_peer_rx() local [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | transport.c | 41 struct sctp_transport *peer, in sctp_transport_init() 46 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); in sctp_transport_init() 47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init() 48 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init() 50 peer->sack_generation = 0; in sctp_transport_init() 58 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init() 60 peer->last_time_heard = 0; in sctp_transport_init() 61 peer->last_time_ecne_reduced = jiffies; in sctp_transport_init() 63 peer in sctp_transport_init() 40 sctp_transport_init(struct net *net, struct sctp_transport *peer, const union sctp_addr *addr, gfp_t gfp) sctp_transport_init() argument [all...] |
H A D | sm_make_chunk.c | 422 /* Tell peer that we'll do ECN only if peer advertised such cap. */ in sctp_make_init_ack() 423 if (asoc->peer.ecn_capable) in sctp_make_init_ack() 426 if (asoc->peer.prsctp_capable) in sctp_make_init_ack() 429 if (asoc->peer.asconf_capable) { in sctp_make_init_ack() 435 if (asoc->peer.reconf_capable) { in sctp_make_init_ack() 443 if (asoc->peer.intl_capable) { in sctp_make_init_ack() 448 if (asoc->peer.auth_capable) { in sctp_make_init_ack() 494 if (asoc->peer.ecn_capable) in sctp_make_init_ack() 502 if (asoc->peer in sctp_make_init_ack() 3020 struct sctp_transport *peer; sctp_process_asconf_param() local [all...] |
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | call_accept.c | 31 * Preallocate a single service call, connection and peer and, if possible, 72 struct rxrpc_peer *peer; in rxrpc_service_prealloc_one() local 74 peer = rxrpc_alloc_peer(rx->local, gfp, rxrpc_peer_new_prealloc); in rxrpc_service_prealloc_one() 75 if (!peer) in rxrpc_service_prealloc_one() 77 b->peer_backlog[head] = peer; in rxrpc_service_prealloc_one() 197 struct rxrpc_peer *peer = b->peer_backlog[tail]; in rxrpc_discard_prealloc() local 198 rxrpc_put_local(peer->local, rxrpc_local_put_prealloc_peer); in rxrpc_discard_prealloc() 199 kfree(peer); in rxrpc_discard_prealloc() 240 * and a peer as necessary. 244 struct rxrpc_peer *peer, in rxrpc_alloc_incoming_call() 242 rxrpc_alloc_incoming_call(struct rxrpc_sock *rx, struct rxrpc_local *local, struct rxrpc_peer *peer, struct rxrpc_connection *conn, const struct rxrpc_security *sec, struct sockaddr_rxrpc *peer_srx, struct sk_buff *skb) rxrpc_alloc_incoming_call() argument 329 rxrpc_new_incoming_call(struct rxrpc_local *local, struct rxrpc_peer *peer, struct rxrpc_connection *conn, struct sockaddr_rxrpc *peer_srx, struct sk_buff *skb) rxrpc_new_incoming_call() argument [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | connection.c | 580 void peer_online(struct hmdfs_peer *peer) in peer_online() argument 582 // To evaluate if someone else has made the peer online in peer_online() 583 u8 prev_stat = xchg(&peer->status, NODE_STAT_ONLINE); in peer_online() 588 WRITE_ONCE(peer->conn_time, jif_tmp); in peer_online() 589 WRITE_ONCE(peer->sbi->connections.recent_ol, jif_tmp); in peer_online() 590 hmdfs_queue_raw_node_evt(peer, RAW_NODE_EVT_ON); in peer_online() 783 struct hmdfs_peer *peer = container_of(ref, struct hmdfs_peer, ref_cnt); in hmdfs_peer_release() local 784 struct mutex *lock = &peer->sbi->connections.node_lock; in hmdfs_peer_release() 786 if (!list_empty(&peer->list)) in hmdfs_peer_release() 787 hmdfs_info("releasing a on-sbi peer in hmdfs_peer_release() 816 peer_put(struct hmdfs_peer *peer) peer_put() argument 1046 struct hmdfs_peer *peer; add_peer_unsafe() local 1182 struct hmdfs_peer *peer = NULL, *on_sbi_peer = NULL; hmdfs_get_peer() local 1239 hmdfs_find_msg_head(struct hmdfs_peer *peer, int id, struct hmdfs_cmd operations) hmdfs_find_msg_head() argument 1255 hmdfs_alloc_msg_idr(struct hmdfs_peer *peer, enum MSG_IDR_TYPE type, void *ptr, struct hmdfs_cmd operations) hmdfs_alloc_msg_idr() argument [all...] |
H A D | connection.h | 153 * It will be increased if peer has offlined 319 static inline void peer_get(struct hmdfs_peer *peer) in peer_get() argument 321 kref_get(&peer->ref_cnt); in peer_get() 324 void peer_put(struct hmdfs_peer *peer); 333 int hmdfs_alloc_msg_idr(struct hmdfs_peer *peer, enum MSG_IDR_TYPE type, 335 struct hmdfs_msg_idr_head *hmdfs_find_msg_head(struct hmdfs_peer *peer, int id, 338 static inline void hmdfs_start_process_offline(struct hmdfs_peer *peer) in hmdfs_start_process_offline() argument 340 spin_lock(&peer->idr_lock); in hmdfs_start_process_offline() 341 peer->offline_start = true; in hmdfs_start_process_offline() 342 spin_unlock(&peer in hmdfs_start_process_offline() 345 hmdfs_stop_process_offline(struct hmdfs_peer *peer) hmdfs_stop_process_offline() argument 352 hmdfs_dec_msg_idr_process(struct hmdfs_peer *peer) hmdfs_dec_msg_idr_process() argument [all...] |
H A D | device_node.c | 51 hmdfs_err("failed to update ctrl node: cannot get peer"); in ctrl_cmd_update_socket_handler() 88 hmdfs_err("failed to update devsl: cannot get peer"); in ctrl_cmd_update_devsl_handler() 91 hmdfs_info("Found peer: device_id = %llu", node->device_id); in ctrl_cmd_update_devsl_handler() 119 hmdfs_info("Found peer: device_id = %llu", node->device_id); in ctrl_cmd_off_line_handler() 199 struct hmdfs_peer *peer = NULL; in sbi_status_show() local 207 list_for_each_entry(peer, &sbi->connections.node_list, list) { in sbi_status_show() 209 peer->cid, peer->status); in sbi_status_show() 214 mutex_lock(&peer->conn_impl_list_lock); in sbi_status_show() 215 list_for_each_entry(conn_impl, &peer in sbi_status_show() 243 struct hmdfs_peer *peer = NULL; sbi_stat_show() local 275 struct hmdfs_peer *peer = NULL; sbi_stat_store() local 992 struct hmdfs_peer *peer = NULL; sbi_show_idr_stats() local 1437 struct hmdfs_peer *peer = to_peer(kobj); features_show() local 1445 struct hmdfs_peer *peer = to_peer(kobj); event_show() local 1477 struct hmdfs_peer *peer = to_peer(kobj); stash_show() local 1501 struct hmdfs_peer *peer = to_peer(kobj); restore_show() local 1525 struct hmdfs_peer *peer = to_peer(kobj); rebuild_show() local 1586 struct hmdfs_peer *peer = to_peer(kobj); peer_sysfs_release() local 1597 hmdfs_register_peer_sysfs(struct hmdfs_sb_info *sbi, struct hmdfs_peer *peer) hmdfs_register_peer_sysfs() argument 1608 hmdfs_release_peer_sysfs(struct hmdfs_peer *peer) hmdfs_release_peer_sysfs() argument [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | connection.c | 580 void peer_online(struct hmdfs_peer *peer) in peer_online() argument 582 // To evaluate if someone else has made the peer online in peer_online() 583 u8 prev_stat = xchg(&peer->status, NODE_STAT_ONLINE); in peer_online() 588 WRITE_ONCE(peer->conn_time, jif_tmp); in peer_online() 589 WRITE_ONCE(peer->sbi->connections.recent_ol, jif_tmp); in peer_online() 590 hmdfs_queue_raw_node_evt(peer, RAW_NODE_EVT_ON); in peer_online() 783 struct hmdfs_peer *peer = container_of(ref, struct hmdfs_peer, ref_cnt); in hmdfs_peer_release() local 784 struct mutex *lock = &peer->sbi->connections.node_lock; in hmdfs_peer_release() 786 if (!list_empty(&peer->list)) in hmdfs_peer_release() 787 hmdfs_info("releasing a on-sbi peer in hmdfs_peer_release() 816 peer_put(struct hmdfs_peer *peer) peer_put() argument 1046 struct hmdfs_peer *peer; add_peer_unsafe() local 1182 struct hmdfs_peer *peer = NULL, *on_sbi_peer = NULL; hmdfs_get_peer() local 1239 hmdfs_find_msg_head(struct hmdfs_peer *peer, int id, struct hmdfs_cmd operations) hmdfs_find_msg_head() argument 1255 hmdfs_alloc_msg_idr(struct hmdfs_peer *peer, enum MSG_IDR_TYPE type, void *ptr, struct hmdfs_cmd operations) hmdfs_alloc_msg_idr() argument [all...] |
H A D | connection.h | 153 * It will be increased if peer has offlined 319 static inline void peer_get(struct hmdfs_peer *peer) in peer_get() argument 321 kref_get(&peer->ref_cnt); in peer_get() 324 void peer_put(struct hmdfs_peer *peer); 333 int hmdfs_alloc_msg_idr(struct hmdfs_peer *peer, enum MSG_IDR_TYPE type, 335 struct hmdfs_msg_idr_head *hmdfs_find_msg_head(struct hmdfs_peer *peer, int id, 338 static inline void hmdfs_start_process_offline(struct hmdfs_peer *peer) in hmdfs_start_process_offline() argument 340 spin_lock(&peer->idr_lock); in hmdfs_start_process_offline() 341 peer->offline_start = true; in hmdfs_start_process_offline() 342 spin_unlock(&peer in hmdfs_start_process_offline() 345 hmdfs_stop_process_offline(struct hmdfs_peer *peer) hmdfs_stop_process_offline() argument 352 hmdfs_dec_msg_idr_process(struct hmdfs_peer *peer) hmdfs_dec_msg_idr_process() argument [all...] |
H A D | device_node.c | 51 hmdfs_err("failed to update ctrl node: cannot get peer"); in ctrl_cmd_update_socket_handler() 88 hmdfs_err("failed to update devsl: cannot get peer"); in ctrl_cmd_update_devsl_handler() 91 hmdfs_info("Found peer: device_id = %llu", node->device_id); in ctrl_cmd_update_devsl_handler() 119 hmdfs_info("Found peer: device_id = %llu", node->device_id); in ctrl_cmd_off_line_handler() 199 struct hmdfs_peer *peer = NULL; in sbi_status_show() local 207 list_for_each_entry(peer, &sbi->connections.node_list, list) { in sbi_status_show() 209 peer->cid, peer->status); in sbi_status_show() 214 mutex_lock(&peer->conn_impl_list_lock); in sbi_status_show() 215 list_for_each_entry(conn_impl, &peer in sbi_status_show() 243 struct hmdfs_peer *peer = NULL; sbi_stat_show() local 275 struct hmdfs_peer *peer = NULL; sbi_stat_store() local 992 struct hmdfs_peer *peer = NULL; sbi_show_idr_stats() local 1439 struct hmdfs_peer *peer = to_peer(kobj); features_show() local 1447 struct hmdfs_peer *peer = to_peer(kobj); event_show() local 1479 struct hmdfs_peer *peer = to_peer(kobj); stash_show() local 1503 struct hmdfs_peer *peer = to_peer(kobj); restore_show() local 1527 struct hmdfs_peer *peer = to_peer(kobj); rebuild_show() local 1560 ATTRIBUTE_GROUPS(peer); global() variable 1589 struct hmdfs_peer *peer = to_peer(kobj); peer_sysfs_release() local 1600 hmdfs_register_peer_sysfs(struct hmdfs_sb_info *sbi, struct hmdfs_peer *peer) hmdfs_register_peer_sysfs() argument 1611 hmdfs_release_peer_sysfs(struct hmdfs_peer *peer) hmdfs_release_peer_sysfs() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 345 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_target_chandef_v1() 349 u32 freq = peer->chandef.chan->center_freq; in iwl_mvm_ftm_target_chandef_v1() 353 switch (peer->chandef.width) { in iwl_mvm_ftm_target_chandef_v1() 368 peer->chandef.width); in iwl_mvm_ftm_target_chandef_v1() 372 *ctrl_ch_position = (peer->chandef.width > NL80211_CHAN_WIDTH_20) ? in iwl_mvm_ftm_target_chandef_v1() 373 iwl_mvm_get_ctrl_pos(&peer->chandef) : 0; in iwl_mvm_ftm_target_chandef_v1() 380 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_target_chandef_v2() 384 u32 freq = peer->chandef.chan->center_freq; in iwl_mvm_ftm_target_chandef_v2() 388 switch (peer->chandef.width) { in iwl_mvm_ftm_target_chandef_v2() 407 peer in iwl_mvm_ftm_target_chandef_v2() 344 iwl_mvm_ftm_target_chandef_v1(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, u8 *channel, u8 *bandwidth, u8 *ctrl_ch_position) iwl_mvm_ftm_target_chandef_v1() argument 379 iwl_mvm_ftm_target_chandef_v2(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, u8 *channel, u8 *format_bw, u8 *ctrl_ch_position) iwl_mvm_ftm_target_chandef_v2() argument 422 iwl_mvm_ftm_put_target_v2(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v2 *target) iwl_mvm_ftm_put_target_v2() argument 458 iwl_mvm_ftm_put_target_common(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v6 *target) iwl_mvm_ftm_put_target_common() argument 494 iwl_mvm_ftm_put_target_v3(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v3 *target) iwl_mvm_ftm_put_target_v3() argument 516 iwl_mvm_ftm_put_target_v4(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v4 *target) iwl_mvm_ftm_put_target_v4() argument 534 iwl_mvm_ftm_put_target(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v6 *target) iwl_mvm_ftm_put_target() argument 595 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; iwl_mvm_ftm_start_v5() local 625 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; iwl_mvm_ftm_start_v7() local 651 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; iwl_mvm_ftm_start_v8() local 677 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; iwl_mvm_ftm_start_v9() local 762 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; iwl_mvm_ftm_start_v11() local 844 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; iwl_mvm_ftm_find_peer() local [all...] |
H A D | tdls.c | 145 /* populate TDLS peer data */ in iwl_mvm_tdls_config() 184 /* when the first peer joins, send a power update first */ in iwl_mvm_recalc_tdls_state() 188 /* Configure the FW with TDLS peer info only if TDLS channel switch in iwl_mvm_recalc_tdls_state() 197 /* when the last peer leaves, send a power update last */ in iwl_mvm_recalc_tdls_state() 250 /* we only send requests to our switching peer - update sent time */ in iwl_mvm_tdls_update_cs_state() 252 mvm->tdls_cs.peer.sent_timestamp = iwl_mvm_get_systime(mvm); in iwl_mvm_tdls_update_cs_state() 281 /* the station may not be here, but if it is, it must be a TDLS peer */ in iwl_mvm_rx_tdls_notif() 302 const u8 *peer, bool peer_initiator, u32 timestamp) in iwl_mvm_tdls_check_action() 307 /* get the existing peer if it's there */ in iwl_mvm_tdls_check_action() 314 same_peer = ether_addr_equal(peer, st in iwl_mvm_tdls_check_action() 300 iwl_mvm_tdls_check_action(struct iwl_mvm *mvm, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u32 timestamp) iwl_mvm_tdls_check_action() argument 383 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u8 oper_class, struct cfg80211_chan_def *chandef, u32 timestamp, u16 switch_time, u16 switch_timeout, struct sk_buff *skb, u32 ch_sw_tm_ie) iwl_mvm_tdls_config_channel_switch() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | tdls.c | 199 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_ht_oper() 205 "TDLS peer doesn't support ht capabilities\n"); in mwifiex_tdls_add_ht_oper() 253 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_vht_oper() 259 "TDLS peer doesn't support vht capabilities\n"); in mwifiex_tdls_add_vht_oper() 267 "TDLS peer doesn't support wider bandwidth\n"); in mwifiex_tdls_add_vht_oper() 465 const u8 *peer, u8 action_code, in mwifiex_prep_tdls_encap_data() 478 memcpy(tf->da, peer, ETH_ALEN); in mwifiex_prep_tdls_encap_data() 572 ret = mwifiex_tdls_add_vht_oper(priv, peer, skb); in mwifiex_prep_tdls_encap_data() 577 ret = mwifiex_tdls_add_ht_oper(priv, peer, 1, skb); in mwifiex_prep_tdls_encap_data() 583 ret = mwifiex_tdls_add_ht_oper(priv, peer, in mwifiex_prep_tdls_encap_data() 464 mwifiex_prep_tdls_encap_data(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb) mwifiex_prep_tdls_encap_data() argument 613 mwifiex_tdls_add_link_ie(struct sk_buff *skb, const u8 *src_addr, const u8 *peer, const u8 *bssid) mwifiex_tdls_add_link_ie() argument 628 mwifiex_send_tdls_data_frame(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, const u8 *extra_ies, size_t extra_ies_len) mwifiex_send_tdls_data_frame() argument 729 mwifiex_construct_tdls_action_frame(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb) mwifiex_construct_tdls_action_frame() argument 813 mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, const u8 *extra_ies, size_t extra_ies_len) mwifiex_send_tdls_action_frame() argument 898 u8 *peer, *pos, *end; mwifiex_process_tdls_action_frame() local 1061 mwifiex_tdls_process_config_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_config_link() argument 1082 mwifiex_tdls_process_create_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_create_link() argument 1109 mwifiex_tdls_process_disable_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_disable_link() argument 1136 mwifiex_tdls_process_enable_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_enable_link() argument 1199 mwifiex_tdls_oper(struct mwifiex_private *priv, const u8 *peer, u8 action) mwifiex_tdls_oper() argument 1229 struct tdls_peer_info *peer = buf; mwifiex_get_tdls_list() local 1288 struct mwifiex_auto_tdls_peer *peer; mwifiex_tdls_check_tx() local 1329 struct mwifiex_auto_tdls_peer *peer, *tmp_node; mwifiex_flush_auto_tdls_list() local 1377 struct mwifiex_auto_tdls_peer *peer; mwifiex_auto_tdls_update_peer_status() local 1401 struct mwifiex_auto_tdls_peer *peer; mwifiex_auto_tdls_update_peer_signal() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | tdls.c | 199 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_ht_oper() 205 "TDLS peer doesn't support ht capabilities\n"); in mwifiex_tdls_add_ht_oper() 253 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_vht_oper() 259 "TDLS peer doesn't support vht capabilities\n"); in mwifiex_tdls_add_vht_oper() 267 "TDLS peer doesn't support wider bandwidth\n"); in mwifiex_tdls_add_vht_oper() 465 const u8 *peer, u8 action_code, in mwifiex_prep_tdls_encap_data() 478 memcpy(tf->da, peer, ETH_ALEN); in mwifiex_prep_tdls_encap_data() 572 ret = mwifiex_tdls_add_vht_oper(priv, peer, skb); in mwifiex_prep_tdls_encap_data() 577 ret = mwifiex_tdls_add_ht_oper(priv, peer, 1, skb); in mwifiex_prep_tdls_encap_data() 583 ret = mwifiex_tdls_add_ht_oper(priv, peer, in mwifiex_prep_tdls_encap_data() 464 mwifiex_prep_tdls_encap_data(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb) mwifiex_prep_tdls_encap_data() argument 613 mwifiex_tdls_add_link_ie(struct sk_buff *skb, const u8 *src_addr, const u8 *peer, const u8 *bssid) mwifiex_tdls_add_link_ie() argument 628 mwifiex_send_tdls_data_frame(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, const u8 *extra_ies, size_t extra_ies_len) mwifiex_send_tdls_data_frame() argument 729 mwifiex_construct_tdls_action_frame(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb) mwifiex_construct_tdls_action_frame() argument 813 mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, const u8 *extra_ies, size_t extra_ies_len) mwifiex_send_tdls_action_frame() argument 898 u8 *peer, *pos, *end; mwifiex_process_tdls_action_frame() local 1061 mwifiex_tdls_process_config_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_config_link() argument 1082 mwifiex_tdls_process_create_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_create_link() argument 1109 mwifiex_tdls_process_disable_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_disable_link() argument 1136 mwifiex_tdls_process_enable_link(struct mwifiex_private *priv, const u8 *peer) mwifiex_tdls_process_enable_link() argument 1199 mwifiex_tdls_oper(struct mwifiex_private *priv, const u8 *peer, u8 action) mwifiex_tdls_oper() argument 1229 struct tdls_peer_info *peer = buf; mwifiex_get_tdls_list() local 1288 struct mwifiex_auto_tdls_peer *peer; mwifiex_tdls_check_tx() local 1329 struct mwifiex_auto_tdls_peer *peer, *tmp_node; mwifiex_flush_auto_tdls_list() local 1377 struct mwifiex_auto_tdls_peer *peer; mwifiex_auto_tdls_update_peer_status() local 1401 struct mwifiex_auto_tdls_peer *peer; mwifiex_auto_tdls_update_peer_signal() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tdls.c | 89 /* populate TDLS peer data */ in iwl_mvm_tdls_config() 128 /* when the first peer joins, send a power update first */ in iwl_mvm_recalc_tdls_state() 132 /* Configure the FW with TDLS peer info only if TDLS channel switch in iwl_mvm_recalc_tdls_state() 141 /* when the last peer leaves, send a power update last */ in iwl_mvm_recalc_tdls_state() 194 /* we only send requests to our switching peer - update sent time */ in iwl_mvm_tdls_update_cs_state() 196 mvm->tdls_cs.peer.sent_timestamp = iwl_mvm_get_systime(mvm); in iwl_mvm_tdls_update_cs_state() 225 /* the station may not be here, but if it is, it must be a TDLS peer */ in iwl_mvm_rx_tdls_notif() 246 const u8 *peer, bool peer_initiator, u32 timestamp) in iwl_mvm_tdls_check_action() 251 /* get the existing peer if it's there */ in iwl_mvm_tdls_check_action() 258 same_peer = ether_addr_equal(peer, st in iwl_mvm_tdls_check_action() 244 iwl_mvm_tdls_check_action(struct iwl_mvm *mvm, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u32 timestamp) iwl_mvm_tdls_check_action() argument 327 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u8 oper_class, struct cfg80211_chan_def *chandef, u32 timestamp, u16 switch_time, u16 switch_timeout, struct sk_buff *skb, u32 ch_sw_tm_ie) iwl_mvm_tdls_config_channel_switch() argument [all...] |
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | call_accept.c | 31 * Preallocate a single service call, connection and peer and, if possible, 73 struct rxrpc_peer *peer = rxrpc_alloc_peer(rx->local, gfp); in rxrpc_service_prealloc_one() local 74 if (!peer) in rxrpc_service_prealloc_one() 76 b->peer_backlog[head] = peer; in rxrpc_service_prealloc_one() 199 struct rxrpc_peer *peer = b->peer_backlog[tail]; in rxrpc_discard_prealloc() local 200 rxrpc_put_local(peer->local); in rxrpc_discard_prealloc() 201 kfree(peer); in rxrpc_discard_prealloc() 249 if (call->peer->rtt_count < 3 || in rxrpc_send_ping() 250 ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), now)) in rxrpc_send_ping() 258 * and a peer a 260 rxrpc_alloc_incoming_call(struct rxrpc_sock *rx, struct rxrpc_local *local, struct rxrpc_peer *peer, struct rxrpc_connection *conn, const struct rxrpc_security *sec, struct key *key, struct sk_buff *skb) rxrpc_alloc_incoming_call() argument 355 struct rxrpc_peer *peer = NULL; rxrpc_new_incoming_call() local [all...] |
H A D | proc.c | 59 struct rxrpc_peer *peer; in rxrpc_call_seq_show() local 88 peer = call->peer; in rxrpc_call_seq_show() 89 if (peer) in rxrpc_call_seq_show() 90 sprintf(rbuff, "%pISpc", &peer->srx.transport); in rxrpc_call_seq_show() 182 sprintf(rbuff, "%pISpc", &conn->params.peer->srx.transport); in rxrpc_connection_seq_show() 217 struct rxrpc_peer *peer; in rxrpc_peer_seq_show() local 230 peer = list_entry(v, struct rxrpc_peer, hash_link); in rxrpc_peer_seq_show() 232 sprintf(lbuff, "%pISpc", &peer->local->srx.transport); in rxrpc_peer_seq_show() 234 sprintf(rbuff, "%pISpc", &peer in rxrpc_peer_seq_show() [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | rionet.c | 232 struct rionet_peer *peer; in rionet_dbell_event() local 241 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_dbell_event() 242 if (peer->rdev->destid == sid) { in rionet_dbell_event() 243 nets[netid].active[sid] = peer->rdev; in rionet_dbell_event() 312 struct rionet_peer *peer; in rionet_open() local 355 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_open() 357 rio_send_doorbell(peer->rdev, RIONET_DOORBELL_JOIN); in rionet_open() 369 struct rionet_peer *peer; in rionet_close() local 385 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_close() 386 if (nets[netid].active[peer in rionet_close() 407 struct rionet_peer *peer; rionet_remove_dev() local 548 struct rionet_peer *peer; rionet_add_dev() local 639 struct rionet_peer *peer; rionet_shutdown() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | rionet.c | 232 struct rionet_peer *peer; in rionet_dbell_event() local 241 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_dbell_event() 242 if (peer->rdev->destid == sid) { in rionet_dbell_event() 243 nets[netid].active[sid] = peer->rdev; in rionet_dbell_event() 312 struct rionet_peer *peer; in rionet_open() local 355 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_open() 357 rio_send_doorbell(peer->rdev, RIONET_DOORBELL_JOIN); in rionet_open() 369 struct rionet_peer *peer; in rionet_close() local 385 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_close() 386 if (nets[netid].active[peer in rionet_close() 407 struct rionet_peer *peer; rionet_remove_dev() local 550 struct rionet_peer *peer; rionet_add_dev() local 641 struct rionet_peer *peer; rionet_shutdown() local [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | sm_make_chunk.c | 422 /* Tell peer that we'll do ECN only if peer advertised such cap. */ in sctp_make_init_ack() 423 if (asoc->peer.ecn_capable) in sctp_make_init_ack() 426 if (asoc->peer.prsctp_capable) in sctp_make_init_ack() 429 if (asoc->peer.asconf_capable) { in sctp_make_init_ack() 435 if (asoc->peer.reconf_capable) { in sctp_make_init_ack() 443 if (asoc->peer.intl_capable) { in sctp_make_init_ack() 448 if (asoc->peer.auth_capable) { in sctp_make_init_ack() 494 if (asoc->peer.ecn_capable) in sctp_make_init_ack() 502 if (asoc->peer in sctp_make_init_ack() 3058 struct sctp_transport *peer; sctp_process_asconf_param() local [all...] |
/kernel/linux/linux-6.6/drivers/pmdomain/qcom/ |
H A D | rpmpd.c | 51 struct rpmpd *peer; member 75 .peer = &cx_rwcx0_lvl_ao, 83 .peer = &cx_rwcx0_lvl, 93 .peer = &cx_s1a_corner_ao, 101 .peer = &cx_s1a_corner, 111 .peer = &cx_s2a_corner_ao, 119 .peer = &cx_s2a_corner, 129 .peer = &cx_s2a_lvl_ao, 137 .peer = &cx_s2a_lvl, 147 .peer 821 struct rpmpd *peer = pd->peer; rpmpd_aggregate_corner() local [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | resource.c | 36 if (aad(sa)->peer) { in audit_cb() 37 audit_log_format(ab, " peer="); in audit_cb() 38 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_cb() 53 unsigned long value, struct aa_label *peer, in audit_resource() 60 aad(&sa)->peer = peer; in audit_resource() 108 struct aa_label *peer; in aa_task_setrlimit() local 112 peer = aa_get_newest_cred_label(__task_cred(task)); in aa_task_setrlimit() 122 if (label != peer && in aa_task_setrlimit() 126 new_rlim->rlim_max, peer, in aa_task_setrlimit() 52 audit_resource(struct aa_profile *profile, unsigned int resource, unsigned long value, struct aa_label *peer, const char *info, int error) audit_resource() argument [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | resource.c | 37 if (ad->peer) { in audit_cb() 38 audit_log_format(ab, " peer="); in audit_cb() 39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb() 50 * @peer: aa_albel of the task being set 58 unsigned long value, struct aa_label *peer, in audit_resource() 67 ad.peer = peer; in audit_resource() 120 struct aa_label *peer; in aa_task_setrlimit() local 124 peer = aa_get_newest_cred_label(__task_cred(task)); in aa_task_setrlimit() 134 if (label != peer in aa_task_setrlimit() 56 audit_resource(const struct cred *subj_cred, struct aa_profile *profile, unsigned int resource, unsigned long value, struct aa_label *peer, const char *info, int error) audit_resource() argument [all...] |