Home
last modified time | relevance | path

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

/linux/include/rdma/
H A 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 …]
H A Drdma_cm.h390 struct iw_cm_id *rdma_iw_cm_id(struct rdma_cm_id *cm_id);
H A Dib_verbs.h2277 struct iw_cm_id;
2616 int (*iw_connect)(struct iw_cm_id *cm_id,
2618 int (*iw_accept)(struct iw_cm_id *cm_id,
2620 int (*iw_reject)(struct iw_cm_id *cm_id, const void *pdata,
2622 int (*iw_create_listen)(struct iw_cm_id *cm_id, int backlog);
2623 int (*iw_destroy_listen)(struct iw_cm_id *cm_id);
/linux/drivers/infiniband/hw/qedr/
H A 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);
H A Dqedr_iw_cm.c532 int qedr_iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_connect()
658 int qedr_iw_create_listen(struct iw_cm_id *cm_id, int backlog) in qedr_iw_create_listen()
722 int qedr_iw_destroy_listen(struct iw_cm_id *cm_id) in qedr_iw_destroy_listen()
737 int qedr_iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_accept()
785 int qedr_iw_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in qedr_iw_reject()
H A Dqedr.h555 struct iw_cm_id *cm_id;
562 struct iw_cm_id *cm_id;
/linux/drivers/infiniband/sw/siw/
H A 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);
H A Dsiw_cm.c310 struct iw_cm_id *id; in siw_cm_upcall()
1352 int siw_connect(struct iw_cm_id *id, struct iw_cm_conn_param *params) in siw_connect()
1551 int siw_accept(struct iw_cm_id *id, struct iw_cm_conn_param *params) in siw_accept()
1720 int siw_reject(struct iw_cm_id *id, const void *pdata, u8 pd_len) in siw_reject()
1758 int siw_create_listen(struct iw_cm_id *id, int backlog) in siw_create_listen()
1901 static void siw_drop_listeners(struct iw_cm_id *id) in siw_drop_listeners()
1929 int siw_destroy_listen(struct iw_cm_id *id) in siw_destroy_listen()
/linux/drivers/infiniband/hw/erdma/
H A 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);
H A 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/drivers/infiniband/hw/irdma/
H A 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);
H A 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)
H A Dverbs.h148 struct iw_cm_id;
179 struct iw_cm_id *cm_id;
H A 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()
3487 struct iw_cm_id *cm_id; in irdma_cm_disconn_true()
3636 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in irdma_accept()
3790 int irdma_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in irdma_reject()
3817 int irdma_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in irdma_connect()
3965 int irdma_create_listen(struct iw_cm_id *cm_id, int backlog) in irdma_create_listen()
4086 int irdma_destroy_listen(struct iw_cm_id *cm_id) in irdma_destroy_listen()
4140 struct iw_cm_id *cm_id; in irdma_cm_event_connected()
[all …]
/linux/drivers/infiniband/core/
H A Diwcm.c222 static void add_ref(struct iw_cm_id *cm_id) in add_ref()
229 static void rem_ref(struct iw_cm_id *cm_id) in rem_ref()
238 static int cm_event_handler(struct iw_cm_id *cm_id, struct iw_cm_event *event);
240 struct iw_cm_id *iw_create_cm_id(struct ib_device *device, in iw_create_cm_id()
305 int iw_cm_disconnect(struct iw_cm_id *cm_id, int abrupt) in iw_cm_disconnect()
374 static bool destroy_cm_id(struct iw_cm_id *cm_id) in destroy_cm_id()
453 void iw_destroy_cm_id(struct iw_cm_id *cm_id) in iw_destroy_cm_id()
509 static int iw_cm_map(struct iw_cm_id *cm_id, bool active) in iw_cm_map()
563 int iw_cm_listen(struct iw_cm_id *cm_id, int backlog) in iw_cm_listen()
605 int iw_cm_reject(struct iw_cm_id *cm_id, in iw_cm_reject()
[all …]
H A Diwcm.h47 struct iw_cm_id id;
H A Dcma_priv.h86 struct iw_cm_id *iw;
H A Dcma.c136 struct iw_cm_id *rdma_iw_cm_id(struct rdma_cm_id *id) in rdma_iw_cm_id()
2512 static int cma_iw_handler(struct iw_cm_id *iw_id, struct iw_cm_event *iw_event) in cma_iw_handler()
2576 static int iw_conn_req_handler(struct iw_cm_id *cm_id, in iw_conn_req_handler()
2666 struct iw_cm_id *id; in cma_iw_listen()
4411 struct iw_cm_id *cm_id; in cma_connect_iw()
/linux/drivers/infiniband/hw/cxgb4/
H A 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()
H A Diw_cxgb4.h878 struct iw_cm_id *cm_id;
942 static inline struct c4iw_ep *to_ep(struct iw_cm_id *cm_id) in to_ep()
947 static inline struct c4iw_listen_ep *to_listen_ep(struct iw_cm_id *cm_id) in to_listen_ep()
995 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
996 int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog);
997 int c4iw_destroy_listen(struct iw_cm_id *cm_id);
998 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
999 int c4iw_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
H A Dcm.c3094 int c4iw_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in c4iw_reject_cr()
3120 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in c4iw_accept_cr()
3235 static int pick_local_ipaddrs(struct c4iw_dev *dev, struct iw_cm_id *cm_id) in pick_local_ipaddrs()
3287 static int pick_local_ip6addrs(struct c4iw_dev *dev, struct iw_cm_id *cm_id) in pick_local_ip6addrs()
3301 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in c4iw_connect()
3540 int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog) in c4iw_create_listen()
3604 int c4iw_destroy_listen(struct iw_cm_id *cm_id) in c4iw_destroy_listen()
H A 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()