0001
0002
0003
0004
0005
0006 #ifndef DEF_RDMAVTMMAP_H
0007 #define DEF_RDMAVTMMAP_H
0008
0009 #include <rdma/rdma_vt.h>
0010
0011 void rvt_mmap_init(struct rvt_dev_info *rdi);
0012 void rvt_release_mmap_info(struct kref *ref);
0013 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
0014 struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size,
0015 struct ib_udata *udata, void *obj);
0016 void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
0017 u32 size, void *obj);
0018
0019 #endif