Home
last modified time | relevance | path

Searched defs:smc (Results 1 – 11 of 11) sorted by relevance

/net/smc/
Daf_smc.c112 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() local
124 struct smc_sock *smc; in smc_tcp_syn_recv_sock() local
159 const struct smc_sock *smc; in smc_hs_congested() local
213 struct smc_sock *smc = smc_sk(sk); in smc_release_cb() local
247 static void smc_fback_restore_callbacks(struct smc_sock *smc) in smc_fback_restore_callbacks()
262 static void smc_restore_fallback_changes(struct smc_sock *smc) in smc_restore_fallback_changes()
271 static int __smc_release(struct smc_sock *smc) in __smc_release()
314 struct smc_sock *smc; in smc_release() local
368 struct smc_sock *smc; in smc_sock_alloc() local
402 struct smc_sock *smc; in smc_bind() local
[all …]
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() local
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()
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; member
118 struct smc_sock *smc = priv->smc; in smc_rx_pipe_buf_release() local
150 struct smc_sock *smc) in smc_rx_splice()
255 int smc_rx_wait(struct smc_sock *smc, long *timeo, in smc_rx_wait()
281 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg()
325 static bool smc_rx_recvmsg_data_available(struct smc_sock *smc) in smc_rx_recvmsg_data_available()
344 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, in smc_rx_recvmsg()
510 void smc_rx_init(struct smc_sock *smc) in smc_rx_init()
Dsmc_tx.c44 struct smc_sock *smc = smc_sk(sk); in smc_tx_write_space() local
67 void smc_tx_sndbuf_nonfull(struct smc_sock *smc) in smc_tx_sndbuf_nonfull()
77 static int smc_tx_wait(struct smc_sock *smc, int flags) in smc_tx_wait()
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()
159 static bool smc_tx_should_cork(struct smc_sock *smc, struct msghdr *msg) in smc_tx_should_cork()
181 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len) in smc_tx_sendmsg()
484 struct smc_sock *smc = container_of(conn, struct smc_sock, in smc_tx_rdma_writes() local
562 struct smc_sock *smc = in smcr_tx_sndbuf_nonempty() local
626 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in __smc_tx_sndbuf_nonempty() local
[all …]
Dsmc_cdc.c32 struct smc_sock *smc; in smc_cdc_tx_handler() local
238 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_msg_send() local
279 static void smc_cdc_handle_urg_data_arrival(struct smc_sock *smc, in smc_cdc_handle_urg_data_arrival()
299 static void smc_cdc_msg_validate(struct smc_sock *smc, struct smc_cdc_msg *cdc, in smc_cdc_msg_validate()
321 static void smc_cdc_msg_recv_action(struct smc_sock *smc, in smc_cdc_msg_recv_action()
395 static void smc_cdc_msg_recv(struct smc_sock *smc, struct smc_cdc_msg *cdc) in smc_cdc_msg_recv()
415 struct smc_sock *smc; in smcd_cdc_rx_tsklet() local
443 struct smc_sock *smc; in smc_cdc_rx_handler() local
Dsmc_stats.h85 struct smc_stats_tech smc[2]; member
190 #define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \ argument
193 #define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \ argument
196 #define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \ argument
199 #define SMC_STAT_RMB_TX_PEER_FULL(smc, is_smcd) \ argument
202 #define SMC_STAT_RMB_TX_FULL(smc, is_smcd) \ argument
205 #define SMC_STAT_RMB_TX_PEER_SIZE_SMALL(smc, is_smcd) \ argument
208 #define SMC_STAT_RMB_TX_SIZE_SMALL(smc, is_smcd) \ argument
211 #define SMC_STAT_RMB_RX_SIZE_SMALL(smc, is_smcd) \ argument
214 #define SMC_STAT_RMB_RX_FULL(smc, is_smcd) \ argument
Dsmc_core.c169 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_lgr_register_conn() local
198 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in __smc_lgr_unregister_conn() local
826 static int smc_lgr_create(struct smc_sock *smc, struct smc_init_info *ini) in smc_lgr_create()
967 static int smc_switch_cursor(struct smc_sock *smc, struct smc_cdc_tx_pend *pend, in smc_switch_cursor()
1036 struct smc_sock *smc; in smc_switch_conns() local
1417 static void smc_sk_wake_ups(struct smc_sock *smc) in smc_sk_wake_ups()
1427 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_conn_kill() local
1470 struct smc_sock *smc; in __smc_lgr_terminate() local
1653 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_conn_abort_work() local
1869 int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini) in smc_conn_create()
[all …]
Dsmc_diag.c36 struct smc_sock *smc = smc_sk(sk); in smc_diag_msg_common_fill() local
76 struct smc_sock *smc = smc_sk(sk); in __smc_diag_dump() local
Dsmc_clc.c677 int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen, in smc_clc_wait_msg()
787 int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info, u8 version) in smc_clc_send_decline()
829 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini) in smc_clc_send_proposal()
1010 static int smc_clc_send_confirm_accept(struct smc_sock *smc, in smc_clc_send_confirm_accept()
1142 int smc_clc_send_confirm(struct smc_sock *smc, bool clnt_first_contact, in smc_clc_send_confirm()
Dsmc.h291 static inline void smc_init_saved_callbacks(struct smc_sock *smc) in smc_init_saved_callbacks()
355 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
361 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec()
Dsmc_llc.c2137 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc) in smc_llc_lgr_init()