Home
last modified time | relevance | path

Searched refs:iw_cm_id (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/include/rdma/
Diw_cm.h13 struct iw_cm_id;
42 typedef int (*iw_cm_handler)(struct iw_cm_id *cm_id,
53 typedef int (*iw_event_handler)(struct iw_cm_id *cm_id,
56 struct iw_cm_id { struct
68 void (*add_ref)(struct iw_cm_id *); argument
69 void (*rem_ref)(struct iw_cm_id *); argument
104 struct iw_cm_id *iw_create_cm_id(struct ib_device *device,
115 void iw_destroy_cm_id(struct iw_cm_id *cm_id);
128 int iw_cm_listen(struct iw_cm_id *cm_id, int backlog);
144 int iw_cm_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param);
[all …]
Drdma_cm.h390 struct iw_cm_id *rdma_iw_cm_id(struct rdma_cm_id *cm_id);
Dib_verbs.h2290 struct iw_cm_id;
2627 int (*iw_connect)(struct iw_cm_id *cm_id,
2629 int (*iw_accept)(struct iw_cm_id *cm_id,
2631 int (*iw_reject)(struct iw_cm_id *cm_id, const void *pdata,
2633 int (*iw_create_listen)(struct iw_cm_id *cm_id, int backlog);
2634 int (*iw_destroy_listen)(struct iw_cm_id *cm_id);
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.h34 int qedr_iw_connect(struct iw_cm_id *cm_id,
37 int qedr_iw_create_listen(struct iw_cm_id *cm_id, int backlog);
39 int qedr_iw_destroy_listen(struct iw_cm_id *cm_id);
41 int qedr_iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
43 int qedr_iw_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
Dqedr_iw_cm.c531 int qedr_iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_connect()
657 int qedr_iw_create_listen(struct iw_cm_id *cm_id, int backlog) in qedr_iw_create_listen()
721 int qedr_iw_destroy_listen(struct iw_cm_id *cm_id) in qedr_iw_destroy_listen()
736 int qedr_iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_accept()
784 int qedr_iw_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in qedr_iw_reject()
Dqedr.h555 struct iw_cm_id *cm_id;
562 struct iw_cm_id *cm_id;
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_cm.h38 struct iw_cm_id *cm_id;
114 int siw_connect(struct iw_cm_id *id, struct iw_cm_conn_param *parm);
115 int siw_accept(struct iw_cm_id *id, struct iw_cm_conn_param *param);
116 int siw_reject(struct iw_cm_id *id, const void *data, u8 len);
117 int siw_create_listen(struct iw_cm_id *id, int backlog);
118 int siw_destroy_listen(struct iw_cm_id *id);
Dsiw_cm.c316 struct iw_cm_id *id; in siw_cm_upcall()
1344 int siw_connect(struct iw_cm_id *id, struct iw_cm_conn_param *params) in siw_connect()
1545 int siw_accept(struct iw_cm_id *id, struct iw_cm_conn_param *params) in siw_accept()
1735 int siw_reject(struct iw_cm_id *id, const void *pdata, u8 pd_len) in siw_reject()
1777 int siw_create_listen(struct iw_cm_id *id, int backlog) in siw_create_listen()
1909 static void siw_drop_listeners(struct iw_cm_id *id) in siw_drop_listeners()
1941 int siw_destroy_listen(struct iw_cm_id *id) in siw_destroy_listen()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_cm.h87 struct iw_cm_id *cm_id;
152 int erdma_connect(struct iw_cm_id *id, struct iw_cm_conn_param *param);
153 int erdma_accept(struct iw_cm_id *id, struct iw_cm_conn_param *param);
154 int erdma_reject(struct iw_cm_id *id, const void *pdata, u8 plen);
155 int erdma_create_listen(struct iw_cm_id *id, int backlog);
156 int erdma_destroy_listen(struct iw_cm_id *id);
Derdma_cm.c238 struct iw_cm_id *cm_id; in erdma_cm_upcall()
1000 int erdma_connect(struct iw_cm_id *id, struct iw_cm_conn_param *params) in erdma_connect()
1127 int erdma_accept(struct iw_cm_id *id, struct iw_cm_conn_param *params) in erdma_accept()
1257 int erdma_reject(struct iw_cm_id *id, const void *pdata, u8 plen) in erdma_reject()
1290 int erdma_create_listen(struct iw_cm_id *id, int backlog) in erdma_create_listen()
1370 static void erdma_drop_listeners(struct iw_cm_id *id) in erdma_drop_listeners()
1400 int erdma_destroy_listen(struct iw_cm_id *id) in erdma_destroy_listen()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dcm.h245 struct iw_cm_id *cm_id;
296 struct iw_cm_id *cm_id;
330 struct iw_cm_id *cm_id;
394 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
395 int irdma_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
396 int irdma_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
397 int irdma_create_listen(struct iw_cm_id *cm_id, int backlog);
398 int irdma_destroy_listen(struct iw_cm_id *cm_id);
Dverbs.h146 struct iw_cm_id;
177 struct iw_cm_id *cm_id;
Dtrace_cm.h201 TP_PROTO(struct irdma_cm_node *cm_node, struct iw_cm_id *cm_id,
206 __field(struct iw_cm_id *, cm_id)
257 TP_PROTO(struct iw_cm_id *cm_id, enum iw_cm_event_type type,
260 TP_STRUCT__entry(__field(struct iw_cm_id *, cm_id)
Dcm.c137 struct iw_cm_id *cm_id, in irdma_get_cmevent_info()
160 struct iw_cm_id *cm_id, in irdma_send_cm_event()
664 struct iw_cm_id *cm_id; in irdma_event_connect_error()
3486 struct iw_cm_id *cm_id; in irdma_cm_disconn_true()
3635 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in irdma_accept()
3789 int irdma_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in irdma_reject()
3816 int irdma_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in irdma_connect()
3964 int irdma_create_listen(struct iw_cm_id *cm_id, int backlog) in irdma_create_listen()
4085 int irdma_destroy_listen(struct iw_cm_id *cm_id) in irdma_destroy_listen()
4139 struct iw_cm_id *cm_id; in irdma_cm_event_connected()
[all …]
/linux-6.6.21/drivers/infiniband/core/
Diwcm.c223 static void add_ref(struct iw_cm_id *cm_id) in add_ref()
230 static void rem_ref(struct iw_cm_id *cm_id) in rem_ref()
239 static int cm_event_handler(struct iw_cm_id *cm_id, struct iw_cm_event *event);
241 struct iw_cm_id *iw_create_cm_id(struct ib_device *device, in iw_create_cm_id()
306 int iw_cm_disconnect(struct iw_cm_id *cm_id, int abrupt) in iw_cm_disconnect()
373 static void destroy_cm_id(struct iw_cm_id *cm_id) in destroy_cm_id()
452 void iw_destroy_cm_id(struct iw_cm_id *cm_id) in iw_destroy_cm_id()
507 static int iw_cm_map(struct iw_cm_id *cm_id, bool active) in iw_cm_map()
561 int iw_cm_listen(struct iw_cm_id *cm_id, int backlog) in iw_cm_listen()
603 int iw_cm_reject(struct iw_cm_id *cm_id, in iw_cm_reject()
[all …]
Diwcm.h47 struct iw_cm_id id;
Dcma_priv.h86 struct iw_cm_id *iw;
Dcma.c136 struct iw_cm_id *rdma_iw_cm_id(struct rdma_cm_id *id) in rdma_iw_cm_id()
2494 static int cma_iw_handler(struct iw_cm_id *iw_id, struct iw_cm_event *iw_event) in cma_iw_handler()
2558 static int iw_conn_req_handler(struct iw_cm_id *cm_id, in iw_conn_req_handler()
2648 struct iw_cm_id *id; in cma_iw_listen()
4393 struct iw_cm_id *cm_id; in cma_connect_iw()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Drestrack.c203 struct iw_cm_id *iw_cm_id; in c4iw_fill_res_cm_id_entry() local
206 iw_cm_id = rdma_iw_cm_id(cm_id); in c4iw_fill_res_cm_id_entry()
207 if (!iw_cm_id) in c4iw_fill_res_cm_id_entry()
209 epcp = (struct c4iw_ep_common *)iw_cm_id->provider_data; in c4iw_fill_res_cm_id_entry()
Diw_cxgb4.h842 struct iw_cm_id *cm_id;
906 static inline struct c4iw_ep *to_ep(struct iw_cm_id *cm_id) in to_ep()
911 static inline struct c4iw_listen_ep *to_listen_ep(struct iw_cm_id *cm_id) in to_listen_ep()
963 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
964 int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog);
965 int c4iw_destroy_listen(struct iw_cm_id *cm_id);
966 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
967 int c4iw_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
Dcm.c3090 int c4iw_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in c4iw_reject_cr()
3116 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in c4iw_accept_cr()
3231 static int pick_local_ipaddrs(struct c4iw_dev *dev, struct iw_cm_id *cm_id) in pick_local_ipaddrs()
3283 static int pick_local_ip6addrs(struct c4iw_dev *dev, struct iw_cm_id *cm_id) in pick_local_ip6addrs()
3297 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in c4iw_connect()
3536 int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog) in c4iw_create_listen()
3600 int c4iw_destroy_listen(struct iw_cm_id *cm_id) in c4iw_destroy_listen()
Ddevice.c213 struct iw_cm_id *id = ep->com.cm_id; in set_ep_sin_addrs()
232 struct iw_cm_id *id = ep->com.cm_id; in set_ep_sin6_addrs()