Home
last modified time | relevance | path

Searched refs:rxrpc_call (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/include/net/
Daf_rxrpc.h17 struct rxrpc_call;
24 typedef void (*rxrpc_notify_rx_t)(struct sock *, struct rxrpc_call *,
26 typedef void (*rxrpc_notify_end_tx_t)(struct sock *, struct rxrpc_call *,
28 typedef void (*rxrpc_notify_new_call_t)(struct sock *, struct rxrpc_call *,
30 typedef void (*rxrpc_discard_new_call_t)(struct rxrpc_call *, unsigned long);
31 typedef void (*rxrpc_user_attach_call_t)(struct rxrpc_call *, unsigned long);
36 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *,
46 int rxrpc_kernel_send_data(struct socket *, struct rxrpc_call *,
49 int rxrpc_kernel_recv_data(struct socket *, struct rxrpc_call *,
51 bool rxrpc_kernel_abort_call(struct socket *, struct rxrpc_call *,
[all …]
/Linux-v5.4/net/rxrpc/
Dar-internal.h123 struct rxrpc_call *call_backlog[RXRPC_BACKLOG_MAX];
226 int (*secure_packet)(struct rxrpc_call *,
232 int (*verify_packet)(struct rxrpc_call *, struct sk_buff *,
236 void (*free_call_crypto)(struct rxrpc_call *);
239 void (*locate_data)(struct rxrpc_call *, struct sk_buff *,
421 struct rxrpc_call __rcu *call; /* Active call */
553 struct rxrpc_call { struct
746 struct rxrpc_call *rxrpc_new_incoming_call(struct rxrpc_local *,
750 struct rxrpc_call *rxrpc_accept_call(struct rxrpc_sock *, unsigned long,
757 void rxrpc_propose_ACK(struct rxrpc_call *, u8, u32, bool, bool,
[all …]
Dcall_object.c46 struct rxrpc_call *call = from_timer(call, t, timer); in rxrpc_call_timer_expired()
62 struct rxrpc_call *rxrpc_find_call_by_user_ID(struct rxrpc_sock *rx, in rxrpc_find_call_by_user_ID()
65 struct rxrpc_call *call; in rxrpc_find_call_by_user_ID()
74 call = rb_entry(p, struct rxrpc_call, sock_node); in rxrpc_find_call_by_user_ID()
98 struct rxrpc_call *rxrpc_alloc_call(struct rxrpc_sock *rx, gfp_t gfp, in rxrpc_alloc_call()
101 struct rxrpc_call *call; in rxrpc_alloc_call()
169 static struct rxrpc_call *rxrpc_alloc_client_call(struct rxrpc_sock *rx, in rxrpc_alloc_client_call()
174 struct rxrpc_call *call; in rxrpc_alloc_client_call()
196 static void rxrpc_start_call_timer(struct rxrpc_call *call) in rxrpc_start_call_timer()
216 struct rxrpc_call *rxrpc_new_client_call(struct rxrpc_sock *rx, in rxrpc_new_client_call()
[all …]
Dinsecure.c21 static int none_secure_packet(struct rxrpc_call *call, in none_secure_packet()
29 static int none_verify_packet(struct rxrpc_call *call, struct sk_buff *skb, in none_verify_packet()
36 static void none_free_call_crypto(struct rxrpc_call *call) in none_free_call_crypto()
40 static void none_locate_data(struct rxrpc_call *call, struct sk_buff *skb, in none_locate_data()
Dcall_accept.c37 struct rxrpc_call *call; in rxrpc_service_prealloc_one()
106 struct rxrpc_call *xcall; in rxrpc_service_prealloc_one()
114 xcall = rb_entry(parent, struct rxrpc_call, sock_node); in rxrpc_service_prealloc_one()
226 struct rxrpc_call *call = b->call_backlog[tail]; in rxrpc_discard_prealloc()
246 static struct rxrpc_call *rxrpc_alloc_incoming_call(struct rxrpc_sock *rx, in rxrpc_alloc_incoming_call()
253 struct rxrpc_call *call; in rxrpc_alloc_incoming_call()
331 struct rxrpc_call *rxrpc_new_incoming_call(struct rxrpc_local *local, in rxrpc_new_incoming_call()
338 struct rxrpc_call *call; in rxrpc_new_incoming_call()
446 struct rxrpc_call *rxrpc_accept_call(struct rxrpc_sock *rx, in rxrpc_accept_call()
452 struct rxrpc_call *call; in rxrpc_accept_call()
[all …]
Drecvmsg.c23 void rxrpc_notify_socket(struct rxrpc_call *call) in rxrpc_notify_socket()
64 static int rxrpc_recvmsg_term(struct rxrpc_call *call, struct msghdr *msg) in rxrpc_recvmsg_term()
110 struct rxrpc_call *call, in rxrpc_recvmsg_new_call()
136 static void rxrpc_end_rx_phase(struct rxrpc_call *call, rxrpc_serial_t serial) in rxrpc_end_rx_phase()
174 static void rxrpc_rotate_rx_window(struct rxrpc_call *call) in rxrpc_rotate_rx_window()
232 static int rxrpc_verify_packet(struct rxrpc_call *call, struct sk_buff *skb, in rxrpc_verify_packet()
268 static int rxrpc_locate_data(struct rxrpc_call *call, struct sk_buff *skb, in rxrpc_locate_data()
308 static int rxrpc_recvmsg_data(struct socket *sock, struct rxrpc_call *call, in rxrpc_recvmsg_data()
443 struct rxrpc_call *call; in rxrpc_recvmsg()
502 call = list_entry(l, struct rxrpc_call, recvmsg_link); in rxrpc_recvmsg()
[all …]
Dsendmsg.c24 struct rxrpc_call *call, in rxrpc_wait_for_tx_window_intr()
53 struct rxrpc_call *call) in rxrpc_wait_for_tx_window_nonintr()
99 struct rxrpc_call *call, in rxrpc_wait_for_tx_window()
125 static inline void rxrpc_instant_resend(struct rxrpc_call *call, int ix) in rxrpc_instant_resend()
144 static void rxrpc_notify_end_tx(struct rxrpc_sock *rx, struct rxrpc_call *call, in rxrpc_notify_end_tx()
156 static int rxrpc_queue_packet(struct rxrpc_sock *rx, struct rxrpc_call *call, in rxrpc_queue_packet()
262 struct rxrpc_call *call, in rxrpc_send_data()
565 static struct rxrpc_call *
572 struct rxrpc_call *call; in rxrpc_new_client_call_for_sendmsg()
614 struct rxrpc_call *call; in rxrpc_do_sendmsg()
[all …]
Dinput.c27 struct rxrpc_call *call, rxrpc_seq_t seq) in rxrpc_proto_abort()
38 static void rxrpc_congestion_management(struct rxrpc_call *call, in rxrpc_congestion_management()
199 static void rxrpc_send_ping(struct rxrpc_call *call, struct sk_buff *skb) in rxrpc_send_ping()
214 static bool rxrpc_rotate_tx_window(struct rxrpc_call *call, rxrpc_seq_t to, in rxrpc_rotate_tx_window()
273 static bool rxrpc_end_tx_phase(struct rxrpc_call *call, bool reply_begun, in rxrpc_end_tx_phase()
320 static bool rxrpc_receiving_reply(struct rxrpc_call *call) in rxrpc_receiving_reply()
407 static void rxrpc_input_dup_data(struct rxrpc_call *call, rxrpc_seq_t seq, in rxrpc_input_dup_data()
428 static void rxrpc_input_data(struct rxrpc_call *call, struct sk_buff *skb) in rxrpc_input_data()
630 static void rxrpc_input_requested_ack(struct rxrpc_call *call, in rxrpc_input_requested_ack()
667 static void rxrpc_input_check_for_lost_ack(struct rxrpc_call *call) in rxrpc_input_check_for_lost_ack()
[all …]
Dcall_event.c23 static void rxrpc_propose_ping(struct rxrpc_call *call, in rxrpc_propose_ping()
45 static void __rxrpc_propose_ACK(struct rxrpc_call *call, u8 ack_reason, in __rxrpc_propose_ACK()
136 void rxrpc_propose_ACK(struct rxrpc_call *call, u8 ack_reason, in rxrpc_propose_ACK()
149 static void rxrpc_congestion_timeout(struct rxrpc_call *call) in rxrpc_congestion_timeout()
157 static void rxrpc_resend(struct rxrpc_call *call, unsigned long now_j) in rxrpc_resend()
304 struct rxrpc_call *call = in rxrpc_process_call()
305 container_of(work, struct rxrpc_call, processor); in rxrpc_process_call()
Daf_rxrpc.c279 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call()
292 struct rxrpc_call *call; in rxrpc_kernel_begin_call()
337 static void rxrpc_dummy_notify_rx(struct sock *sk, struct rxrpc_call *rxcall, in rxrpc_dummy_notify_rx()
350 void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_end_call()
384 const struct rxrpc_call *call, in rxrpc_kernel_check_life()
403 void rxrpc_kernel_probe_life(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_probe_life()
419 u32 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_epoch()
454 void rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_set_max_life()
985 "rxrpc_call_jar", sizeof(struct rxrpc_call), 0, in af_rxrpc_init()
Drxkad.c150 static struct skcipher_request *rxkad_get_call_crypto(struct rxrpc_call *call) in rxkad_get_call_crypto()
168 static void rxkad_free_call_crypto(struct rxrpc_call *call) in rxkad_free_call_crypto()
178 static int rxkad_secure_packet_auth(const struct rxrpc_call *call, in rxkad_secure_packet_auth()
215 static int rxkad_secure_packet_encrypt(const struct rxrpc_call *call, in rxkad_secure_packet_encrypt()
276 static int rxkad_secure_packet(struct rxrpc_call *call, in rxkad_secure_packet()
351 static int rxkad_verify_packet_1(struct rxrpc_call *call, struct sk_buff *skb, in rxkad_verify_packet_1()
428 static int rxkad_verify_packet_2(struct rxrpc_call *call, struct sk_buff *skb, in rxkad_verify_packet_2()
527 static int rxkad_verify_packet(struct rxrpc_call *call, struct sk_buff *skb, in rxkad_verify_packet()
595 static void rxkad_locate_data_1(struct rxrpc_call *call, struct sk_buff *skb, in rxkad_locate_data_1()
609 static void rxkad_locate_data_2(struct rxrpc_call *call, struct sk_buff *skb, in rxkad_locate_data_2()
[all …]
Doutput.c36 static void rxrpc_tx_backoff(struct rxrpc_call *call, int ret) in rxrpc_tx_backoff()
56 static void rxrpc_set_keepalive(struct rxrpc_call *call) in rxrpc_set_keepalive()
70 struct rxrpc_call *call, in rxrpc_fill_out_ack()
129 int rxrpc_send_ack_packet(struct rxrpc_call *call, bool ping, in rxrpc_send_ack_packet()
255 int rxrpc_send_abort_packet(struct rxrpc_call *call) in rxrpc_send_abort_packet()
323 int rxrpc_send_data_packet(struct rxrpc_call *call, struct sk_buff *skb, in rxrpc_send_data_packet()
Dconn_client.c276 struct rxrpc_call *call, in rxrpc_get_client_conn()
552 struct rxrpc_call *call = list_entry(conn->waiting_calls.next, in rxrpc_activate_one_channel()
553 struct rxrpc_call, chan_wait_link); in rxrpc_activate_one_channel()
642 static int rxrpc_wait_for_channel(struct rxrpc_call *call, gfp_t gfp) in rxrpc_wait_for_channel()
688 struct rxrpc_call *call, in rxrpc_connect_call()
745 void rxrpc_expose_client_call(struct rxrpc_call *call) in rxrpc_expose_client_call()
779 void rxrpc_disconnect_client_call(struct rxrpc_call *call) in rxrpc_disconnect_client_call()
Dproc.c60 struct rxrpc_call *call; in rxrpc_call_seq_show()
75 call = list_entry(v, struct rxrpc_call, link); in rxrpc_call_seq_show()
Dpeer_event.c288 struct rxrpc_call *call; in rxrpc_distribute_error()
302 void rxrpc_peer_add_rtt(struct rxrpc_call *call, enum rxrpc_rtt_rx_trace why, in rxrpc_peer_add_rtt()
Dpeer_object.c490 void rxrpc_kernel_get_peer(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_get_peer()
504 u64 rxrpc_kernel_get_rtt(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_rtt()
Dconn_object.c167 struct rxrpc_call *call) in __rxrpc_disconnect_call()
209 void rxrpc_disconnect_call(struct rxrpc_call *call) in rxrpc_disconnect_call()
Dconn_event.c155 struct rxrpc_call *call; in rxrpc_abort_calls()
267 static void rxrpc_call_is_secure(struct rxrpc_call *call) in rxrpc_call_is_secure()
/Linux-v5.4/include/trace/events/
Drxrpc.h608 TRACE_EVENT(rxrpc_call,
744 TP_PROTO(struct rxrpc_call *call),
770 TP_PROTO(struct rxrpc_call *call, enum rxrpc_transmit_trace why),
829 TP_PROTO(struct rxrpc_call *call,
866 TP_PROTO(struct rxrpc_call *call, rxrpc_serial_t serial,
890 TP_PROTO(struct rxrpc_call *call, rxrpc_serial_t serial,
949 TP_PROTO(struct rxrpc_call *call, rxrpc_seq_t seq,
1022 TP_PROTO(struct rxrpc_call *call, enum rxrpc_receive_trace why,
1055 TP_PROTO(struct rxrpc_call *call, enum rxrpc_recvmsg_trace why,
1089 TP_PROTO(struct rxrpc_call *call, enum rxrpc_rtt_tx_trace why,
[all …]
Dafs.h497 TP_PROTO(struct rxrpc_call *rxcall, struct afs_call *call),
746 __field(struct rxrpc_call *, rx_call )
/Linux-v5.4/fs/afs/
Drxrpc.c19 static void afs_wake_up_call_waiter(struct sock *, struct rxrpc_call *, unsigned long);
20 static void afs_wake_up_async_call(struct sock *, struct rxrpc_call *, unsigned long);
23 static void afs_rx_new_call(struct sock *, struct rxrpc_call *, unsigned long);
24 static void afs_rx_discard_new_call(struct rxrpc_call *, unsigned long);
315 struct rxrpc_call *rxcall, in afs_notify_end_request_tx()
365 struct rxrpc_call *rxcall; in afs_make_call()
715 static void afs_wake_up_call_waiter(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_call_waiter()
727 static void afs_wake_up_async_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_async_call()
791 static void afs_rx_attach(struct rxrpc_call *rxcall, unsigned long user_call_ID) in afs_rx_attach()
834 static void afs_rx_discard_new_call(struct rxrpc_call *rxcall, in afs_rx_discard_new_call()
[all …]
Dinternal.h109 struct rxrpc_call *rxcall; /* RxRPC call handle */
/Linux-v5.4/Documentation/networking/
Drxrpc.txt791 struct rxrpc_call *
843 struct rxrpc_call *call);
856 struct rxrpc_call *call,
878 struct rxrpc_call *call,
913 struct rxrpc_call *call,
966 struct rxrpc_call *
996 void rxrpc_kernel_get_peer(struct socket *sock, struct rxrpc_call *call,
1004 struct rxrpc_call *call,
1014 u64 rxrpc_kernel_get_rtt(struct socket *sock, struct rxrpc_call *call);
1022 struct rxrpc_call *call,
[all …]