/Linux-v4.19/net/smc/ |
D | smc_close.h | 22 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);
|
D | af_smc.c | 54 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() 100 .obj_size = sizeof(struct smc_sock), 112 .obj_size = sizeof(struct smc_sock), 121 struct smc_sock *smc; in smc_release() 184 struct smc_sock *smc; in smc_sock_alloc() 215 struct smc_sock *smc; in smc_bind() 287 static void smc_copy_sock_settings_to_clc(struct smc_sock *smc) in smc_copy_sock_settings_to_clc() 297 static void smc_copy_sock_settings_to_smc(struct smc_sock *smc) in smc_copy_sock_settings_to_smc() 321 static int smc_clnt_conf_first_link(struct smc_sock *smc) in smc_clnt_conf_first_link() 382 static void smcr_conn_save_peer_info(struct smc_sock *smc, in smcr_conn_save_peer_info() [all …]
|
D | smc.h | 199 struct smc_sock { /* smc sock container */ struct 203 struct smc_sock *listen_smc; /* listen parent */ argument 224 static inline struct smc_sock *smc_sk(const struct sock *sk) in smc_sk() argument 226 return (struct smc_sock *)sk; in smc_sk() 252 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec() 258 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
|
D | smc_rx.h | 20 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,
|
D | smc_cdc.c | 38 struct smc_sock *smc; in smc_cdc_tx_handler() 45 smc = container_of(conn, struct smc_sock, conn); in smc_cdc_tx_handler() 179 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_msg_send() 218 static void smc_cdc_handle_urg_data_arrival(struct smc_sock *smc, in smc_cdc_handle_urg_data_arrival() 238 static void smc_cdc_msg_recv_action(struct smc_sock *smc, in smc_cdc_msg_recv_action() 316 static void smc_cdc_msg_recv(struct smc_sock *smc, struct smc_cdc_msg *cdc) in smc_cdc_msg_recv() 335 struct smc_sock *smc; in smcd_cdc_rx_tsklet() 341 smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_rx_tsklet() 361 struct smc_sock *smc; in smc_cdc_rx_handler() 375 smc = container_of(conn, struct smc_sock, conn); in smc_cdc_rx_handler()
|
D | smc_clc.h | 184 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen, 186 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info); 187 int smc_clc_send_proposal(struct smc_sock *smc, int smc_type, 190 int smc_clc_send_confirm(struct smc_sock *smc); 191 int smc_clc_send_accept(struct smc_sock *smc, int srv_first_contact);
|
D | smc_tx.h | 31 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);
|
D | smc_rx.c | 53 static int smc_rx_update_consumer(struct smc_sock *smc, in smc_rx_update_consumer() 94 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) in smc_rx_update_cons() 104 struct smc_sock *smc; 112 struct smc_sock *smc = priv->smc; in smc_rx_pipe_buf_release() 153 struct smc_sock *smc) in smc_rx_splice() 200 int smc_rx_wait(struct smc_sock *smc, long *timeo, in smc_rx_wait() 223 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg() 273 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, in smc_rx_recvmsg() 429 void smc_rx_init(struct smc_sock *smc) in smc_rx_init()
|
D | smc_close.c | 34 static void smc_close_stream_wait(struct smc_sock *smc, long timeout) in smc_close_stream_wait() 62 void smc_close_wake_tx_prepared(struct smc_sock *smc) in smc_close_wake_tx_prepared() 96 static void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort() 161 int smc_close_active(struct smc_sock *smc) in smc_close_active() 273 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received() 322 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work() 415 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write() 475 void smc_close_init(struct smc_sock *smc) in smc_close_init()
|
D | smc_tx.c | 42 struct smc_sock *smc = smc_sk(sk); in smc_tx_write_space() 63 void smc_tx_sndbuf_nonfull(struct smc_sock *smc) in smc_tx_sndbuf_nonfull() 73 static int smc_tx_wait(struct smc_sock *smc, int flags) in smc_tx_wait() 124 static bool smc_tx_is_corked(struct smc_sock *smc) in smc_tx_is_corked() 134 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len) in smc_tx_sendmsg() 496 struct smc_sock *smc = in smcr_tx_sndbuf_nonempty() 497 container_of(conn, struct smc_sock, conn); in smcr_tx_sndbuf_nonempty() 571 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_tx_work() 627 void smc_tx_init(struct smc_sock *smc) in smc_tx_init()
|
D | smc_core.h | 242 struct smc_sock; 251 int smc_buf_create(struct smc_sock *smc, bool is_smcd); 264 int smc_conn_create(struct smc_sock *smc, bool is_smcd, int srv_first_contact,
|
D | smc_core.c | 95 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_lgr_register_conn() 115 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_unregister_conn() 197 static int smc_lgr_create(struct smc_sock *smc, bool is_smcd, in smc_lgr_create() 435 struct smc_sock *smc; in __smc_lgr_terminate() 450 smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_terminate() 581 int smc_conn_create(struct smc_sock *smc, bool is_smcd, int srv_first_contact, in smc_conn_create() 807 static int __smc_buf_create(struct smc_sock *smc, bool is_smcd, bool is_rmb) in __smc_buf_create() 928 int smc_buf_create(struct smc_sock *smc, bool is_smcd) in smc_buf_create()
|
D | smc_clc.c | 267 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen, in smc_clc_wait_msg() 354 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info) in smc_clc_send_decline() 384 int smc_clc_send_proposal(struct smc_sock *smc, int smc_type, in smc_clc_send_proposal() 461 int smc_clc_send_confirm(struct smc_sock *smc) in smc_clc_send_confirm() 532 int smc_clc_send_accept(struct smc_sock *new_smc, int srv_first_contact) in smc_clc_send_accept()
|
D | smc_diag.c | 39 struct smc_sock *smc = smc_sk(sk); in smc_diag_msg_common_fill() 81 struct smc_sock *smc = smc_sk(sk); in __smc_diag_dump()
|