Lines Matching defs:ibv_context_ops
1404 struct ibv_context_ops { struct
1405 int (*query_device)(struct ibv_context *context,
1407 int (*query_port)(struct ibv_context *context, uint8_t port_num,
1409 struct ibv_pd * (*alloc_pd)(struct ibv_context *context);
1410 int (*dealloc_pd)(struct ibv_pd *pd);
1411 struct ibv_mr * (*reg_mr)(struct ibv_pd *pd, void *addr, size_t length,
1413 int (*rereg_mr)(struct ibv_mr *mr,
1418 int (*dereg_mr)(struct ibv_mr *mr);
1419 struct ibv_mw * (*alloc_mw)(struct ibv_pd *pd, enum ibv_mw_type type);
1420 int (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw,
1422 int (*dealloc_mw)(struct ibv_mw *mw);
1423 struct ibv_cq * (*create_cq)(struct ibv_context *context, int cqe,
1426 int (*poll_cq)(struct ibv_cq *cq, int num_entries, struct ibv_wc *wc);
1427 int (*req_notify_cq)(struct ibv_cq *cq, int solicited_only);
1428 void (*cq_event)(struct ibv_cq *cq);
1429 int (*resize_cq)(struct ibv_cq *cq, int cqe);
1430 int (*destroy_cq)(struct ibv_cq *cq);
1431 struct ibv_srq * (*create_srq)(struct ibv_pd *pd,
1433 int (*modify_srq)(struct ibv_srq *srq,
1436 int (*query_srq)(struct ibv_srq *srq,
1438 int (*destroy_srq)(struct ibv_srq *srq);
1439 int (*post_srq_recv)(struct ibv_srq *srq,
1464 struct ibv_context_ops ops; argument