external_libs/ibverbs/ppc64le/include/infiniband/verbs.h
static inline
struct ibv_dm *ibv_alloc_dm(struct ibv_context *context,
			    struct ibv_alloc_dm_attr *attr)
{
	struct verbs_context *vctx = verbs_get_ctx_op(context, alloc_dm);

	if (!vctx) {
		errno = ENOSYS;
		return NULL;
	}

	return vctx->alloc_dm(context, attr);
}
/**
 * ibv_alloc_dm - Allocate device memory
 * @context - Context DM will be attached to
 * @attr - Attributes to allocate the DM with
 */
Allocate device memory
@context - Context DM will be attached to
@attr - Attributes to allocate the DM with
Allocate device memory @context - Context DM will be attached to @attr - Attributes to allocate the DM with
static inline
struct ibv_dm *ibv_alloc_dm(struct ibv_context *context,
			    struct ibv_alloc_dm_attr *attr)
{
	struct verbs_context *vctx = verbs_get_ctx_op(context, alloc_dm);
	if (!vctx) {
		errno = ENOSYS;
		return NULL;
	}
	return vctx->alloc_dm(context, attr);
}
static inline struct ibv_dm * ibv_alloc_dm ( struct ibv_context * context , struct ibv_alloc_dm_attr * attr ) { struct verbs_context * vctx = verbs_get_ctx_op ( context , alloc_dm ) ; if ( ! vctx ) { errno = ENOSYS ; return NULL ; } return vctx -> alloc_dm ( context , attr ) ; }
ibv_alloc_dm - Allocate device memory
 @context - Context DM will be attached to
 @attr - Attributes to allocate the DM with
ibv_alloc_dm - Allocate device memory @context - Context DM will be attached to @attr - Attributes to allocate the DM with