Got rid of vnode_id and mount_id, replaced with ino_t and dev_t.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21485 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2004-2005, Axel Dörfler, [email protected].
|
||||
* Copyright 2004-2007, Axel Dörfler, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_FILE_CACHE_H
|
||||
@@ -26,9 +26,9 @@
|
||||
struct cache_module_info {
|
||||
module_info info;
|
||||
|
||||
void (*node_opened)(void *vnode, int32 fdType, mount_id mountID, vnode_id parentID,
|
||||
vnode_id vnodeID, const char *name, off_t size);
|
||||
void (*node_closed)(void *vnode, int32 fdType, mount_id mountID, vnode_id vnodeID,
|
||||
void (*node_opened)(void *vnode, int32 fdType, dev_t mountID, ino_t parentID,
|
||||
ino_t vnodeID, const char *name, off_t size);
|
||||
void (*node_closed)(void *vnode, int32 fdType, dev_t mountID, ino_t vnodeID,
|
||||
int32 accessType);
|
||||
void (*node_launched)(size_t argCount, char * const *args);
|
||||
};
|
||||
@@ -38,12 +38,12 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
extern void cache_node_opened(void *vnode, int32 fdType, vm_cache_ref *cache,
|
||||
mount_id mountID, vnode_id parentID, vnode_id vnodeID, const char *name);
|
||||
dev_t mountID, ino_t parentID, ino_t vnodeID, const char *name);
|
||||
extern void cache_node_closed(void *vnode, int32 fdType, vm_cache_ref *cache,
|
||||
mount_id mountID, vnode_id vnodeID);
|
||||
dev_t mountID, ino_t vnodeID);
|
||||
extern void cache_node_launched(size_t argCount, char * const *args);
|
||||
extern void cache_prefetch_vnode(void *vnode, off_t offset, size_t size);
|
||||
extern void cache_prefetch(mount_id mountID, vnode_id vnodeID, off_t offset, size_t size);
|
||||
extern void cache_prefetch(dev_t mountID, ino_t vnodeID, off_t offset, size_t size);
|
||||
extern status_t file_cache_init_post_boot_device(void);
|
||||
extern status_t file_cache_init(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user