linux/drivers/infiniband/core/umem_dmabuf.c

// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/*
 * Copyright (c) 2020 Intel Corporation. All rights reserved.
 */

#include <linux/dma-buf.h>
#include <linux/dma-resv.h>
#include <linux/dma-mapping.h>
#include <linux/module.h>

#include "uverbs.h"

MODULE_IMPORT_NS();

int ib_umem_dmabuf_map_pages(struct ib_umem_dmabuf *umem_dmabuf)
{}
EXPORT_SYMBOL();

void ib_umem_dmabuf_unmap_pages(struct ib_umem_dmabuf *umem_dmabuf)
{}
EXPORT_SYMBOL();

struct ib_umem_dmabuf *ib_umem_dmabuf_get(struct ib_device *device,
					  unsigned long offset, size_t size,
					  int fd, int access,
					  const struct dma_buf_attach_ops *ops)
{}
EXPORT_SYMBOL();

static void
ib_umem_dmabuf_unsupported_move_notify(struct dma_buf_attachment *attach)
{}

static struct dma_buf_attach_ops ib_umem_dmabuf_attach_pinned_ops =;

struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
						 unsigned long offset,
						 size_t size, int fd,
						 int access)
{}
EXPORT_SYMBOL();

void ib_umem_dmabuf_release(struct ib_umem_dmabuf *umem_dmabuf)
{}