brintos

brintos / linux-shallow public Read only

0
0
Text · 612 B · 29aaca3 Raw
20 lines · c
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */2/*3 * Copyright(c) 2016 Intel Corporation.4 */5 6#ifndef DEF_RDMAVTMMAP_H7#define DEF_RDMAVTMMAP_H8 9#include <rdma/rdma_vt.h>10 11void rvt_mmap_init(struct rvt_dev_info *rdi);12void rvt_release_mmap_info(struct kref *ref);13int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);14struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size,15					   struct ib_udata *udata, void *obj);16void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,17			  u32 size, void *obj);18 19#endif          /* DEF_RDMAVTMMAP_H */20