Searched refs:mountID (Results 1 - 17 of 17) sorted by path

/haiku/headers/private/kernel/
H A Dfile_cache.h29 void (*node_opened)(struct vnode *vnode, int32 fdType, dev_t mountID,
31 void (*node_closed)(struct vnode *vnode, int32 fdType, dev_t mountID,
41 dev_t mountID, ino_t parentID, ino_t vnodeID, const char *name);
43 dev_t mountID, ino_t vnodeID);
46 extern void cache_prefetch(dev_t mountID, ino_t vnodeID, off_t offset, size_t size);
H A Dvfs.h86 status_t vfs_get_vnode(dev_t mountID, ino_t vnodeID, bool canWait,
88 status_t vfs_entry_ref_to_vnode(dev_t mountID, ino_t directoryID,
95 status_t vfs_lookup_vnode(dev_t mountID, ino_t vnodeID,
130 status_t vfs_unmount(dev_t mountID, uint32 flags);
131 status_t vfs_disconnect_vnode(dev_t mountID, ino_t vnodeID);
153 status_t vfs_resolve_vnode_to_covering_vnode(dev_t mountID, ino_t nodeID,
157 status_t vfs_get_mount_point(dev_t mountID, dev_t* _mountPointMountID,
159 status_t vfs_bind_mount_directory(dev_t mountID, ino_t nodeID,
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A Dentry_cache.cpp14 entry_cache_add(dev_t mountID, ino_t dirID, const char* name, ino_t nodeID) argument
21 entry_cache_add_missing(dev_t mountID, ino_t dirID, const char* name) argument
28 entry_cache_remove(dev_t mountID, ino_t dirID, const char* name) argument
H A Dhaiku_kernel_emu.cpp482 vfs_lookup_vnode(dev_t mountID, ino_t vnodeID, struct vnode **_vnode) argument
486 FileSystem::GetInstance()->VolumeWithID(mountID));
H A Dvfs.h18 status_t vfs_lookup_vnode(dev_t mountID, ino_t vnodeID, struct vnode **_vnode);
H A Dfile_cache.cpp17 dev_t mountID; member in struct:FileCache
21 FileCache(dev_t mountID, ino_t vnodeID) argument
23 mountID(mountID),
32 file_cache_create(dev_t mountID, ino_t vnodeID, off_t size) argument
35 B_PRIdOFF ")\n", mountID, vnodeID, size));
38 FileCache* fileCache = new(std::nothrow) FileCache(mountID, vnodeID);
44 status_t error = UserlandFS::KernelEmu::file_cache_create(mountID, vnodeID,
68 UserlandFS::KernelEmu::file_cache_delete(fileCache->mountID,
85 if (UserlandFS::KernelEmu::file_cache_set_enabled(fileCache->mountID,
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A Dkernel_emu.cpp578 UserlandFS::KernelEmu::file_cache_create(dev_t mountID, ino_t vnodeID, argument
595 request->nsid = mountID;
614 UserlandFS::KernelEmu::file_cache_delete(dev_t mountID, ino_t vnodeID) argument
630 request->nsid = mountID;
648 UserlandFS::KernelEmu::file_cache_set_enabled(dev_t mountID, ino_t vnodeID, argument
665 request->nsid = mountID;
684 UserlandFS::KernelEmu::file_cache_set_size(dev_t mountID, ino_t vnodeID, argument
701 request->nsid = mountID;
720 UserlandFS::KernelEmu::file_cache_sync(dev_t mountID, ino_t vnodeID) argument
736 request->nsid = mountID;
754 file_cache_read(dev_t mountID, ino_t vnodeID, void *cookie, off_t offset, void *bufferBase, size_t *_size) argument
807 file_cache_write(dev_t mountID, ino_t vnodeID, void *cookie, off_t offset, const void *buffer, size_t *_size) argument
[all...]
H A Dkernel_emu.h40 status_t file_cache_create(dev_t mountID, ino_t vnodeID, off_t size);
41 status_t file_cache_delete(dev_t mountID, ino_t vnodeID);
42 status_t file_cache_set_enabled(dev_t mountID, ino_t vnodeID, bool enabled);
43 status_t file_cache_set_size(dev_t mountID, ino_t vnodeID, off_t size);
44 status_t file_cache_sync(dev_t mountID, ino_t vnodeID);
46 status_t file_cache_read(dev_t mountID, ino_t vnodeID, void *cookie,
48 status_t file_cache_write(dev_t mountID, ino_t vnodeID, void *cookie,
/haiku/src/tests/system/kernel/cache/
H A Dfile_map_test.cpp294 vfs_lookup_vnode(dev_t mountID, ino_t vnodeID, struct vnode** _vnode) argument
296 *_vnode = (struct vnode*)mountID;
/haiku/src/tools/fs_shell/
H A Dvfs.h66 fssh_status_t vfs_get_vnode(fssh_mount_id mountID, fssh_vnode_id vnodeID,
68 fssh_status_t vfs_entry_ref_to_vnode(fssh_mount_id mountID,
73 fssh_status_t vfs_lookup_vnode(fssh_mount_id mountID, fssh_vnode_id vnodeID,
87 fssh_status_t vfs_get_fs_node_from_path(fssh_mount_id mountID,
94 fssh_status_t vfs_disconnect_vnode(fssh_mount_id mountID,
108 fssh_status_t resolve_mount_point_to_volume_root(fssh_mount_id mountID,
H A Dfile_cache.cpp65 fssh_mount_id mountID; member in struct:FSShell::file_cache_ref
235 fssh_file_cache_create(fssh_mount_id mountID, fssh_vnode_id vnodeID, argument
238 TRACE(("file_cache_create(mountID = %d, vnodeID = %lld, size = %lld)\n",
239 mountID, vnodeID, size));
245 ref->mountID = mountID;
250 fssh_status_t error = vfs_lookup_vnode(mountID, vnodeID, &ref->node);
253 ": %s\n", mountID, vnodeID, fssh_strerror(error));
261 (int)mountID, vnodeID);
H A Dvfs.cpp592 create_new_vnode(struct vnode **_vnode, fssh_mount_id mountID, fssh_vnode_id vnodeID) argument
602 vnode->device = mountID;
607 vnode->mount = find_mount(mountID);
738 * \param mountID the mount ID.
746 lookup_vnode(fssh_mount_id mountID, fssh_vnode_id vnodeID) argument
750 key.device = mountID;
763 * \param mountID the mount ID.
773 get_vnode(fssh_mount_id mountID, fssh_vnode_id vnodeID, struct vnode **_vnode, int reenter) argument
775 FUNCTION(("get_vnode: mountid %ld vnid 0x%Lx %p\n", mountID, vnodeID, _vnode));
782 struct vnode *vnode = lookup_vnode(mountID, vnodeI
940 resolve_mount_point_to_volume_root(fssh_mount_id mountID, fssh_vnode_id nodeID, fssh_mount_id *resolvedMountID, fssh_vnode_id *resolvedNodeID) argument
1045 entry_ref_to_vnode(fssh_mount_id mountID, fssh_vnode_id directoryID, const char *name, struct vnode **_vnode) argument
2275 fssh_entry_cache_add(fssh_dev_t mountID, fssh_ino_t dirID, const char* name, fssh_ino_t nodeID) argument
2284 fssh_entry_cache_add_missing(fssh_dev_t mountID, fssh_ino_t dirID, const char* name) argument
2293 fssh_entry_cache_remove(fssh_dev_t mountID, fssh_ino_t dirID, const char* name) argument
2372 vfs_get_vnode(fssh_mount_id mountID, fssh_vnode_id vnodeID, void **_vnode) argument
2408 vfs_entry_ref_to_vnode(fssh_mount_id mountID, fssh_vnode_id directoryID, const char *name, void **_vnode) argument
2434 vfs_lookup_vnode(fssh_mount_id mountID, fssh_vnode_id vnodeID, struct vnode **_vnode) argument
3077 file_create_entry_ref(fssh_mount_id mountID, fssh_vnode_id directoryID, const char *name, int openMode, int perms, bool kernel) argument
3118 file_open_entry_ref(fssh_mount_id mountID, fssh_vnode_id directoryID, const char *name, int openMode, bool kernel) argument
3263 dir_create_entry_ref(fssh_mount_id mountID, fssh_vnode_id parentID, const char *name, int perms, bool kernel) argument
3311 dir_open_entry_ref(fssh_mount_id mountID, fssh_vnode_id parentID, const char *name, bool kernel) argument
4299 index_dir_open(fssh_mount_id mountID, bool kernel) argument
4387 index_create(fssh_mount_id mountID, const char *name, uint32_t type, uint32_t flags, bool kernel) argument
4410 index_name_read_stat(fssh_mount_id mountID, const char *name, struct fssh_stat *stat, bool kernel) argument
4434 index_remove(fssh_mount_id mountID, const char *name, bool kernel) argument
[all...]
/haiku/headers/os/drivers/
H A Dfs_cache.h83 extern void *file_cache_create(dev_t mountID, ino_t vnodeID, off_t size);
97 extern void *file_map_create(dev_t mountID, ino_t vnodeID, off_t size);
106 extern status_t entry_cache_add(dev_t mountID, ino_t dirID, const char* name,
108 extern status_t entry_cache_add_missing(dev_t mountID, ino_t dirID,
110 extern status_t entry_cache_remove(dev_t mountID, ino_t dirID,
/haiku/headers/private/fs_shell/
H A Dfssh_fs_cache.h99 extern void * fssh_file_cache_create(fssh_mount_id mountID,
117 extern void * fssh_file_map_create(fssh_mount_id mountID,
129 extern fssh_status_t fssh_entry_cache_add(fssh_dev_t mountID,
132 extern fssh_status_t fssh_entry_cache_add_missing(fssh_dev_t mountID,
134 extern fssh_status_t fssh_entry_cache_remove(fssh_dev_t mountID,
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp1039 cache_prefetch(dev_t mountID, ino_t vnodeID, off_t offset, size_t size) argument
1043 TRACE(("cache_prefetch(vnode %ld:%lld)\n", mountID, vnodeID));
1047 if (vfs_get_vnode(mountID, vnodeID, true, &vnode) != B_OK)
1057 dev_t mountID, ino_t parentID, ino_t vnodeID, const char* name)
1069 sCacheModule->node_opened(vnode, fdType, mountID, parentID, vnodeID, name,
1076 dev_t mountID, ino_t vnodeID)
1086 sCacheModule->node_closed(vnode, fdType, mountID, vnodeID, accessType);
1139 file_cache_create(dev_t mountID, ino_t vnodeID, off_t size) argument
1141 TRACE(("file_cache_create(mountID = %ld, vnodeID = %lld, size = %lld)\n",
1142 mountID, vnodeI
1056 cache_node_opened(struct vnode* vnode, int32 fdType, VMCache* cache, dev_t mountID, ino_t parentID, ino_t vnodeID, const char* name) argument
1075 cache_node_closed(struct vnode* vnode, int32 fdType, VMCache* cache, dev_t mountID, ino_t vnodeID) argument
[all...]
H A Dfile_map.cpp603 file_map_create(dev_t mountID, ino_t vnodeID, off_t size) argument
605 TRACE("file_map_create(mountID = %ld, vnodeID = %lld, size = %lld)\n",
606 mountID, vnodeID, size);
611 if (vfs_lookup_vnode(mountID, vnodeID, &vnode) != B_OK)
/haiku/src/system/kernel/fs/
H A Dvfs.cpp428 static status_t fs_unmount(char* path, dev_t mountID, uint32 flags,
859 \param mountID the mount ID.
866 lookup_vnode(dev_t mountID, ino_t vnodeID) argument
872 key.device = mountID;
887 retry_busy_vnode(int32& tries, dev_t mountID, ino_t vnodeID) argument
892 " is not becoming unbusy!\n", mountID, vnodeID);
906 \param mountID The mount ID.
917 create_new_vnode_and_lock(dev_t mountID, ino_t vnodeID, struct vnode*& _vnode, argument
928 vnode->device = mountID;
936 struct vnode* existingVnode = lookup_vnode(mountID, vnodeI
1146 get_vnode(dev_t mountID, ino_t vnodeID, struct vnode** _vnode, bool canWait, int reenter) argument
2051 entry_ref_to_vnode(dev_t mountID, ino_t directoryID, const char* name, bool traverse, bool kernel, VnodePutter& _vnode) argument
4087 entry_cache_add(dev_t mountID, ino_t dirID, const char* name, ino_t nodeID) argument
4102 entry_cache_add_missing(dev_t mountID, ino_t dirID, const char* name) argument
4117 entry_cache_remove(dev_t mountID, ino_t dirID, const char* name) argument
4202 vfs_get_vnode(dev_t mountID, ino_t vnodeID, bool canWait, struct vnode** _vnode) argument
4216 vfs_entry_ref_to_vnode(dev_t mountID, ino_t directoryID, const char* name, struct vnode** _vnode) argument
4263 vfs_lookup_vnode(dev_t mountID, ino_t vnodeID, struct vnode** _vnode) argument
4594 vfs_unmount(dev_t mountID, uint32 flags) argument
4601 vfs_disconnect_vnode(dev_t mountID, ino_t vnodeID) argument
5123 vfs_resolve_vnode_to_covering_vnode(dev_t mountID, ino_t nodeID, dev_t* resolvedMountID, ino_t* resolvedNodeID) argument
5149 vfs_get_mount_point(dev_t mountID, dev_t* _mountPointMountID, ino_t* _mountPointNodeID) argument
5169 vfs_bind_mount_directory(dev_t mountID, ino_t nodeID, dev_t coveredMountID, ino_t coveredNodeID) argument
5553 file_create_entry_ref(dev_t mountID, ino_t directoryID, const char* name, int openMode, int perms, bool kernel) argument
5591 file_open_entry_ref(dev_t mountID, ino_t directoryID, const char* name, int openMode, bool kernel) argument
5873 dir_create_entry_ref(dev_t mountID, ino_t parentID, const char* name, int perms, bool kernel) argument
5923 dir_open_entry_ref(dev_t mountID, ino_t parentID, const char* name, bool kernel) argument
7027 index_dir_open(dev_t mountID, bool kernel) argument
7120 index_create(dev_t mountID, const char* name, uint32 type, uint32 flags, bool kernel) argument
7174 index_name_read_stat(dev_t mountID, const char* name, struct stat* stat, bool kernel) argument
7199 index_remove(dev_t mountID, const char* name, bool kernel) argument
7657 fs_unmount(char* path, dev_t mountID, uint32 flags, bool kernel) argument
[all...]

Completed in 142 milliseconds