Home
last modified time | relevance | path

Searched refs:srx (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.3-rc2/drivers/infiniband/sw/siw/
A Dsiw_qp_rx.c192 qp_id(rx_qp(srx)), sink_stag, srx->ddp_stag); in siw_rresp_check_ntoh()
557 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_write()
607 srx->ddp_to + srx->fpdu_part_rcvd, bytes); in siw_proc_write()
610 srx->ddp_to + srx->fpdu_part_rcvd, bytes); in siw_proc_write()
622 srx->ddp_to += srx->fpdu_part_rcvd; in siw_proc_write()
851 bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_rresp()
873 srx->ddp_to += srx->fpdu_part_rcvd; in siw_proc_rresp()
969 srx->fpdu_part_rem, srx->skb_new, srx->pad); in siw_get_trailer()
1375 srx->skb_copied += srx->skb_new; in siw_tcp_rx_data()
1387 srx->pad = -srx->fpdu_part_rem & 0x3; in siw_tcp_rx_data()
[all …]
A Dsiw.h686 static inline void siw_crc_skb(struct siw_rx_stream *srx, unsigned int len) in siw_crc_skb() argument
692 __wsum crc = *(u32 *)shash_desc_ctx(srx->mpa_crc_hd); in siw_crc_skb()
694 crc = __skb_checksum(srx->skb, srx->skb_offset, len, crc, in siw_crc_skb()
696 *(u32 *)shash_desc_ctx(srx->mpa_crc_hd) = crc; in siw_crc_skb()
/linux-6.3-rc2/net/rxrpc/
A Dpeer_object.c38 hash_key += srx->transport_type; in rxrpc_peer_hash_key()
39 hash_key += srx->transport_len; in rxrpc_peer_hash_key()
40 hash_key += srx->transport.family; in rxrpc_peer_hash_key()
42 switch (srx->transport.family) { in rxrpc_peer_hash_key()
85 (peer->srx.transport_type - srx->transport_type) ?: in rxrpc_peer_cmp_key()
86 (peer->srx.transport_len - srx->transport_len) ?: in rxrpc_peer_cmp_key()
87 (peer->srx.transport.family - srx->transport.family)); in rxrpc_peer_cmp_key()
91 switch (srx->transport.family) { in rxrpc_peer_cmp_key()
116 const struct sockaddr_rxrpc *srx, in __rxrpc_lookup_peer_rcu() argument
286 memcpy(&peer->srx, srx, sizeof(*srx)); in rxrpc_create_peer()
[all …]
A Dutils.c18 memset(srx, 0, sizeof(*srx)); in rxrpc_extract_addr_from_skb()
22 srx->transport_type = SOCK_DGRAM; in rxrpc_extract_addr_from_skb()
23 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_extract_addr_from_skb()
24 srx->transport.sin.sin_family = AF_INET; in rxrpc_extract_addr_from_skb()
25 srx->transport.sin.sin_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
26 srx->transport.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; in rxrpc_extract_addr_from_skb()
31 srx->transport_type = SOCK_DGRAM; in rxrpc_extract_addr_from_skb()
32 srx->transport_len = sizeof(srx->transport.sin6); in rxrpc_extract_addr_from_skb()
33 srx->transport.sin6.sin6_family = AF_INET6; in rxrpc_extract_addr_from_skb()
34 srx->transport.sin6.sin6_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
[all …]
A Dlocal_object.c53 diff = ((local->srx.transport_type - srx->transport_type) ?: in rxrpc_local_cmp_key()
54 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key()
55 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key()
59 switch (srx->transport.family) { in rxrpc_local_cmp_key()
129 memcpy(&local->srx, srx, sizeof(*srx)); in rxrpc_alloc_local()
130 local->srx.srx_service = 0; in rxrpc_alloc_local()
154 struct sockaddr_rxrpc *srx = &local->srx; in rxrpc_open_socket() local
161 local, srx->transport_type, srx->transport.family); in rxrpc_open_socket()
192 switch (srx->transport.family) { in rxrpc_open_socket()
249 srx->transport_type, srx->transport.family, &srx->transport); in rxrpc_lookup_local()
[all …]
A Dpeer_event.c30 struct sockaddr_rxrpc *srx) in rxrpc_lookup_peer_local_rcu() argument
36 memset(srx, 0, sizeof(*srx)); in rxrpc_lookup_peer_local_rcu()
37 srx->transport_type = local->srx.transport_type; in rxrpc_lookup_peer_local_rcu()
38 srx->transport_len = local->srx.transport_len; in rxrpc_lookup_peer_local_rcu()
39 srx->transport.family = local->srx.transport.family; in rxrpc_lookup_peer_local_rcu()
44 switch (srx->transport.family) { in rxrpc_lookup_peer_local_rcu()
46 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()
47 srx->transport.family = AF_INET; in rxrpc_lookup_peer_local_rcu()
77 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()
78 srx->transport.family = AF_INET; in rxrpc_lookup_peer_local_rcu()
[all …]
A Daf_rxrpc.c77 struct sockaddr_rxrpc *srx, in rxrpc_validate_address() argument
85 if (srx->srx_family != AF_RXRPC) in rxrpc_validate_address()
93 srx->transport_len > len) in rxrpc_validate_address()
143 service_id = srx->srx_service; in rxrpc_bind()
149 rx->srx = *srx; in rxrpc_bind()
179 srx->srx_service = rx->srx.srx_service; in rxrpc_bind()
180 if (memcmp(srx, &rx->srx, sizeof(*srx)) != 0) in rxrpc_bind()
300 ret = rxrpc_validate_address(rx, srx, sizeof(*srx)); in rxrpc_kernel_begin_call()
487 rx->connect_srx = *srx; in rxrpc_connect()
530 rx->srx.srx_service = 0; in rxrpc_sendmsg()
[all …]
A Dlocal_event.c30 struct sockaddr_rxrpc srx; in rxrpc_send_version_request() local
38 if (rxrpc_extract_addr_from_skb(&srx, skb) < 0) in rxrpc_send_version_request()
41 msg.msg_name = &srx.transport; in rxrpc_send_version_request()
42 msg.msg_namelen = srx.transport_len; in rxrpc_send_version_request()
A Drxperf.c181 struct sockaddr_rxrpc srx; in rxperf_open_socket() local
193 memset(&srx, 0, sizeof(srx)); in rxperf_open_socket()
194 srx.srx_family = AF_RXRPC; in rxperf_open_socket()
195 srx.srx_service = RX_PERF_SERVICE; in rxperf_open_socket()
196 srx.transport_type = SOCK_DGRAM; in rxperf_open_socket()
197 srx.transport_len = sizeof(srx.transport.sin6); in rxperf_open_socket()
198 srx.transport.sin6.sin6_family = AF_INET6; in rxperf_open_socket()
199 srx.transport.sin6.sin6_port = htons(RXPERF_PORT); in rxperf_open_socket()
208 ret = kernel_bind(socket, (struct sockaddr *)&srx, sizeof(srx)); in rxperf_open_socket()
A Dconn_object.c95 struct sockaddr_rxrpc *srx, in rxrpc_find_client_connection_rcu() argument
118 switch (srx->transport.family) { in rxrpc_find_client_connection_rcu()
120 if (peer->srx.transport.sin.sin_port != in rxrpc_find_client_connection_rcu()
121 srx->transport.sin.sin_port || in rxrpc_find_client_connection_rcu()
122 peer->srx.transport.sin.sin_addr.s_addr != in rxrpc_find_client_connection_rcu()
123 srx->transport.sin.sin_addr.s_addr) in rxrpc_find_client_connection_rcu()
128 if (peer->srx.transport.sin6.sin6_port != in rxrpc_find_client_connection_rcu()
129 srx->transport.sin6.sin6_port || in rxrpc_find_client_connection_rcu()
130 memcmp(&peer->srx.transport.sin6.sin6_addr, in rxrpc_find_client_connection_rcu()
131 &srx->transport.sin6.sin6_addr, in rxrpc_find_client_connection_rcu()
A Doutput.c202 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_ack_packet()
203 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_ack_packet()
284 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_abort_packet()
349 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_data_packet()
494 switch (conn->local->srx.transport.family) { in rxrpc_send_data_packet()
537 msg.msg_name = &conn->peer->srx.transport; in rxrpc_send_conn_abort()
586 struct sockaddr_rxrpc srx; in rxrpc_reject_packet() local
601 msg.msg_name = &srx.transport; in rxrpc_reject_packet()
625 msg.msg_namelen = srx.transport_len; in rxrpc_reject_packet()
659 msg.msg_name = &peer->srx.transport; in rxrpc_send_keepalive()
[all …]
A Dproc.c72 sprintf(lbuff, "%pISpc", &local->srx.transport); in rxrpc_call_seq_show()
166 sprintf(lbuff, "%pISpc", &conn->local->srx.transport); in rxrpc_connection_seq_show()
167 sprintf(rbuff, "%pISpc", &conn->peer->srx.transport); in rxrpc_connection_seq_show()
221 sprintf(lbuff, "%pISpc", &peer->local->srx.transport); in rxrpc_peer_seq_show()
223 sprintf(rbuff, "%pISpc", &peer->srx.transport); in rxrpc_peer_seq_show()
344 sprintf(lbuff, "%pISpc", &local->srx.transport); in rxrpc_local_seq_show()
A Dcall_object.c198 struct sockaddr_rxrpc *srx, in rxrpc_alloc_client_call() argument
216 call->dest_srx = *srx; in rxrpc_alloc_client_call()
332 struct sockaddr_rxrpc *srx, in rxrpc_new_client_call() argument
353 call = rxrpc_alloc_client_call(rx, srx, cp, p, gfp, debug_id); in rxrpc_new_client_call()
A Dcall_accept.c277 peer->srx = *peer_srx; in rxrpc_alloc_incoming_call()
312 call->dest_srx = peer->srx; in rxrpc_alloc_incoming_call()
353 if (!rx || (sp->hdr.serviceId != rx->srx.srx_service && in rxrpc_new_incoming_call()
A Dio_thread.c262 if (peer_srx.transport.family != local->srx.transport.family && in rxrpc_input_packet()
264 local->srx.transport.family != AF_INET6)) { in rxrpc_input_packet()
267 local->srx.transport.family); in rxrpc_input_packet()
A Dsendmsg.c582 DECLARE_SOCKADDR(struct sockaddr_rxrpc *, srx, msg->msg_name); in rxrpc_new_client_call_for_sendmsg()
601 cp.service_id = srx->srx_service; in rxrpc_new_client_call_for_sendmsg()
602 call = rxrpc_new_client_call(rx, &cp, srx, &p->call, GFP_KERNEL, in rxrpc_new_client_call_for_sendmsg()
A Dconn_event.c107 msg.msg_name = &conn->peer->srx.transport; in rxrpc_conn_retransmit_call()
108 msg.msg_namelen = conn->peer->srx.transport_len; in rxrpc_conn_retransmit_call()
A Dar-internal.h169 struct sockaddr_rxrpc srx; /* Primary Service/local addresses */ member
310 struct sockaddr_rxrpc srx; /* local address */ member
334 struct sockaddr_rxrpc srx; /* remote address */ member
1154 struct sockaddr_rxrpc *srx, gfp_t gfp);
A Drxkad.c643 msg.msg_name = &conn->peer->srx.transport; in rxkad_issue_challenge()
644 msg.msg_namelen = conn->peer->srx.transport_len; in rxkad_issue_challenge()
701 msg.msg_name = &conn->peer->srx.transport; in rxkad_send_response()
702 msg.msg_namelen = conn->peer->srx.transport_len; in rxkad_send_response()
/linux-6.3-rc2/fs/afs/
A Daddr_list.c49 srx->srx_family = AF_RXRPC; in afs_alloc_addrlist()
50 srx->srx_service = service; in afs_alloc_addrlist()
52 srx->transport_len = sizeof(srx->transport.sin6); in afs_alloc_addrlist()
276 struct sockaddr_rxrpc *srx; in afs_merge_fs_addr4() local
301 srx = &alist->addrs[i]; in afs_merge_fs_addr4()
302 srx->srx_family = AF_RXRPC; in afs_merge_fs_addr4()
304 srx->transport_len = sizeof(srx->transport.sin); in afs_merge_fs_addr4()
317 struct sockaddr_rxrpc *srx; in afs_merge_fs_addr6() local
341 srx = &alist->addrs[i]; in afs_merge_fs_addr6()
342 srx->srx_family = AF_RXRPC; in afs_merge_fs_addr6()
[all …]
A Drxrpc.c40 struct sockaddr_rxrpc srx; in afs_open_socket() local
53 memset(&srx, 0, sizeof(srx)); in afs_open_socket()
54 srx.srx_family = AF_RXRPC; in afs_open_socket()
55 srx.srx_service = CM_SERVICE; in afs_open_socket()
56 srx.transport_type = SOCK_DGRAM; in afs_open_socket()
57 srx.transport_len = sizeof(srx.transport.sin6); in afs_open_socket()
66 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket()
68 srx.transport.sin6.sin6_port = 0; in afs_open_socket()
69 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket()
74 srx.srx_service = YFS_CM_SERVICE; in afs_open_socket()
[all …]
A Dcmservice.c147 struct sockaddr_rxrpc srx; in afs_find_cm_server_by_peer() local
150 rxrpc_kernel_get_peer(call->net->socket, call->rxcall, &srx); in afs_find_cm_server_by_peer()
152 server = afs_find_server(call->net, &srx); in afs_find_cm_server_by_peer()
154 trace_afs_cm_no_server(call, &srx); in afs_find_cm_server_by_peer()
A Dserver.c25 const struct sockaddr_rxrpc *srx) in afs_find_server() argument
40 if (srx->transport.family == AF_INET6) { in afs_find_server()
41 const struct sockaddr_in6 *a = &srx->transport.sin6, *b; in afs_find_server()
57 const struct sockaddr_in *a = &srx->transport.sin, *b; in afs_find_server()
/linux-6.3-rc2/include/trace/events/
A Dafs.h1220 TP_PROTO(struct afs_call *call, struct sockaddr_rxrpc *srx),
1222 TP_ARGS(call, srx),
1227 __field_struct(struct sockaddr_rxrpc, srx )
1233 memcpy(&__entry->srx, srx, sizeof(__entry->srx));
1237 __entry->call, __entry->op_id, &__entry->srx.transport)
A Drxrpc.h1659 __field_struct(struct sockaddr_rxrpc, srx)
1667 __entry->srx = call->dest_srx;
1675 &__entry->srx.transport)
1707 struct sockaddr_rxrpc *srx),
1709 TP_ARGS(peer, ee, srx),
1714 __field_struct(struct sockaddr_rxrpc, srx)
1720 memcpy(&__entry->srx, srx, sizeof(__entry->srx));
1731 &__entry->srx.transport)

Completed in 66 milliseconds

12