/linux-5.19.10/net/smc/ |
D | smc_cdc.h | 77 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 …]
|
D | smc_tx.h | 21 static inline int smc_tx_prepared_sends(struct smc_connection *conn) in smc_tx_prepared_sends() 30 void smc_tx_pending(struct smc_connection *conn); 36 int smc_tx_sndbuf_nonempty(struct smc_connection *conn); 38 void smc_tx_consumer_update(struct smc_connection *conn, bool force); 39 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len,
|
D | smc_cdc.c | 30 struct smc_connection *conn = cdcpend->conn; in smc_cdc_tx_handler() 70 int smc_cdc_get_free_slot(struct smc_connection *conn, in smc_cdc_get_free_slot() 91 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send() 109 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send() 140 int smcr_cdc_msg_send_validation(struct smc_connection *conn, in smcr_cdc_msg_send_validation() 171 static int smcr_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smcr_cdc_get_slot_and_msg_send() 206 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send() 225 void smc_cdc_wait_pend_tx_wr(struct smc_connection *conn) in smc_cdc_wait_pend_tx_wr() 234 int smcd_cdc_msg_send(struct smc_connection *conn) in smcd_cdc_msg_send() 280 struct smc_connection *conn = &smc->conn; in smc_cdc_handle_urg_data_arrival() [all …]
|
D | smc_core.h | 391 static inline struct smc_connection *smc_lgr_find_conn( in smc_lgr_find_conn() 394 struct smc_connection *res = NULL; in smc_lgr_find_conn() 399 struct smc_connection *cur = rb_entry(node, in smc_lgr_find_conn() 400 struct smc_connection, alert_node); in smc_lgr_find_conn() 417 static inline bool smc_conn_lgr_valid(struct smc_connection *conn) in smc_conn_lgr_valid() 510 int smc_rmb_rtoken_handling(struct smc_connection *conn, struct smc_link *link, 518 void smc_sndbuf_sync_sg_for_cpu(struct smc_connection *conn); 519 void smc_sndbuf_sync_sg_for_device(struct smc_connection *conn); 520 void smc_rmb_sync_sg_for_cpu(struct smc_connection *conn); 521 void smc_rmb_sync_sg_for_device(struct smc_connection *conn); [all …]
|
D | smc_tx.c | 80 struct smc_connection *conn = &smc->conn; in smc_tx_wait() 147 struct smc_connection *conn = &smc->conn; in smc_should_autocork() 161 struct smc_connection *conn = &smc->conn; in smc_tx_should_cork() 186 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg() 321 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len, in smcd_tx_ism_write() 339 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write() 362 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors() 378 static int smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcr_tx_rdma_writes() 438 static int smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcd_tx_rdma_writes() 480 static int smc_tx_rdma_writes(struct smc_connection *conn, in smc_tx_rdma_writes() [all …]
|
D | smc_rx.c | 58 struct smc_connection *conn = &smc->conn; in smc_rx_update_consumer() 98 struct smc_connection *conn = &smc->conn; in smc_rx_update_cons() 115 struct smc_connection *conn; in smc_rx_pipe_buf_release() 179 static int smc_rx_data_available_and_no_splice_pend(struct smc_connection *conn) in smc_rx_data_available_and_no_splice_pend() 194 int (*fcrit)(struct smc_connection *conn)) in smc_rx_wait() 197 struct smc_connection *conn = &smc->conn; in smc_rx_wait() 222 struct smc_connection *conn = &smc->conn; in smc_rx_recv_urg() 265 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg_data_available() 287 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg() 288 int (*func)(struct smc_connection *conn); in smc_rx_recvmsg()
|
D | smc_close.c | 88 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr() 95 static int smc_close_final(struct smc_connection *conn) in smc_close_final() 107 int smc_close_abort(struct smc_connection *conn) in smc_close_abort() 186 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close() 196 struct smc_connection *conn = &smc->conn; in smc_close_active() 357 struct smc_connection *conn = container_of(work, in smc_close_passive_work() 358 struct smc_connection, in smc_close_passive_work() 448 struct smc_connection *conn = &smc->conn; in smc_close_shutdown_write()
|
D | smc_rx.h | 25 int (*fcrit)(struct smc_connection *conn)); 26 static inline int smc_rx_data_available(struct smc_connection *conn) in smc_rx_data_available()
|
D | smc_ism.h | 41 void smc_ism_set_conn(struct smc_connection *conn); 42 void smc_ism_unset_conn(struct smc_connection *conn);
|
D | smc_core.c | 101 static void smc_lgr_add_alert_token(struct smc_connection *conn) in smc_lgr_add_alert_token() 108 struct smc_connection *cur = rb_entry(*link, in smc_lgr_add_alert_token() 109 struct smc_connection, alert_node); in smc_lgr_add_alert_token() 123 static int smcr_lgr_conn_assign_link(struct smc_connection *conn, bool first) in smcr_lgr_conn_assign_link() 166 static int smc_lgr_register_conn(struct smc_connection *conn, bool first) in smc_lgr_register_conn() 195 static void __smc_lgr_unregister_conn(struct smc_connection *conn) in __smc_lgr_unregister_conn() 210 static void smc_lgr_unregister_conn(struct smc_connection *conn) in smc_lgr_unregister_conn() 936 static int smc_write_space(struct smc_connection *conn) in smc_write_space() 953 struct smc_connection *conn = &smc->conn; in smc_switch_cursor() 1000 void smc_switch_link_and_count(struct smc_connection *conn, in smc_switch_link_and_count() [all …]
|
D | smc_close.h | 27 int smc_close_abort(struct smc_connection *conn);
|
D | smc_ism.c | 67 void smc_ism_set_conn(struct smc_connection *conn) in smc_ism_set_conn() 77 void smc_ism_unset_conn(struct smc_connection *conn) in smc_ism_unset_conn() 403 smcd->conn = kcalloc(max_dmbs, sizeof(struct smc_connection *), in smcd_alloc_dev() 530 struct smc_connection *conn = NULL; in smcd_handle_irq()
|
D | smc.h | 150 struct smc_connection { struct 252 struct smc_connection conn; /* smc connection */ argument
|
D | smc_diag.c | 107 struct smc_connection *conn = &smc->conn; in __smc_diag_dump() 168 struct smc_connection *conn = &smc->conn; in __smc_diag_dump()
|
D | af_smc.c | 907 struct smc_connection *conn = &smc->conn; in smc_conn_abort() 2109 struct smc_connection *conn = &new_smc->conn; in smc_listen_rdma_reg() 2985 struct smc_connection *conn; in smc_ioctl()
|
D | smc_clc.c | 984 struct smc_connection *conn = &smc->conn; in smc_clc_send_confirm_accept()
|
/linux-5.19.10/include/net/ |
D | smc.h | 79 struct smc_connection **conn;
|