Changed the way the vnode cache is set - it's now cleaner and can no longer
allocate a cache twice. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8815 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3f8c0d7e75
commit
36ce5c0164
@ -77,8 +77,7 @@ void vfs_vnode_release_ref(void *vnode);
|
||||
ssize_t vfs_can_page(void *vnode);
|
||||
ssize_t vfs_read_page(void *vnode, iovecs *vecs, off_t pos);
|
||||
ssize_t vfs_write_page(void *vnode, iovecs *vecs, off_t pos);
|
||||
void *vfs_get_cache_ptr(void *vnode);
|
||||
int vfs_set_cache_ptr(void *vnode, void *cache);
|
||||
status_t vfs_get_vnode_cache(void *vnode, void **_cache);
|
||||
|
||||
/* special module convenience call */
|
||||
status_t vfs_get_module_path(const char *basePath, const char *moduleName, char *pathBuffer, size_t bufferSize);
|
||||
|
@ -55,6 +55,7 @@ region_id vm_clone_region(aspace_id aid, char *name, void **address, int addr_ty
|
||||
region_id source_region, int mapping, int lock);
|
||||
int vm_delete_region(aspace_id aid, region_id id);
|
||||
region_id vm_find_region_by_name(aspace_id aid, const char *name);
|
||||
status_t vm_create_vnode_cache(void *vnode, void **_cache);
|
||||
|
||||
int vm_get_page_mapping(aspace_id aid, addr vaddr, addr *paddr);
|
||||
int vm_get_physical_page(addr paddr, addr *vaddr, int flags);
|
||||
|
Loading…
Reference in New Issue
Block a user