Home
last modified time | relevance | path

Searched refs:ib_event (Results 1 – 67 of 67) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c136 struct ib_event ib_event; in usnic_ib_handle_usdev_event() local
138 memset(&ib_event, 0, sizeof(ib_event)); in usnic_ib_handle_usdev_event()
146 ib_event.event = IB_EVENT_PORT_ERR; in usnic_ib_handle_usdev_event()
147 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_usdev_event()
148 ib_event.element.port_num = 1; in usnic_ib_handle_usdev_event()
149 ib_dispatch_event(&ib_event); in usnic_ib_handle_usdev_event()
158 ib_event.event = IB_EVENT_PORT_ACTIVE; in usnic_ib_handle_usdev_event()
159 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_usdev_event()
160 ib_event.element.port_num = 1; in usnic_ib_handle_usdev_event()
161 ib_dispatch_event(&ib_event); in usnic_ib_handle_usdev_event()
[all …]
Dusnic_ib_qp_grp.c385 struct ib_event ib_event; in usnic_ib_qp_grp_modify() local
477 ib_event.device = &qp_grp->vf->pf->ib_dev; in usnic_ib_qp_grp_modify()
478 ib_event.element.qp = &qp_grp->ibqp; in usnic_ib_qp_grp_modify()
479 ib_event.event = IB_EVENT_QP_FATAL; in usnic_ib_qp_grp_modify()
483 qp_grp->ibqp.event_handler(&ib_event, in usnic_ib_qp_grp_modify()
488 qp_grp->ibqp.event_handler(&ib_event, in usnic_ib_qp_grp_modify()
495 qp_grp->ibqp.event_handler(&ib_event, in usnic_ib_qp_grp_modify()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_ae.c153 struct ib_event ib_event; in c2_ae_event() local
168 memset(&ib_event, 0, sizeof(ib_event)); in c2_ae_event()
234 ib_event.device = &c2dev->ibdev; in c2_ae_event()
235 ib_event.element.qp = &qp->ibqp; in c2_ae_event()
236 ib_event.event = IB_EVENT_QP_REQ_ERR; in c2_ae_event()
239 qp->ibqp.event_handler(&ib_event, in c2_ae_event()
309 ib_event.device = &c2dev->ibdev; in c2_ae_event()
310 ib_event.element.cq = &cq->ibcq; in c2_ae_event()
311 ib_event.event = IB_EVENT_CQ_ERR; in c2_ae_event()
314 cq->ibcq.event_handler(&ib_event, in c2_ae_event()
/linux-4.1.27/drivers/infiniband/core/
Duverbs.h191 void ib_uverbs_cq_event_handler(struct ib_event *event, void *context_ptr);
192 void ib_uverbs_qp_event_handler(struct ib_event *event, void *context_ptr);
193 void ib_uverbs_srq_event_handler(struct ib_event *event, void *context_ptr);
195 struct ib_event *event);
Dcma.c912 struct ib_cm_event *ib_event) in cma_save_net_info() argument
917 if (ib_event->event == IB_CM_REQ_RECEIVED) in cma_save_net_info()
918 cma_save_ib_info(id, listen_id, ib_event->param.req_rcvd.primary_path); in cma_save_net_info()
919 else if (ib_event->event == IB_CM_SIDR_REQ_RECEIVED) in cma_save_net_info()
924 hdr = ib_event->private_data; in cma_save_net_info()
1123 static int cma_ib_handler(struct ib_cm_id *cm_id, struct ib_cm_event *ib_event) in cma_ib_handler() argument
1129 if ((ib_event->event != IB_CM_TIMEWAIT_EXIT && in cma_ib_handler()
1131 (ib_event->event == IB_CM_TIMEWAIT_EXIT && in cma_ib_handler()
1136 switch (ib_event->event) { in cma_ib_handler()
1150 cma_set_rep_event_data(&event, &ib_event->param.rep_rcvd, in cma_ib_handler()
[all …]
Duverbs_main.c507 void ib_uverbs_cq_event_handler(struct ib_event *event, void *context_ptr) in ib_uverbs_cq_event_handler()
517 void ib_uverbs_qp_event_handler(struct ib_event *event, void *context_ptr) in ib_uverbs_qp_event_handler()
533 void ib_uverbs_srq_event_handler(struct ib_event *event, void *context_ptr) in ib_uverbs_srq_event_handler()
546 struct ib_event *event) in ib_uverbs_event_handler()
Dverbs.c375 static void __ib_shared_qp_event_handler(struct ib_event *event, void *context) in __ib_shared_qp_event_handler()
395 void (*event_handler)(struct ib_event *, void *), in __ib_open_qp() argument
1014 void (*event_handler)(struct ib_event *, void *), in ib_create_cq() argument
Dcache.c337 struct ib_event *event) in ib_cache_event()
Ddevice.c536 void ib_dispatch_event(struct ib_event *event) in ib_dispatch_event()
Dmulticast.c777 struct ib_event *event) in mcast_event_handler()
Dsa_query.c439 static void ib_sa_event(struct ib_event_handler *handler, struct ib_event *event) in ib_sa_event()
Dmad.c2837 static void qp_event_handler(struct ib_event *event, void *qp_context) in qp_event_handler()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_ev.c43 enum ib_event_type ib_event, in post_qp_event() argument
46 struct ib_event event; in post_qp_event()
88 event.event = ib_event; in post_qp_event()
90 if (ib_event == IB_EVENT_CQ_ERR) in post_qp_event()
Diwch.c209 struct ib_event event; in iwch_event_handler()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dev.c90 enum ib_event_type ib_event) in post_qp_event() argument
92 struct ib_event event; in post_qp_event()
104 event.event = ib_event; in post_qp_event()
106 if (ib_event == IB_EVENT_CQ_ERR) in post_qp_event()
Ddevice.c1225 struct ib_event event; in c4iw_uld_state_change()
/linux-4.1.27/include/rdma/
Dib_verbs.h415 struct ib_event { struct
428 void (*handler)(struct ib_event_handler *, struct ib_event *); argument
741 void (*event_handler)(struct ib_event *, void *);
819 void (*event_handler)(struct ib_event *, void *);
833 void (*event_handler)(struct ib_event *, void *);
1222 void (*event_handler)(struct ib_event *, void *);
1232 void (*event_handler)(struct ib_event *, void *);
1259 void (*event_handler)(struct ib_event *, void *);
1735 void ib_dispatch_event(struct ib_event *event);
2022 void (*event_handler)(struct ib_event *, void *),
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_main.c123 struct ib_event gid_event; in ocrdma_addr_event()
554 struct ib_event port_event; in ocrdma_open()
567 struct ib_event err_event; in ocrdma_close()
Docrdma_hw.c659 struct ib_event ib_evt; in ocrdma_dispatch_ibevent()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_ruc.c145 void (*handler)(struct ib_event *, void *); in qib_get_rwqe()
208 struct ib_event ev; in qib_get_rwqe()
231 struct ib_event ev; in qib_migrate_qp()
625 struct ib_event ev; in qib_ruc_loopback()
Dqib_intr.c74 struct ib_event event; in signal_ib_event()
Dqib_cq.c74 struct ib_event ev; in qib_cq_enter()
Dqib_uc.c334 struct ib_event ev; in qib_uc_rcv()
Dqib_rc.c1829 struct ib_event ev; in qib_rc_error()
1952 struct ib_event ev; in qib_rc_rcv()
Dqib_mad.c654 struct ib_event event; in subn_set_portinfo()
1025 struct ib_event event; in set_pkeys()
Dqib_qp.c575 struct ib_event ev; in qib_modify_qp()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_catas.c89 struct ib_event event; in handle_catas()
Dmthca_mad.c110 struct ib_event event; in smp_snoop()
Dmthca_srq.c426 struct ib_event event; in mthca_srq_event()
Dmthca_eq.c248 struct ib_event record; in port_change()
Dmthca_cq.c242 struct ib_event event; in mthca_cq_event()
Dmthca_qp.c241 struct ib_event event; in mthca_qp_event()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_ruc.c173 void (*handler)(struct ib_event *, void *); in ipath_get_rwqe()
232 struct ib_event ev; in ipath_get_rwqe()
499 struct ib_event ev; in ipath_ruc_loopback()
Dipath_ud.c62 void (*handler)(struct ib_event *, void *); in ipath_ud_loopback()
165 struct ib_event ev; in ipath_ud_loopback()
Dipath_cq.c71 struct ib_event ev; in ipath_cq_enter()
Dipath_mad.c421 struct ib_event event; in recv_subn_set_portinfo()
762 struct ib_event event; in set_pkeys()
Dipath_intr.c248 struct ib_event event; in signal_ib_event()
Dipath_qp.c603 struct ib_event ev; in ipath_modify_qp()
Dipath_rc.c1535 struct ib_event ev; in ipath_rc_error()
/linux-4.1.27/net/9p/
Dtrans_rdma.c338 static void qp_event_handler(struct ib_event *event, void *context) in qp_event_handler()
375 static void cq_event_handler(struct ib_event *e, void *v) in cq_event_handler()
/linux-4.1.27/drivers/infiniband/ulp/iser/
Diser_verbs.c52 static void iser_cq_event_callback(struct ib_event *cause, void *context) in iser_cq_event_callback()
57 static void iser_qp_event_callback(struct ib_event *cause, void *context) in iser_qp_event_callback()
63 struct ib_event *event) in iser_event_handler()
/linux-4.1.27/net/rds/
Dib_cm.c243 static void rds_ib_cq_event_handler(struct ib_event *event, void *data) in rds_ib_cq_event_handler()
249 static void rds_ib_qp_event_handler(struct ib_event *event, void *data) in rds_ib_qp_event_handler()
Diw_cm.c142 static void rds_iw_cq_event_handler(struct ib_event *event, void *data) in rds_iw_cq_event_handler()
147 static void rds_iw_qp_event_handler(struct ib_event *event, void *data) in rds_iw_qp_event_handler()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c297 struct ib_event *record) in ipoib_event()
Dipoib.h531 struct ib_event *record);
Dipoib_cm.c232 static void ipoib_cm_rx_event_handler(struct ib_event *event, void *ctx) in ipoib_cm_rx_event_handler()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.h1018 void kiblnd_qp_event(struct ib_event *event, void *arg);
1019 void kiblnd_cq_event(struct ib_event *event, void *arg);
Do2iblnd_cb.c3222 kiblnd_qp_event(struct ib_event *event, void *arg) in kiblnd_qp_event()
3301 kiblnd_cq_event(struct ib_event *event, void *arg) in kiblnd_cq_event()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_irq.c182 struct ib_event event; in dispatch_qp_event()
330 struct ib_event event; in dispatch_port_event()
Dehca_qp.c2203 struct ib_event event; in internal_destroy_qp()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dsrq.c48 struct ib_event event; in mlx4_ib_srq_event()
Dcq.c50 struct ib_event event; in mlx4_ib_cq_event()
Dmad.c1097 struct ib_event event; in mlx4_ib_dispatch_event()
1577 static void pv_qp_event_handler(struct ib_event *event, void *qp_context) in pv_qp_event_handler()
Dmain.c2694 struct ib_event ibev; in handle_bonded_port_state_event()
2726 struct ib_event ibev; in mlx4_ib_event()
Dqp.c287 struct ib_event event; in mlx4_ib_qp_event()
/linux-4.1.27/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c175 static void cq_event_handler(struct ib_event *event, void *context) in cq_event_handler()
184 static void qp_event_handler(struct ib_event *event, void *context) in qp_event_handler()
Dverbs.c146 rpcrdma_qp_async_error_upcall(struct ib_event *event, void *context) in rpcrdma_qp_async_error_upcall()
161 rpcrdma_cq_async_error_upcall(struct ib_event *event, void *context) in rpcrdma_cq_async_error_upcall()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dsrq.c53 struct ib_event event; in mlx5_ib_srq_event()
Dcq.c51 struct ib_event event; in mlx5_ib_cq_event()
Dmain.c839 struct ib_event ibev; in mlx5_ib_event()
Dqp.c178 struct ib_event event; in mlx5_ib_qp_event()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
Dib_srpt.c176 struct ib_event *event) in srpt_event_handler()
219 static void srpt_srq_event(struct ib_event *event, void *ctx) in srpt_srq_event()
227 static void srpt_qp_event(struct ib_event *event, struct srpt_rdma_ch *ch) in srpt_qp_event()
2047 = (void(*)(struct ib_event *, void*))srpt_qp_event; in srpt_create_ch_ib()
/linux-4.1.27/drivers/infiniband/ulp/isert/
Dib_isert.c79 isert_qp_event_callback(struct ib_event *e, void *context) in isert_qp_event_callback()
203 isert_cq_event_callback(struct ib_event *e, void *context) in isert_cq_event_callback()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_verbs.c3944 struct ib_event event; in nes_handle_delayed_event()
3963 struct ib_event event; in nes_port_ibevent()
Dnes_cm.c3043 struct ib_event ibevent; in nes_cm_disconn_true()
Dnes_hw.c3554 struct ib_event ibevent; in nes_process_iwarp_aeqe()
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c254 static void srp_qp_event(struct ib_event *event, void *context) in srp_qp_event()