Home
last modified time | relevance | path

Searched defs:peer (Results 1 – 25 of 89) sorted by relevance

1234

/drivers/net/wireguard/
Dtimers.c30 static inline void mod_peer_timer(struct wg_peer *peer, in mod_peer_timer()
43 struct wg_peer *peer = from_timer(peer, timer, in wg_expired_retransmit_handshake() local
81 struct wg_peer *peer = from_timer(peer, timer, timer_send_keepalive); in wg_expired_send_keepalive() local
93 struct wg_peer *peer = from_timer(peer, timer, timer_new_handshake); in wg_expired_new_handshake() local
107 struct wg_peer *peer = from_timer(peer, timer, timer_zero_key_material); in wg_expired_zero_key_material() local
124 struct wg_peer *peer = container_of(work, struct wg_peer, in wg_queued_expired_zero_key_material() local
137 struct wg_peer *peer = from_timer(peer, timer, in wg_expired_send_persistent_keepalive() local
145 void wg_timers_data_sent(struct wg_peer *peer) in wg_timers_data_sent()
154 void wg_timers_data_received(struct wg_peer *peer) in wg_timers_data_received()
168 void wg_timers_any_authenticated_packet_sent(struct wg_peer *peer) in wg_timers_any_authenticated_packet_sent()
[all …]
Dpeer.c25 struct wg_peer *peer; in wg_peer_create() local
71 struct wg_peer *wg_peer_get_maybe_zero(struct wg_peer *peer) in wg_peer_get_maybe_zero()
80 static void peer_make_dead(struct wg_peer *peer) in peer_make_dead()
94 static void peer_remove_after_dead(struct wg_peer *peer) in peer_remove_after_dead()
156 void wg_peer_remove(struct wg_peer *peer) in wg_peer_remove()
169 struct wg_peer *peer, *temp; in wg_peer_remove_all() local
188 struct wg_peer *peer = container_of(rcu, struct wg_peer, rcu); in rcu_release() local
202 struct wg_peer *peer = container_of(refcount, struct wg_peer, refcount); in kref_release() local
223 void wg_peer_put(struct wg_peer *peer) in wg_peer_put()
Dsend.c21 static void wg_packet_send_handshake_initiation(struct wg_peer *peer) in wg_packet_send_handshake_initiation()
48 struct wg_peer *peer = container_of(work, struct wg_peer, in wg_packet_handshake_send_worker() local
55 void wg_packet_send_queued_handshake_initiation(struct wg_peer *peer, in wg_packet_send_queued_handshake_initiation()
85 void wg_packet_send_handshake_response(struct wg_peer *peer) in wg_packet_send_handshake_response()
124 static void keep_key_fresh(struct wg_peer *peer) in keep_key_fresh()
221 void wg_packet_send_keepalive(struct wg_peer *peer) in wg_packet_send_keepalive()
242 static void wg_packet_create_data_done(struct wg_peer *peer, struct sk_buff *first) in wg_packet_create_data_done()
264 struct wg_peer *peer = container_of(work, struct wg_peer, transmit_packet_work); in wg_packet_tx_worker() local
311 static void wg_packet_create_data(struct wg_peer *peer, struct sk_buff *first) in wg_packet_create_data()
333 void wg_packet_purge_staged_packets(struct wg_peer *peer) in wg_packet_purge_staged_packets()
[all …]
Dnetlink.c106 get_peer(struct wg_peer *peer, struct sk_buff *skb, struct dump_ctx *ctx) in get_peer()
212 struct wg_peer *peer, *next_peer_cursor; in wg_get_device_dump() local
316 struct wg_peer *peer; in set_port() local
329 static int set_allowedip(struct wg_peer *peer, struct nlattr **attrs) in set_allowedip()
360 struct wg_peer *peer = NULL; in set_peer() local
526 struct wg_peer *peer; in wg_set_device() local
548 struct wg_peer *peer, *temp; in wg_set_device() local
584 struct nlattr *attr, *peer[WGPEER_A_MAX + 1]; in wg_set_device() local
Ddevice.c35 struct wg_peer *peer; in wg_open() local
66 struct wg_peer *peer; in wg_pm_notification() local
99 struct wg_peer *peer; in wg_vm_notification() local
117 struct wg_peer *peer; in wg_stop() local
140 struct wg_peer *peer; in wg_xmit() local
418 struct wg_peer *peer; in wg_netns_pre_exit() local
Dreceive.c20 static void update_rx_stats(struct wg_peer *peer, size_t len) in update_rx_stats()
96 struct wg_peer *peer = NULL; in wg_receive_handshake_packet() local
220 static void keep_key_fresh(struct wg_peer *peer) in keep_key_fresh()
335 static void wg_packet_consume_data_done(struct wg_peer *peer, in wg_packet_consume_data_done()
440 struct wg_peer *peer = container_of(napi, struct wg_peer, napi); in wg_packet_rx_poll() local
512 struct wg_peer *peer = NULL; in wg_packet_consume_data() local
Dpeerlookup.c36 struct wg_peer *peer) in wg_pubkey_hashtable_add()
45 struct wg_peer *peer) in wg_pubkey_hashtable_remove()
57 struct wg_peer *iter_peer, *peer = NULL; in wg_pubkey_hashtable_lookup() local
204 const __le32 index, struct wg_peer **peer) in wg_index_hashtable_lookup()
Dsocket.c168 int wg_socket_send_skb_to_peer(struct wg_peer *peer, struct sk_buff *skb, u8 ds) in wg_socket_send_skb_to_peer()
189 int wg_socket_send_buffer_to_peer(struct wg_peer *peer, void *buffer, in wg_socket_send_buffer_to_peer()
273 void wg_socket_set_peer_endpoint(struct wg_peer *peer, in wg_socket_set_peer_endpoint()
299 void wg_socket_set_peer_endpoint_from_skb(struct wg_peer *peer, in wg_socket_set_peer_endpoint_from_skb()
308 void wg_socket_clear_peer_endpoint_src(struct wg_peer *peer) in wg_socket_clear_peer_endpoint_src()
Dnoise.c47 void wg_noise_precompute_static_static(struct wg_peer *peer) in wg_noise_precompute_static_static()
63 struct wg_peer *peer) in wg_noise_handshake_init()
98 static struct noise_keypair *keypair_create(struct wg_peer *peer) in keypair_create()
179 void wg_noise_expire_current_peer_keypairs(struct wg_peer *peer) in wg_noise_expire_current_peer_keypairs()
587 struct wg_peer *peer = NULL, *ret_peer = NULL; in wg_noise_handshake_consume_initiation() local
732 struct wg_peer *peer = NULL, *ret_peer = NULL; in wg_noise_handshake_consume_response() local
Dallowedips.c133 struct wg_peer *peer = NULL; in lookup() local
182 u8 cidr, struct wg_peer *peer, struct mutex *lock) in add()
282 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v4()
293 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v6()
304 struct wg_peer *peer, struct mutex *lock) in wg_allowedips_remove_by_peer()
Dcookie.c61 void wg_cookie_checker_precompute_peer_keys(struct wg_peer *peer) in wg_cookie_checker_precompute_peer_keys()
157 struct wg_peer *peer) in wg_cookie_add_mac_to_packet()
201 struct wg_peer *peer = NULL; in wg_cookie_message_consume() local
/drivers/net/wireless/ath/ath11k/
Dpeer.c14 struct ath11k_peer *peer; in ath11k_peer_find_list_by_id() local
31 struct ath11k_peer *peer; in ath11k_peer_find() local
50 struct ath11k_peer *peer; in ath11k_peer_find_by_addr() local
66 struct ath11k_peer *peer; in ath11k_peer_find_by_id() local
82 struct ath11k_peer *peer; in ath11k_peer_find_by_vdev_id() local
98 struct ath11k_peer *peer; in ath11k_peer_unmap_event() local
123 struct ath11k_peer *peer; in ath11k_peer_map_event() local
206 static int ath11k_peer_rhash_add(struct ath11k_base *ab, struct ath11k_peer *peer) in ath11k_peer_rhash_add()
242 struct ath11k_peer *peer, *tmp; in ath11k_peer_cleanup() local
296 struct ath11k_peer *peer; in __ath11k_peer_delete() local
[all …]
/drivers/net/can/
Dvxcan.c34 struct net_device __rcu *peer; member
40 struct net_device *peer; in vxcan_xmit() local
90 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_open() local
105 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_close() local
117 struct net_device *peer; in vxcan_get_iflink() local
180 struct net_device *peer; in vxcan_newlink() local
267 struct net_device *peer; in vxcan_dellink() local
293 struct net_device *peer = rtnl_dereference(priv->peer); in vxcan_get_link_net() local
/drivers/ntb/test/
Dntb_perf.c249 static inline bool perf_link_is_up(struct perf_peer *peer) in perf_link_is_up()
257 static int perf_spad_cmd_send(struct perf_peer *peer, enum perf_cmd cmd, in perf_spad_cmd_send()
307 struct perf_peer *peer; in perf_spad_cmd_recv() local
348 static int perf_msg_cmd_send(struct perf_peer *peer, enum perf_cmd cmd, in perf_msg_cmd_send()
421 static int perf_cmd_send(struct perf_peer *peer, enum perf_cmd cmd, u64 data) in perf_cmd_send()
432 static int perf_cmd_exec(struct perf_peer *peer, enum perf_cmd cmd) in perf_cmd_exec()
458 struct perf_peer *peer; in perf_cmd_recv() local
485 struct perf_peer *peer; in perf_link_event() local
532 static void perf_free_outbuf(struct perf_peer *peer) in perf_free_outbuf()
537 static int perf_setup_outbuf(struct perf_peer *peer) in perf_setup_outbuf()
[all …]
Dntb_msi_test.c131 static void ntb_msit_copy_peer_desc(struct ntb_msit_ctx *nm, int peer) in ntb_msit_copy_peer_desc()
155 int peer; in ntb_msit_db_event() local
186 struct ntb_msit_peer *peer = data; in ntb_msit_dbgfs_trigger() local
203 struct ntb_msit_peer *peer = data; in ntb_msit_dbgfs_port_get() local
215 struct ntb_msit_peer *peer = data; in ntb_msit_dbgfs_count_get() local
227 struct ntb_msit_peer *peer = data; in ntb_msit_dbgfs_ready_get() local
236 struct ntb_msit_peer *peer = data; in ntb_msit_dbgfs_ready_set() local
/drivers/net/wireless/marvell/mwifiex/
Dtdls.c465 const u8 *peer, u8 action_code, in mwifiex_prep_tdls_encap_data()
614 const u8 *peer, const u8 *bssid) in mwifiex_tdls_add_link_ie()
628 int mwifiex_send_tdls_data_frame(struct mwifiex_private *priv, const u8 *peer, in mwifiex_send_tdls_data_frame()
730 const u8 *peer, in mwifiex_construct_tdls_action_frame()
813 int mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, const u8 *peer, in mwifiex_send_tdls_action_frame()
898 u8 *peer, *pos, *end; in mwifiex_process_tdls_action_frame() local
1061 mwifiex_tdls_process_config_link(struct mwifiex_private *priv, const u8 *peer) in mwifiex_tdls_process_config_link()
1082 mwifiex_tdls_process_create_link(struct mwifiex_private *priv, const u8 *peer) in mwifiex_tdls_process_create_link()
1109 mwifiex_tdls_process_disable_link(struct mwifiex_private *priv, const u8 *peer) in mwifiex_tdls_process_disable_link()
1136 mwifiex_tdls_process_enable_link(struct mwifiex_private *priv, const u8 *peer) in mwifiex_tdls_process_enable_link()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c287 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_target_chandef_v1()
322 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_target_chandef_v2()
377 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_put_target_v2()
413 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_put_target_common()
453 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_put_target_v3()
475 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_put_target_v4()
493 struct cfg80211_pmsr_request_peer *peer, in iwl_mvm_ftm_put_target()
562 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v5() local
592 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v7() local
618 struct cfg80211_pmsr_request_peer *peer = &req->peers[i]; in iwl_mvm_ftm_start_v8() local
[all …]
/drivers/net/wireless/ath/ath10k/
Dtxrx.c153 struct ath10k_peer *peer; in ath10k_peer_find() local
171 struct ath10k_peer *peer; in ath10k_peer_find_by_id() local
221 struct ath10k_peer *peer; in ath10k_peer_map_event() local
257 struct ath10k_peer *peer; in ath10k_peer_unmap_event() local
/drivers/ntb/
Dmsi.c99 int peer, peer_widx; in ntb_msi_setup_mws() local
176 int peer; in ntb_msi_clear_mws() local
367 int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer, in ntb_msi_peer_trigger()
397 int ntb_msi_peer_addr(struct ntb_dev *ntb, int peer, in ntb_msi_peer_addr()
/drivers/net/
Dveth.c71 struct net_device __rcu *peer; member
173 struct net_device *peer = rtnl_dereference(priv->peer); in veth_get_ethtool_stats() local
403 struct net_device *peer; in veth_get_stats64() local
1257 struct net_device *peer; in veth_set_channels() local
1328 struct net_device *peer = rtnl_dereference(priv->peer); in veth_open() local
1355 struct net_device *peer = rtnl_dereference(priv->peer); in veth_close() local
1439 struct net_device *peer; in veth_get_iflink() local
1454 struct net_device *peer; in veth_fix_features() local
1492 struct net_device *peer; in veth_set_rx_headroom() local
1517 struct net_device *peer; in veth_xdp_set() local
[all …]
Drionet.c232 struct rionet_peer *peer; in rionet_dbell_event() local
312 struct rionet_peer *peer; in rionet_open() local
369 struct rionet_peer *peer; in rionet_close() local
407 struct rionet_peer *peer; in rionet_remove_dev() local
550 struct rionet_peer *peer; in rionet_add_dev() local
641 struct rionet_peer *peer; in rionet_shutdown() local
/drivers/firewire/
Dnet.c353 struct fwnet_peer *peer, u16 datagram_label, unsigned dg_size, in fwnet_pd_new()
389 static struct fwnet_partial_datagram *fwnet_pd_find(struct fwnet_peer *peer, in fwnet_pd_find()
414 static bool fwnet_pd_update(struct fwnet_peer *peer, in fwnet_pd_update()
445 struct fwnet_peer *peer; in fwnet_peer_find_by_guid() local
458 struct fwnet_peer *peer; in fwnet_peer_find_by_node_id() local
567 struct fwnet_peer *peer; in fwnet_incoming_packet() local
1235 struct fwnet_peer *peer; in fwnet_tx() local
1402 struct fwnet_peer *peer; in fwnet_add_peer() local
1524 struct fwnet_peer *peer = dev_get_drvdata(&unit->device); in fwnet_update() local
1535 static void fwnet_remove_peer(struct fwnet_peer *peer, struct fwnet_device *dev) in fwnet_remove_peer()
[all …]
/drivers/usb/core/
Dport.c320 struct usb_port *peer = port_dev->peer; in usb_port_runtime_resume() local
378 struct usb_port *peer = port_dev->peer; in usb_port_runtime_suspend() local
571 struct usb_port *port_dev = p, *peer; in match_location() local
602 struct usb_port *port_dev = hub->ports[port1 - 1], *peer; in find_and_link_peer() local
784 struct usb_port *peer; in usb_hub_remove_port_device() local
/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c151 u32 peer; member
187 u32 peer; member
879 u32 peer, in qp_guest_endpoint_create()
1098 u32 peer, in qp_alloc_guest_work()
1283 u32 peer, in qp_broker_create()
1512 u32 peer, in qp_broker_attach()
1697 u32 peer, in qp_broker_alloc()
1775 u32 peer, in qp_alloc_host_work()
1834 u32 peer, in vmci_qp_alloc()
1931 u32 peer, in vmci_qp_broker_alloc()
[all …]
/drivers/clk/qcom/
Dclk-rpm.c95 struct clk_rpm *peer; member
175 struct clk_rpm *peer = r->peer; in clk_rpm_prepare() local
224 struct clk_rpm *peer = r->peer; in clk_rpm_unprepare() local
325 struct clk_rpm *peer = r->peer; in clk_rpm_set_rate() local

1234