Home
last modified time | relevance | path

Searched refs:rdma_cm_id (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/include/rdma/
Drdma_cm.h101 struct rdma_cm_id;
110 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id,
113 struct rdma_cm_id { struct
125 struct rdma_cm_id * argument
129 struct rdma_cm_id *rdma_create_user_id(rdma_cm_event_handler event_handler,
162 void rdma_destroy_id(struct rdma_cm_id *id);
175 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr);
187 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
199 int rdma_resolve_route(struct rdma_cm_id *id, unsigned long timeout_ms);
208 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,
[all …]
Drdma_cm_ib.h21 int rdma_set_ib_path(struct rdma_cm_id *id,
/linux-6.1.9/net/rds/
Drdma_transport.c41 static struct rdma_cm_id *rds_rdma_listen_id;
43 static struct rdma_cm_id *rds6_rdma_listen_id;
49 static int rds_rdma_cm_event_handler_cmn(struct rdma_cm_id *cm_id, in rds_rdma_cm_event_handler_cmn()
181 int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id, in rds_rdma_cm_event_handler()
188 int rds6_rdma_cm_event_handler(struct rdma_cm_id *cm_id, in rds6_rdma_cm_event_handler()
197 struct rdma_cm_id **ret_cm_id) in rds_rdma_listen_init_common()
199 struct rdma_cm_id *cm_id; in rds_rdma_listen_init_common()
Drdma_transport.h21 int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
23 int rds6_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
Dib.h150 struct rdma_cm_id *i_cm_id;
377 int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
379 int rds_ib_cm_initiate_connect(struct rdma_cm_id *cm_id, bool isv6);
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.c96 static struct rdma_cm_id *rdma_cm_id; variable
2141 struct rdma_cm_id *rdma_cm_id, in srpt_cm_req_recv() argument
2221 if (rdma_cm_id) { in srpt_cm_req_recv()
2223 ch->rdma_cm.cm_id = rdma_cm_id; in srpt_cm_req_recv()
2224 rdma_cm_id->context = ch; in srpt_cm_req_recv()
2442 ret = rdma_accept(rdma_cm_id, &rep_param->rdma_cm); in srpt_cm_req_recv()
2484 if (rdma_cm_id) in srpt_cm_req_recv()
2485 rdma_cm_id->context = NULL; in srpt_cm_req_recv()
2500 if (rdma_cm_id) in srpt_cm_req_recv()
2501 rdma_reject(rdma_cm_id, rej, sizeof(*rej), in srpt_cm_req_recv()
[all …]
Dib_srpt.h300 struct rdma_cm_id *cm_id;
/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_verbs.c304 struct iser_device *iser_device_find_by_ib_device(struct rdma_cm_id *cma_id) in iser_device_find_by_ib_device()
499 static void iser_connect_error(struct rdma_cm_id *cma_id) in iser_connect_error()
543 static void iser_addr_handler(struct rdma_cm_id *cma_id) in iser_addr_handler()
591 static void iser_route_handler(struct rdma_cm_id *cma_id) in iser_route_handler()
632 static void iser_connected_handler(struct rdma_cm_id *cma_id, in iser_connected_handler()
660 static void iser_disconnected_handler(struct rdma_cm_id *cma_id) in iser_disconnected_handler()
673 static void iser_cleanup_handler(struct rdma_cm_id *cma_id, in iser_cleanup_handler()
688 static int iser_cma_handler(struct rdma_cm_id *cma_id, in iser_cma_handler()
Discsi_iser.h371 struct rdma_cm_id *cma_id;
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv.h119 struct rdma_cm_id *cm_id_ip;
120 struct rdma_cm_id *cm_id_ib;
Drtrs-srv.c782 static int rtrs_rdma_do_reject(struct rdma_cm_id *cm_id, int errno);
1571 struct rdma_cm_id *cm_id) in rtrs_rdma_do_accept()
1602 static int rtrs_rdma_do_reject(struct rdma_cm_id *cm_id, int errno) in rtrs_rdma_do_reject()
1635 struct rdma_cm_id *cm_id, in create_con()
1726 struct rdma_cm_id *cm_id, in __alloc_path()
1825 static int rtrs_rdma_connect(struct rdma_cm_id *cm_id, in rtrs_rdma_connect()
1948 static int rtrs_srv_rdma_cm_handler(struct rdma_cm_id *cm_id, in rtrs_srv_rdma_cm_handler()
1993 static struct rdma_cm_id *rtrs_srv_cm_init(struct rtrs_srv_ctx *ctx, in rtrs_srv_cm_init()
1997 struct rdma_cm_id *cm_id; in rtrs_srv_cm_init()
2042 struct rdma_cm_id *cm_ip, *cm_ib; in rtrs_srv_rdma_init()
Drtrs.c233 struct rdma_cm_id *cm_id = con->cm_id; in create_cq()
257 struct rdma_cm_id *cm_id = con->cm_id; in create_qp()
/linux-6.1.9/drivers/infiniband/core/
Dcma.c84 const char *__attribute_const__ rdma_reject_msg(struct rdma_cm_id *id, in rdma_reject_msg()
104 static bool rdma_is_consumer_reject(struct rdma_cm_id *id, int reason) in rdma_is_consumer_reject()
116 const void *rdma_consumer_reject_data(struct rdma_cm_id *id, in rdma_consumer_reject_data()
136 struct iw_cm_id *rdma_iw_cm_id(struct rdma_cm_id *id) in rdma_iw_cm_id()
151 struct rdma_cm_id *rdma_res_to_id(struct rdma_restrack_entry *res) in rdma_res_to_id()
999 struct rdma_cm_id *
1015 struct rdma_cm_id *rdma_create_user_id(rdma_cm_event_handler event_handler, in rdma_create_user_id()
1071 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd, in rdma_create_qp()
1111 void rdma_destroy_qp(struct rdma_cm_id *id) in rdma_destroy_qp()
1238 int rdma_init_qp_attr(struct rdma_cm_id *id, struct ib_qp_attr *qp_attr, in rdma_init_qp_attr()
[all …]
Dcma_priv.h54 struct rdma_cm_id id;
Ducma.c93 struct rdma_cm_id *cm_id;
217 struct rdma_cm_id *cm_id) in ucma_set_ctx_cm_id()
296 static int ucma_connect_event_handler(struct rdma_cm_id *cm_id, in ucma_connect_event_handler()
333 static int ucma_event_handler(struct rdma_cm_id *cm_id, in ucma_event_handler()
445 struct rdma_cm_id *cm_id; in ucma_create_id()
870 static void ucma_query_device_addr(struct rdma_cm_id *cm_id, in ucma_query_device_addr()
1034 static void ucma_copy_conn_param(struct rdma_cm_id *id, in ucma_copy_conn_param()
/linux-6.1.9/drivers/nvme/target/
Drdma.c87 struct rdma_cm_id *cm_id;
121 struct rdma_cm_id *cm_id;
636 struct rdma_cm_id *cm_id = rsp->queue->cm_id; in nvmet_rdma_rw_ctx_init()
655 struct rdma_cm_id *cm_id = rsp->queue->cm_id; in nvmet_rdma_rw_ctx_destroy()
720 struct rdma_cm_id *cm_id = rsp->queue->cm_id; in nvmet_rdma_queue_response()
791 struct rdma_cm_id *cm_id = rsp->queue->cm_id; in nvmet_rdma_write_data_done()
1191 nvmet_rdma_find_get_device(struct rdma_cm_id *cm_id) in nvmet_rdma_find_get_device()
1404 static int nvmet_rdma_cm_reject(struct rdma_cm_id *cm_id, in nvmet_rdma_cm_reject()
1421 struct rdma_cm_id *cm_id, in nvmet_rdma_alloc_queue()
1542 static int nvmet_rdma_cm_accept(struct rdma_cm_id *cm_id, in nvmet_rdma_cm_accept()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/isert/
Dib_isert.h181 struct rdma_cm_id *cm_id;
208 struct rdma_cm_id *cm_id;
Dib_isert.c55 struct rdma_cm_id *isert_setup_id(struct isert_np *isert_np);
104 struct rdma_cm_id *cma_id) in isert_create_qp()
265 isert_device_get(struct rdma_cm_id *cma_id) in isert_device_get()
416 isert_connect_request(struct rdma_cm_id *cma_id, struct rdma_cm_event *event) in isert_connect_request()
516 isert_connected_handler(struct rdma_cm_id *cma_id) in isert_connected_handler()
629 isert_disconnected_handler(struct rdma_cm_id *cma_id, in isert_disconnected_handler()
657 isert_connect_error(struct rdma_cm_id *cma_id) in isert_connect_error()
670 isert_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *event) in isert_cma_handler()
2215 struct rdma_cm_id *
2219 struct rdma_cm_id *id; in isert_setup_id()
[all …]
/linux-6.1.9/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c191 static void handle_connect_req(struct rdma_cm_id *new_cma_id, in handle_connect_req()
249 static int svc_rdma_listen_handler(struct rdma_cm_id *cma_id, in svc_rdma_listen_handler()
271 static int svc_rdma_cma_handler(struct rdma_cm_id *cma_id, in svc_rdma_cma_handler()
303 struct rdma_cm_id *listen_id; in svc_rdma_create()
Dverbs.c90 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
223 rpcrdma_cm_event_handler(struct rdma_cm_id *id, struct rdma_cm_event *event) in rpcrdma_cm_event_handler()
283 static struct rdma_cm_id *rpcrdma_create_id(struct rpcrdma_xprt *r_xprt, in rpcrdma_create_id()
288 struct rdma_cm_id *id; in rpcrdma_create_id()
371 struct rdma_cm_id *id; in rpcrdma_ep_create()
551 struct rdma_cm_id *id; in rpcrdma_xprt_disconnect()
/linux-6.1.9/include/linux/sunrpc/
Dsvc_rdma.h76 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */
/linux-6.1.9/drivers/infiniband/ulp/srp/
Dib_srp.h181 struct rdma_cm_id *cm_id;
/linux-6.1.9/fs/cifs/
Dsmbdirect.h56 struct rdma_cm_id *id;
/linux-6.1.9/fs/ksmbd/
Dtransport_rdma.c84 struct rdma_cm_id *cm_id;
103 struct rdma_cm_id *cm_id;
360 static struct smb_direct_transport *alloc_transport(struct rdma_cm_id *cm_id) in alloc_transport()
1514 static int smb_direct_cm_handler(struct rdma_cm_id *cm_id, in smb_direct_cm_handler()
2030 static int smb_direct_handle_connect_request(struct rdma_cm_id *new_cm_id) in smb_direct_handle_connect_request()
2065 static int smb_direct_listen_handler(struct rdma_cm_id *cm_id, in smb_direct_listen_handler()
2092 struct rdma_cm_id *cm_id; in smb_direct_listen()
/linux-6.1.9/net/9p/
Dtrans_rdma.c77 struct rdma_cm_id *cm_id;
240 p9_cm_event_handler(struct rdma_cm_id *id, struct rdma_cm_event *event) in p9_cm_event_handler()

12