external_libs/ibverbs/ppc64le/include/infiniband/verbs.h
static inline
struct ibv_mr *ibv_alloc_null_mr(struct ibv_pd *pd)
{
	struct verbs_context *vctx;

	vctx = verbs_get_ctx_op(pd->context, alloc_null_mr);
	if (!vctx) {
		errno = ENOSYS;
		return NULL;
	}

	return vctx->alloc_null_mr(pd);
}
/*
 * ibv_alloc_null_mr - Allocate a null memory region.
 * @pd - The protection domain associated with the MR.
 */
Allocate a null memory region.
@pd - The protection domain associated with the MR.
Allocate a null memory region . @pd - The protection domain associated with the MR .
static inline
struct ibv_mr *ibv_alloc_null_mr(struct ibv_pd *pd)
{
	struct verbs_context *vctx;
	vctx = verbs_get_ctx_op(pd->context, alloc_null_mr);
	if (!vctx) {
		errno = ENOSYS;
		return NULL;
	}
	return vctx->alloc_null_mr(pd);
}
static inline struct ibv_mr * ibv_alloc_null_mr ( struct ibv_pd * pd ) { struct verbs_context * vctx ; vctx = verbs_get_ctx_op ( pd -> context , alloc_null_mr ) ; if ( ! vctx ) { errno = ENOSYS ; return NULL ; } return vctx -> alloc_null_mr ( pd ) ; }
ibv_alloc_null_mr - Allocate a null memory region.
ibv_alloc_null_mr - Allocate a null memory region .