Home
last modified time | relevance | path

Searched refs:smc_sock (Results 1 – 17 of 17) sorted by relevance

/linux/net/smc/
A Dsmc_close.h22 void smc_close_wake_tx_prepared(struct smc_sock *smc);
23 int smc_close_active(struct smc_sock *smc);
24 int smc_close_shutdown_write(struct smc_sock *smc);
25 void smc_close_init(struct smc_sock *smc);
26 void smc_clcsock_release(struct smc_sock *smc);
28 void smc_close_active_abort(struct smc_sock *smc);
A Daf_smc.c185 struct smc_sock *smc; in smc_release()
235 struct smc_sock *smc; in smc_sock_alloc()
267 struct smc_sock *smc; in smc_bind()
1199 struct smc_sock *smc = container_of(work, struct smc_sock, in smc_connect_work()
1249 struct smc_sock *smc; in smc_connect()
1940 struct smc_sock *new_smc = container_of(work, struct smc_sock, in smc_listen_work()
2057 struct smc_sock *lsmc = container_of(work, struct smc_sock, in smc_tcp_listen_work()
2108 struct smc_sock *smc; in smc_listen()
2225 struct smc_sock *smc; in smc_getname()
2239 struct smc_sock *smc; in smc_sendmsg()
[all …]
A Dsmc_close.c24 void smc_clcsock_release(struct smc_sock *smc) in smc_clcsock_release()
49 static void smc_close_stream_wait(struct smc_sock *smc, long timeout) in smc_close_stream_wait()
78 void smc_close_wake_tx_prepared(struct smc_sock *smc) in smc_close_wake_tx_prepared()
111 static void smc_close_cancel_work(struct smc_sock *smc) in smc_close_cancel_work()
124 void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort()
189 int smc_close_active(struct smc_sock *smc) in smc_close_active()
305 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received()
354 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work()
440 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write()
496 void smc_close_init(struct smc_sock *smc) in smc_close_init()
A Dsmc_rx.c55 static int smc_rx_update_consumer(struct smc_sock *smc, in smc_rx_update_consumer()
96 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) in smc_rx_update_cons()
106 struct smc_sock *smc;
114 struct smc_sock *smc = priv->smc; in smc_rx_pipe_buf_release()
146 struct smc_sock *smc) in smc_rx_splice()
193 int smc_rx_wait(struct smc_sock *smc, long *timeo, in smc_rx_wait()
219 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg()
263 static bool smc_rx_recvmsg_data_available(struct smc_sock *smc) in smc_rx_recvmsg_data_available()
282 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, in smc_rx_recvmsg()
450 void smc_rx_init(struct smc_sock *smc) in smc_rx_init()
A Dsmc_cdc.c31 struct smc_sock *smc; in smc_cdc_tx_handler()
34 smc = container_of(conn, struct smc_sock, conn); in smc_cdc_tx_handler()
225 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_msg_send()
266 static void smc_cdc_handle_urg_data_arrival(struct smc_sock *smc, in smc_cdc_handle_urg_data_arrival()
286 static void smc_cdc_msg_validate(struct smc_sock *smc, struct smc_cdc_msg *cdc, in smc_cdc_msg_validate()
308 static void smc_cdc_msg_recv_action(struct smc_sock *smc, in smc_cdc_msg_recv_action()
378 static void smc_cdc_msg_recv(struct smc_sock *smc, struct smc_cdc_msg *cdc) in smc_cdc_msg_recv()
398 struct smc_sock *smc; in smcd_cdc_rx_tsklet()
406 smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_rx_tsklet()
426 struct smc_sock *smc; in smc_cdc_rx_handler()
[all …]
A Dsmc.h227 struct smc_sock { /* smc sock container */ struct
233 struct smc_sock *listen_smc; /* listen parent */ argument
261 static inline struct smc_sock *smc_sk(const struct sock *sk) in smc_sk() argument
263 return (struct smc_sock *)sk; in smc_sk()
295 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
301 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
A Dsmc_tx.c45 struct smc_sock *smc = smc_sk(sk); in smc_tx_write_space()
68 void smc_tx_sndbuf_nonfull(struct smc_sock *smc) in smc_tx_sndbuf_nonfull()
78 static int smc_tx_wait(struct smc_sock *smc, int flags) in smc_tx_wait()
128 static bool smc_tx_is_corked(struct smc_sock *smc) in smc_tx_is_corked()
138 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len) in smc_tx_sendmsg()
439 struct smc_sock *smc = container_of(conn, struct smc_sock, in smc_tx_rdma_writes()
517 struct smc_sock *smc = in smcr_tx_sndbuf_nonempty()
518 container_of(conn, struct smc_sock, conn); in smcr_tx_sndbuf_nonempty()
593 struct smc_sock *smc = container_of(conn, struct smc_sock, in smc_tx_sndbuf_nonempty()
608 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_tx_work()
[all …]
A Dsmc_rx.h20 void smc_rx_init(struct smc_sock *smc);
22 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg,
24 int smc_rx_wait(struct smc_sock *smc, long *timeo,
A Dsmc_tracepoint.h18 TP_PROTO(const struct smc_sock *smc, int fallback_rsn),
43 TP_PROTO(const struct smc_sock *smc, size_t len),
66 TP_PROTO(const struct smc_sock *smc, size_t len),
73 TP_PROTO(const struct smc_sock *smc, size_t len),
A Dsmc_tx.h31 void smc_tx_init(struct smc_sock *smc);
32 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len);
34 void smc_tx_sndbuf_nonfull(struct smc_sock *smc);
A Dsmc_clc.h378 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen,
380 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info, u8 version);
381 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini);
382 int smc_clc_send_confirm(struct smc_sock *smc, bool clnt_first_contact,
384 int smc_clc_send_accept(struct smc_sock *smc, bool srv_first_contact,
A Dsmc_core.c168 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_lgr_register_conn()
195 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_unregister_conn()
1006 struct smc_sock *smc; in smc_switch_conns()
1033 smc = container_of(conn, struct smc_sock, conn); in smc_switch_conns()
1313 static void smc_sk_wake_ups(struct smc_sock *smc) in smc_sk_wake_ups()
1323 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_conn_kill()
1366 struct smc_sock *smc; in __smc_lgr_terminate()
1381 smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_terminate()
1564 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_conn_abort_work()
1767 int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini) in smc_conn_create()
[all …]
A Dsmc_core.h468 struct smc_sock;
479 int smc_buf_create(struct smc_sock *smc, bool is_smcd);
496 int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini);
A Dsmc_clc.c651 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen, in smc_clc_wait_msg()
761 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info, u8 version) in smc_clc_send_decline()
803 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini) in smc_clc_send_proposal()
977 static int smc_clc_send_confirm_accept(struct smc_sock *smc, in smc_clc_send_confirm_accept()
1110 int smc_clc_send_confirm(struct smc_sock *smc, bool clnt_first_contact, in smc_clc_send_confirm()
1135 int smc_clc_send_accept(struct smc_sock *new_smc, bool srv_first_contact, in smc_clc_send_accept()
A Dsmc_diag.c36 struct smc_sock *smc = smc_sk(sk); in smc_diag_msg_common_fill()
76 struct smc_sock *smc = smc_sk(sk); in __smc_diag_dump()
A Dsmc_llc.h90 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc);
A Dsmc_llc.c2109 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc) in smc_llc_lgr_init()

Completed in 33 milliseconds