Home
last modified time | relevance | path

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

/Linux-v4.19/net/smc/
Dsmc_cdc.h67 static inline bool smc_cdc_rxed_any_close(struct smc_connection *conn) in smc_cdc_rxed_any_close()
74 struct smc_connection *conn) in smc_cdc_rxed_any_close_or_senddone()
92 struct smc_connection *conn) in smc_curs_read()
110 struct smc_connection *conn) in smc_curs_copy()
125 struct smc_connection *conn) in smc_curs_copy_net()
165 struct smc_connection *conn) in smc_host_cursor_to_cdc()
177 struct smc_connection *conn) in smc_host_msg_to_cdc()
191 struct smc_connection *conn) in smc_cdc_cursor_to_host()
210 struct smc_connection *conn) in smcr_cdc_msg_to_host()
235 struct smc_connection *conn) in smc_cdc_msg_to_host()
[all …]
Dsmc_core.h216 static inline struct smc_connection *smc_lgr_find_conn( in smc_lgr_find_conn()
219 struct smc_connection *res = NULL; in smc_lgr_find_conn()
224 struct smc_connection *cur = rb_entry(node, in smc_lgr_find_conn()
225 struct smc_connection, alert_node); in smc_lgr_find_conn()
253 int smc_rmb_rtoken_handling(struct smc_connection *conn,
257 void smc_sndbuf_sync_sg_for_cpu(struct smc_connection *conn);
258 void smc_sndbuf_sync_sg_for_device(struct smc_connection *conn);
259 void smc_rmb_sync_sg_for_cpu(struct smc_connection *conn);
260 void smc_rmb_sync_sg_for_device(struct smc_connection *conn);
263 void smc_conn_free(struct smc_connection *conn);
[all …]
Dsmc_cdc.c25 struct smc_connection *conn; /* socket connection */
37 struct smc_connection *conn = cdcpend->conn; in smc_cdc_tx_handler()
62 int smc_cdc_get_free_slot(struct smc_connection *conn, in smc_cdc_get_free_slot()
77 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send()
95 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send()
118 static int smcr_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smcr_cdc_get_slot_and_msg_send()
131 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send()
149 struct smc_connection *conn = (struct smc_connection *)data; in smc_cdc_tx_filter()
164 void smc_cdc_tx_dismiss_slots(struct smc_connection *conn) in smc_cdc_tx_dismiss_slots()
177 int smcd_cdc_msg_send(struct smc_connection *conn) in smcd_cdc_msg_send()
[all …]
Dsmc_tx.h21 static inline int smc_tx_prepared_sends(struct smc_connection *conn) in smc_tx_prepared_sends()
33 int smc_tx_sndbuf_nonempty(struct smc_connection *conn);
35 void smc_tx_consumer_update(struct smc_connection *conn, bool force);
36 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len,
Dsmc_tx.c76 struct smc_connection *conn = &smc->conn; in smc_tx_wait()
138 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg()
251 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len, in smcd_tx_ism_write()
269 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write()
299 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors()
315 static int smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcr_tx_rdma_writes()
364 static int smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcd_tx_rdma_writes()
406 static int smc_tx_rdma_writes(struct smc_connection *conn) in smc_tx_rdma_writes()
485 static int smcr_tx_sndbuf_nonempty(struct smc_connection *conn) in smcr_tx_sndbuf_nonempty()
532 static int smcd_tx_sndbuf_nonempty(struct smc_connection *conn) in smcd_tx_sndbuf_nonempty()
[all …]
Dsmc_rx.c56 struct smc_connection *conn = &smc->conn; in smc_rx_update_consumer()
96 struct smc_connection *conn = &smc->conn; in smc_rx_update_cons()
113 struct smc_connection *conn; in smc_rx_pipe_buf_release()
186 static int smc_rx_data_available_and_no_splice_pend(struct smc_connection *conn) in smc_rx_data_available_and_no_splice_pend()
201 int (*fcrit)(struct smc_connection *conn)) in smc_rx_wait()
204 struct smc_connection *conn = &smc->conn; in smc_rx_wait()
226 struct smc_connection *conn = &smc->conn; in smc_rx_recv_urg()
278 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg()
279 int (*func)(struct smc_connection *conn); in smc_rx_recvmsg()
Dsmc_close.c69 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr()
76 static int smc_close_final(struct smc_connection *conn) in smc_close_final()
86 static int smc_close_abort(struct smc_connection *conn) in smc_close_abort()
155 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close()
165 struct smc_connection *conn = &smc->conn; in smc_close_active()
319 struct smc_connection *conn = container_of(work, in smc_close_passive_work()
320 struct smc_connection, in smc_close_passive_work()
417 struct smc_connection *conn = &smc->conn; in smc_close_shutdown_write()
Dsmc_core.c67 static void smc_lgr_add_alert_token(struct smc_connection *conn) in smc_lgr_add_alert_token()
74 struct smc_connection *cur = rb_entry(*link, in smc_lgr_add_alert_token()
75 struct smc_connection, alert_node); in smc_lgr_add_alert_token()
93 static void smc_lgr_register_conn(struct smc_connection *conn) in smc_lgr_register_conn()
113 static void __smc_lgr_unregister_conn(struct smc_connection *conn) in __smc_lgr_unregister_conn()
127 static void smc_lgr_unregister_conn(struct smc_connection *conn) in smc_lgr_unregister_conn()
294 static void smc_buf_unuse(struct smc_connection *conn) in smc_buf_unuse()
316 void smc_conn_free(struct smc_connection *conn) in smc_conn_free()
434 struct smc_connection *conn; in __smc_lgr_terminate()
449 conn = rb_entry(node, struct smc_connection, alert_node); in __smc_lgr_terminate()
[all …]
Dsmc_rx.h25 int (*fcrit)(struct smc_connection *conn));
26 static inline int smc_rx_data_available(struct smc_connection *conn) in smc_rx_data_available()
Dsmc_ism.h39 void smc_ism_set_conn(struct smc_connection *conn);
40 void smc_ism_unset_conn(struct smc_connection *conn);
Dsmc_ism.c42 void smc_ism_set_conn(struct smc_connection *conn) in smc_ism_set_conn()
52 void smc_ism_unset_conn(struct smc_connection *conn) in smc_ism_unset_conn()
253 smcd->conn = kcalloc(max_dmbs, sizeof(struct smc_connection *), in smcd_alloc_dev()
339 struct smc_connection *conn = NULL; in smcd_handle_irq()
Dsmc.h121 struct smc_connection { struct
202 struct smc_connection conn; /* smc connection */ argument
Dsmc_diag.c112 struct smc_connection *conn = &smc->conn; in __smc_diag_dump()
173 struct smc_connection *conn = &smc->conn; in __smc_diag_dump()
Dsmc_clc.c463 struct smc_connection *conn = &smc->conn; in smc_clc_send_confirm()
534 struct smc_connection *conn = &new_smc->conn; in smc_clc_send_accept()
Daf_smc.c1710 struct smc_connection *conn; in smc_ioctl()
/Linux-v4.19/include/net/
Dsmc.h73 struct smc_connection **conn;