Lines Matching refs:vctx

1578 	struct verbs_context *vctx = _vctx; \
1579 if (vctx && (vctx->sz >= sizeof(*vctx) - offsetof(struct verbs_context, op))) \
1580 vctx->op = ptr; })
1695 struct verbs_context *vctx = verbs_get_ctx_op(qp->context, in ibv_create_flow() local
1697 if (!vctx || !vctx->ibv_create_flow) { in ibv_create_flow()
1702 return vctx->ibv_create_flow(qp, flow); in ibv_create_flow()
1707 struct verbs_context *vctx = verbs_get_ctx_op(flow_id->context, in ibv_destroy_flow() local
1709 if (!vctx || !vctx->ibv_destroy_flow) in ibv_destroy_flow()
1711 return vctx->ibv_destroy_flow(flow_id); in ibv_destroy_flow()
1720 struct verbs_context *vctx = verbs_get_ctx_op(context, open_xrcd); in ibv_open_xrcd() local
1721 if (!vctx) { in ibv_open_xrcd()
1725 return vctx->open_xrcd(context, xrcd_init_attr); in ibv_open_xrcd()
1733 struct verbs_context *vctx = verbs_get_ctx(xrcd->context); in ibv_close_xrcd() local
1734 return vctx->close_xrcd(xrcd); in ibv_close_xrcd()
1850 struct verbs_context *vctx = verbs_get_ctx_op(context, create_cq_ex); in ibv_create_cq_ex() local
1852 if (!vctx) { in ibv_create_cq_ex()
1862 return vctx->create_cq_ex(context, cq_attr); in ibv_create_cq_ex()
1956 struct verbs_context *vctx; in ibv_create_srq_ex() local
1966 vctx = verbs_get_ctx_op(context, create_srq_ex); in ibv_create_srq_ex()
1967 if (!vctx) { in ibv_create_srq_ex()
1971 return vctx->create_srq_ex(context, srq_init_attr_ex); in ibv_create_srq_ex()
2000 struct verbs_context *vctx = verbs_get_ctx_op(srq->context, get_srq_num); in ibv_get_srq_num() local
2002 if (!vctx) in ibv_get_srq_num()
2005 return vctx->get_srq_num(srq, srq_num); in ibv_get_srq_num()
2037 struct verbs_context *vctx; in ibv_create_qp_ex() local
2044 vctx = verbs_get_ctx_op(context, create_qp_ex); in ibv_create_qp_ex()
2045 if (!vctx) { in ibv_create_qp_ex()
2049 return vctx->create_qp_ex(context, qp_init_attr_ex); in ibv_create_qp_ex()
2061 struct verbs_context *vctx; in ibv_query_rt_values_ex() local
2063 vctx = verbs_get_ctx_op(context, query_rt_values); in ibv_query_rt_values_ex()
2064 if (!vctx) in ibv_query_rt_values_ex()
2070 return vctx->query_rt_values(context, values); in ibv_query_rt_values_ex()
2081 struct verbs_context *vctx; in ibv_query_device_ex() local
2084 vctx = verbs_get_ctx_op(context, query_device_ex); in ibv_query_device_ex()
2085 if (!vctx) in ibv_query_device_ex()
2088 ret = vctx->query_device_ex(context, input, attr, sizeof(*attr)); in ibv_query_device_ex()
2107 struct verbs_context *vctx = verbs_get_ctx_op(context, open_qp); in ibv_open_qp() local
2108 if (!vctx) { in ibv_open_qp()
2112 return vctx->open_qp(context, qp_open_attr); in ibv_open_qp()
2162 struct verbs_context *vctx = verbs_get_ctx_op(context, create_wq); in ibv_create_wq() local
2165 if (!vctx) { in ibv_create_wq()
2170 wq = vctx->create_wq(context, wq_init_attr); in ibv_create_wq()
2192 struct verbs_context *vctx = verbs_get_ctx_op(wq->context, modify_wq); in ibv_modify_wq() local
2194 if (!vctx) in ibv_modify_wq()
2197 return vctx->modify_wq(wq, wq_attr); in ibv_modify_wq()
2209 struct verbs_context *vctx; in ibv_destroy_wq() local
2211 vctx = verbs_get_ctx_op(wq->context, destroy_wq); in ibv_destroy_wq()
2212 if (!vctx) in ibv_destroy_wq()
2215 return vctx->destroy_wq(wq); in ibv_destroy_wq()
2229 struct verbs_context *vctx; in ibv_create_rwq_ind_table() local
2231 vctx = verbs_get_ctx_op(context, create_rwq_ind_table); in ibv_create_rwq_ind_table()
2232 if (!vctx) { in ibv_create_rwq_ind_table()
2237 return vctx->create_rwq_ind_table(context, init_attr); in ibv_create_rwq_ind_table()
2249 struct verbs_context *vctx; in ibv_destroy_rwq_ind_table() local
2251 vctx = verbs_get_ctx_op(rwq_ind_table->context, destroy_rwq_ind_table); in ibv_destroy_rwq_ind_table()
2252 if (!vctx) in ibv_destroy_rwq_ind_table()
2255 return vctx->destroy_rwq_ind_table(rwq_ind_table); in ibv_destroy_rwq_ind_table()