Home
last modified time | relevance | path

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

/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.c130 struct smc_sock *smc; in smc_tcp_syn_recv_sock()
318 struct smc_sock *smc; in smc_release()
430 struct smc_sock *smc; in smc_bind()
853 struct smc_sock *smc; in smc_fback_state_change()
865 struct smc_sock *smc; in smc_fback_data_ready()
877 struct smc_sock *smc; in smc_fback_write_space()
889 struct smc_sock *smc; in smc_fback_error_report()
1600 struct smc_sock *smc = container_of(work, struct smc_sock, in smc_connect_work()
1652 struct smc_sock *smc; in smc_connect()
2443 struct smc_sock *new_smc = container_of(work, struct smc_sock, in smc_listen_work()
[all …]
A Dsmc_tx.c44 struct smc_sock *smc = smc_sk(sk); in smc_tx_write_space()
67 void smc_tx_sndbuf_nonfull(struct smc_sock *smc) in smc_tx_sndbuf_nonfull()
127 static bool smc_tx_is_corked(struct smc_sock *smc) in smc_tx_is_corked()
145 static bool smc_should_autocork(struct smc_sock *smc) in smc_should_autocork()
484 struct smc_sock *smc = container_of(conn, struct smc_sock, in smc_tx_rdma_writes()
562 struct smc_sock *smc = in smcr_tx_sndbuf_nonempty()
563 container_of(conn, struct smc_sock, conn); in smcr_tx_sndbuf_nonempty()
626 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_tx_sndbuf_nonempty()
664 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_tx_pending()
685 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_tx_work()
[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()
81 void smc_close_wake_tx_prepared(struct smc_sock *smc) in smc_close_wake_tx_prepared()
114 static void smc_close_cancel_work(struct smc_sock *smc) in smc_close_cancel_work()
128 void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort()
193 int smc_close_active(struct smc_sock *smc) in smc_close_active()
312 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received()
361 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work()
447 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write()
503 void smc_close_init(struct smc_sock *smc) in smc_close_init()
A Dsmc_cdc.c33 struct smc_sock *smc; in smc_cdc_tx_handler()
37 smc = container_of(conn, struct smc_sock, conn); in smc_cdc_tx_handler()
239 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_msg_send()
288 static void smc_cdc_handle_urg_data_arrival(struct smc_sock *smc, in smc_cdc_handle_urg_data_arrival()
308 static void smc_cdc_msg_validate(struct smc_sock *smc, struct smc_cdc_msg *cdc, in smc_cdc_msg_validate()
330 static void smc_cdc_msg_recv_action(struct smc_sock *smc, in smc_cdc_msg_recv_action()
427 static void smc_cdc_msg_recv(struct smc_sock *smc, struct smc_cdc_msg *cdc) in smc_cdc_msg_recv()
447 struct smc_sock *smc; in smcd_cdc_rx_tsklet()
455 smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_rx_tsklet()
475 struct smc_sock *smc; in smc_cdc_rx_handler()
[all …]
A Dsmc.h285 struct smc_sock { /* smc sock container */ struct
300 struct smc_sock *listen_smc; /* listen parent */ argument
333 #define smc_sk(ptr) container_of_const(ptr, struct smc_sock, sk) argument
335 static inline void smc_init_saved_callbacks(struct smc_sock *smc) in smc_init_saved_callbacks()
343 static inline struct smc_sock *smc_clcsock_user_data(const struct sock *clcsk) in smc_clcsock_user_data()
345 return (struct smc_sock *) in smc_clcsock_user_data()
399 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
405 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
A Dsmc_rx.c59 static int smc_rx_update_consumer(struct smc_sock *smc, in smc_rx_update_consumer()
100 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) in smc_rx_update_cons()
110 struct smc_sock *smc;
118 struct smc_sock *smc = priv->smc; in smc_rx_pipe_buf_release()
150 struct smc_sock *smc) in smc_rx_splice()
256 int smc_rx_wait(struct smc_sock *smc, long *timeo, size_t peeked, in smc_rx_wait()
282 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg()
326 static bool smc_rx_recvmsg_data_available(struct smc_sock *smc, size_t peeked) in smc_rx_recvmsg_data_available()
345 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, in smc_rx_recvmsg()
515 void smc_rx_init(struct smc_sock *smc) in smc_rx_init()
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, size_t peeked,
A Dsmc_tx.h32 void smc_tx_init(struct smc_sock *smc);
33 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len);
35 void smc_tx_sndbuf_nonfull(struct smc_sock *smc);
A Dsmc_tracepoint.h18 TP_PROTO(const struct smc_sock *smc, int fallback_rsn),
46 TP_PROTO(const struct smc_sock *smc, size_t len),
73 TP_PROTO(const struct smc_sock *smc, size_t len),
80 TP_PROTO(const struct smc_sock *smc, size_t len),
A Dsmc_clc.h447 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen,
449 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info, u8 version);
450 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini);
451 int smc_clc_send_confirm(struct smc_sock *smc, bool clnt_first_contact,
453 int smc_clc_send_accept(struct smc_sock *smc, bool srv_first_contact,
455 int smc_clc_srv_v2x_features_validate(struct smc_sock *smc,
A Dsmc_core.c169 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_lgr_register_conn()
198 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_unregister_conn()
1088 struct smc_sock *smc; in smc_switch_conns()
1115 smc = container_of(conn, struct smc_sock, conn); in smc_switch_conns()
1211 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_buf_unuse()
1493 static void smc_sk_wake_ups(struct smc_sock *smc) in smc_sk_wake_ups()
1503 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_conn_kill()
1548 struct smc_sock *smc; in __smc_lgr_terminate()
1563 smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_terminate()
1735 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_conn_abort_work()
[all …]
A Dsmc_inet.c28 .obj_size = sizeof(struct smc_sock),
64 struct smc_sock smc;
A Dsmc_core.h557 struct smc_sock;
570 int smc_buf_create(struct smc_sock *smc, bool is_smcd);
571 int smcd_buf_attach(struct smc_sock *smc);
586 int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini);
A Dsmc_clc.c688 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen, in smc_clc_wait_msg()
803 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info, u8 version) in smc_clc_send_decline()
845 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini) in smc_clc_send_proposal()
1153 static int smc_clc_send_confirm_accept(struct smc_sock *smc, in smc_clc_send_confirm_accept()
1211 int smc_clc_send_confirm(struct smc_sock *smc, bool clnt_first_contact, in smc_clc_send_confirm()
1236 int smc_clc_send_accept(struct smc_sock *new_smc, bool srv_first_contact, in smc_clc_send_accept()
1252 int smc_clc_srv_v2x_features_validate(struct smc_sock *smc, in smc_clc_srv_v2x_features_validate()
A Dsmc_diag.c37 struct smc_sock *smc = smc_sk(sk); in smc_diag_msg_common_fill()
77 struct smc_sock *smc = smc_sk(sk); in __smc_diag_dump()
A Dsmc_llc.h91 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc);
A Dsmc_llc.c2146 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc) in smc_llc_lgr_init()

Completed in 46 milliseconds