aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rdmavt/mmap.h
diff options
context:
space:
mode:
authorDennis Dalessandro <dennis.dalessandro@intel.com>2016-02-14 12:11:20 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:38:10 -0500
commit79a225be38932b17707009767e85d6edf450e7cc (patch)
tree5359d4de3bcc764ec6014479d6b6954a245c4e73 /drivers/infiniband/sw/rdmavt/mmap.h
parentIB/rdmavt: Remove signal_supported and comments (diff)
downloadlinux-dev-79a225be38932b17707009767e85d6edf450e7cc.tar.xz
linux-dev-79a225be38932b17707009767e85d6edf450e7cc.zip
IB/rdmavt: Remove unnecessary exported functions
Remove exported functions which are no longer required as the functionality has moved into rdmavt. This also requires re-ordering some of the functions since their prototype no longer appears in a header file. Rather than add forward declarations it is just cleaner to re-order some of the functions. Reviewed-by: Jubin John <jubin.john@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/mmap.h')
-rw-r--r--drivers/infiniband/sw/rdmavt/mmap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rdmavt/mmap.h b/drivers/infiniband/sw/rdmavt/mmap.h
index e8067471c722..fab0e7b1daf9 100644
--- a/drivers/infiniband/sw/rdmavt/mmap.h
+++ b/drivers/infiniband/sw/rdmavt/mmap.h
@@ -51,5 +51,13 @@
#include <rdma/rdma_vt.h>
void rvt_mmap_init(struct rvt_dev_info *rdi);
+void rvt_release_mmap_info(struct kref *ref);
+int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
+struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi,
+ u32 size,
+ struct ib_ucontext *context,
+ void *obj);
+void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
+ u32 size, void *obj);
#endif /* DEF_RDMAVTMMAP_H */