Home
last modified time | relevance | path

Searched refs:smc_connection (Results 1 – 11 of 11) sorted by relevance

/net/smc/
Dsmc_cdc.h53 static inline bool smc_cdc_rxed_any_close(struct smc_connection *conn) in smc_cdc_rxed_any_close()
60 struct smc_connection *conn) in smc_cdc_rxed_any_close_or_senddone()
78 struct smc_connection *conn) in smc_curs_read()
94 struct smc_connection *conn) in smc_curs_read_net()
110 struct smc_connection *conn) in smc_curs_write()
124 struct smc_connection *conn) in smc_curs_write_net()
151 struct smc_connection *conn) in smc_host_cursor_to_cdc()
163 struct smc_connection *conn) in smc_host_msg_to_cdc()
177 struct smc_connection *conn) in smc_cdc_cursor_to_host()
196 struct smc_connection *conn) in smc_cdc_msg_to_host()
[all …]
Dsmc_core.h159 static inline struct smc_connection *smc_lgr_find_conn( in smc_lgr_find_conn()
162 struct smc_connection *res = NULL; in smc_lgr_find_conn()
167 struct smc_connection *cur = rb_entry(node, in smc_lgr_find_conn()
168 struct smc_connection, alert_node); in smc_lgr_find_conn()
191 int smc_rmb_rtoken_handling(struct smc_connection *conn,
193 void smc_sndbuf_sync_sg_for_cpu(struct smc_connection *conn);
194 void smc_sndbuf_sync_sg_for_device(struct smc_connection *conn);
195 void smc_rmb_sync_sg_for_cpu(struct smc_connection *conn);
196 void smc_rmb_sync_sg_for_device(struct smc_connection *conn);
Dsmc_cdc.c25 struct smc_connection *conn; /* socket connection */
74 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send()
92 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send()
116 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send()
133 struct smc_connection *conn = (struct smc_connection *)data; in smc_cdc_tx_filter()
148 void smc_cdc_tx_dismiss_slots(struct smc_connection *conn) in smc_cdc_tx_dismiss_slots()
157 bool smc_cdc_tx_has_pending(struct smc_connection *conn) in smc_cdc_tx_has_pending()
177 struct smc_connection *conn = &smc->conn; in smc_cdc_msg_recv_action()
253 struct smc_connection *connection; in smc_cdc_msg_recv()
Dsmc_core.c41 static void smc_lgr_add_alert_token(struct smc_connection *conn) in smc_lgr_add_alert_token()
48 struct smc_connection *cur = rb_entry(*link, in smc_lgr_add_alert_token()
49 struct smc_connection, alert_node); in smc_lgr_add_alert_token()
67 static void smc_lgr_register_conn(struct smc_connection *conn) in smc_lgr_register_conn()
87 static void __smc_lgr_unregister_conn(struct smc_connection *conn) in __smc_lgr_unregister_conn()
101 static void smc_lgr_unregister_conn(struct smc_connection *conn) in smc_lgr_unregister_conn()
221 static void smc_buf_unuse(struct smc_connection *conn) in smc_buf_unuse()
235 void smc_conn_free(struct smc_connection *conn) in smc_conn_free()
314 struct smc_connection *conn; in smc_lgr_terminate()
331 conn = rb_entry(node, struct smc_connection, alert_node); in smc_lgr_terminate()
[all …]
Dsmc_tx.h21 static inline int smc_tx_prepared_sends(struct smc_connection *conn) in smc_tx_prepared_sends()
32 int smc_tx_sndbuf_nonempty(struct smc_connection *conn);
34 void smc_tx_consumer_update(struct smc_connection *conn);
Dsmc_close.c89 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr()
96 static int smc_close_final(struct smc_connection *conn) in smc_close_final()
106 static int smc_close_abort(struct smc_connection *conn) in smc_close_abort()
168 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close()
178 struct smc_connection *conn = &smc->conn; in smc_close_active()
326 struct smc_connection *conn = container_of(work, in smc_close_passive_work()
327 struct smc_connection, in smc_close_passive_work()
416 struct smc_connection *conn = &smc->conn; in smc_close_shutdown_write()
Dsmc_tx.c71 struct smc_connection *conn = &smc->conn; in smc_tx_wait_memory()
125 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg()
228 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write()
257 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors()
275 static int smc_tx_rdma_writes(struct smc_connection *conn) in smc_tx_rdma_writes()
391 int smc_tx_sndbuf_nonempty(struct smc_connection *conn) in smc_tx_sndbuf_nonempty()
435 struct smc_connection *conn = container_of(to_delayed_work(work), in smc_tx_work()
436 struct smc_connection, in smc_tx_work()
449 void smc_tx_consumer_update(struct smc_connection *conn) in smc_tx_consumer_update()
Dsmc.h115 struct smc_connection { struct
174 struct smc_connection conn; /* smc connection */ argument
273 void smc_conn_free(struct smc_connection *conn);
Dsmc_rx.c57 struct smc_connection *conn = &smc->conn; in smc_rx_wait_data()
85 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg()
Dsmc_clc.c187 struct smc_connection *conn = &smc->conn; in smc_clc_send_confirm()
238 struct smc_connection *conn = &new_smc->conn; in smc_clc_send_accept()
Dsmc_diag.c89 struct smc_connection *conn = &smc->conn; in __smc_diag_dump()