X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..4d15aeb193b2c68f1d38666c317f8d3734f5f083:/bsd/vm/vnode_pager.h diff --git a/bsd/vm/vnode_pager.h b/bsd/vm/vnode_pager.h index b41cc7d52..17adbf1e7 100644 --- a/bsd/vm/vnode_pager.h +++ b/bsd/vm/vnode_pager.h @@ -43,10 +43,9 @@ #include #include #include +#include #include -vm_pager_t vnode_pager_setup(struct vnode *, memory_object_t); - /* * Vstructs are the internal (to us) description of a unit of backing store. * The are the link between memory objects and the backing store they represent. @@ -128,26 +127,6 @@ typedef struct vstruct { #define VNODE_PAGER_NULL ((vnode_pager_t) 0) - -pager_return_t vnode_pagein(struct vnode *, upl_t, - upl_offset_t, vm_object_offset_t, - upl_size_t, int, int *); -pager_return_t vnode_pageout(struct vnode *, upl_t, - upl_offset_t, vm_object_offset_t, - upl_size_t, int, int *); - -extern vm_object_offset_t vnode_pager_get_filesize( - struct vnode *vp); - -extern kern_return_t vnode_pager_get_pathname( - struct vnode *vp, - char *pathname, - vm_size_t *length_p); - -extern kern_return_t vnode_pager_get_filename( - struct vnode *vp, - char **filename); - #endif /* KERNEL */ #endif /* _VNODE_PAGER_ */