Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Dsmc_cdc.h77 static inline bool smc_cdc_rxed_any_close(struct smc_connection *conn) in smc_cdc_rxed_any_close()
84 struct smc_connection *conn) in smc_cdc_rxed_any_close_or_senddone()
103 struct smc_connection *conn) in smc_curs_copy()
118 struct smc_connection *conn) in smc_curs_copy_net()
133 struct smc_connection *conn) in smcd_curs_copy()
198 struct smc_connection *conn) in smc_host_cursor_to_cdc()
207 struct smc_connection *conn, in smc_host_msg_to_cdc()
224 struct smc_connection *conn) in smc_cdc_cursor_to_host()
243 struct smc_connection *conn) in smcr_cdc_msg_to_host()
257 struct smc_connection *conn) in smcd_cdc_msg_to_host()
[all …]
Dsmc_cdc.c30 struct smc_connection *conn = cdcpend->conn; in smc_cdc_tx_handler()
60 int smc_cdc_get_free_slot(struct smc_connection *conn, in smc_cdc_get_free_slot()
81 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send()
99 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send()
130 int smcr_cdc_msg_send_validation(struct smc_connection *conn, in smcr_cdc_msg_send_validation()
161 static int smcr_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smcr_cdc_get_slot_and_msg_send()
196 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send()
214 void smc_cdc_wait_pend_tx_wr(struct smc_connection *conn) in smc_cdc_wait_pend_tx_wr()
223 int smcd_cdc_msg_send(struct smc_connection *conn) in smcd_cdc_msg_send()
269 struct smc_connection *conn = &smc->conn; in smc_cdc_handle_urg_data_arrival()
[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_core.h328 static inline struct smc_connection *smc_lgr_find_conn( in smc_lgr_find_conn()
331 struct smc_connection *res = NULL; in smc_lgr_find_conn()
336 struct smc_connection *cur = rb_entry(node, in smc_lgr_find_conn()
337 struct smc_connection, alert_node); in smc_lgr_find_conn()
377 void smc_lgr_cleanup_early(struct smc_connection *conn);
387 int smc_rmb_rtoken_handling(struct smc_connection *conn, struct smc_link *link,
395 void smc_sndbuf_sync_sg_for_cpu(struct smc_connection *conn);
396 void smc_sndbuf_sync_sg_for_device(struct smc_connection *conn);
397 void smc_rmb_sync_sg_for_cpu(struct smc_connection *conn);
398 void smc_rmb_sync_sg_for_device(struct smc_connection *conn);
[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()
177 static int smc_rx_data_available_and_no_splice_pend(struct smc_connection *conn) in smc_rx_data_available_and_no_splice_pend()
192 int (*fcrit)(struct smc_connection *conn)) in smc_rx_wait()
195 struct smc_connection *conn = &smc->conn; in smc_rx_wait()
220 struct smc_connection *conn = &smc->conn; in smc_rx_recv_urg()
262 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg_data_available()
284 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg()
285 int (*func)(struct smc_connection *conn); in smc_rx_recvmsg()
Dsmc_tx.c77 struct smc_connection *conn = &smc->conn; in smc_tx_wait()
138 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg()
250 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len, in smcd_tx_ism_write()
268 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write()
291 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors()
307 static int smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcr_tx_rdma_writes()
360 static int smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcd_tx_rdma_writes()
402 static int smc_tx_rdma_writes(struct smc_connection *conn, in smc_tx_rdma_writes()
482 static int smcr_tx_sndbuf_nonempty(struct smc_connection *conn) in smcr_tx_sndbuf_nonempty()
540 static int smcd_tx_sndbuf_nonempty(struct smc_connection *conn) in smcd_tx_sndbuf_nonempty()
[all …]
Dsmc_close.c85 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr()
92 static int smc_close_final(struct smc_connection *conn) in smc_close_final()
104 int smc_close_abort(struct smc_connection *conn) in smc_close_abort()
183 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close()
193 struct smc_connection *conn = &smc->conn; in smc_close_active()
351 struct smc_connection *conn = container_of(work, in smc_close_passive_work()
352 struct smc_connection, in smc_close_passive_work()
442 struct smc_connection *conn = &smc->conn; in smc_close_shutdown_write()
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_core.c86 static void smc_lgr_add_alert_token(struct smc_connection *conn) in smc_lgr_add_alert_token()
93 struct smc_connection *cur = rb_entry(*link, in smc_lgr_add_alert_token()
94 struct smc_connection, alert_node); in smc_lgr_add_alert_token()
108 static int smcr_lgr_conn_assign_link(struct smc_connection *conn, bool first) in smcr_lgr_conn_assign_link()
150 static int smc_lgr_register_conn(struct smc_connection *conn, bool first) in smc_lgr_register_conn()
177 static void __smc_lgr_unregister_conn(struct smc_connection *conn) in __smc_lgr_unregister_conn()
190 static void smc_lgr_unregister_conn(struct smc_connection *conn) in smc_lgr_unregister_conn()
204 void smc_lgr_cleanup_early(struct smc_connection *conn) in smc_lgr_cleanup_early()
465 static int smc_write_space(struct smc_connection *conn) in smc_write_space()
482 struct smc_connection *conn = &smc->conn; in smc_switch_cursor()
[all …]
Dsmc_ism.h43 void smc_ism_set_conn(struct smc_connection *conn);
44 void smc_ism_unset_conn(struct smc_connection *conn);
Dsmc_ism.c55 void smc_ism_set_conn(struct smc_connection *conn) in smc_ism_set_conn()
65 void smc_ism_unset_conn(struct smc_connection *conn) in smc_ism_unset_conn()
300 smcd->conn = kcalloc(max_dmbs, sizeof(struct smc_connection *), in smcd_alloc_dev()
425 struct smc_connection *conn = NULL; in smcd_handle_irq()
Dsmc_close.h27 int smc_close_abort(struct smc_connection *conn);
Dsmc.h132 struct smc_connection { struct
222 struct smc_connection conn; /* smc connection */ argument
Dsmc_diag.c120 struct smc_connection *conn = &smc->conn; in __smc_diag_dump()
181 struct smc_connection *conn = &smc->conn; in __smc_diag_dump()
Dsmc_clc.c641 struct smc_connection *conn = &smc->conn; in smc_clc_send_confirm_accept()
Daf_smc.c1588 struct smc_connection *conn = &new_smc->conn; in smc_listen_rdma_reg()
2264 struct smc_connection *conn; in smc_ioctl()
/kernel/linux/linux-5.10/include/net/
Dsmc.h79 struct smc_connection **conn;