Home
last modified time | relevance | path

Searched defs:vnode (Results 1 – 25 of 56) sorted by relevance

123

/haiku/src/system/kernel/fs/
H A DVnode.h26 struct vnode : fs_vnode, DoublyLinkedListLinkImpl<vnode> { struct
27 struct vnode* hash_next; argument
30 struct vnode* covered_by; argument
31 struct vnode* covers; argument
34 DoublyLinkedListLink<struct vnode> unused_link; argument
35 ino_t id;
36 dev_t device;
37 int32 ref_count;
87 struct vnode* vnode; argument
113 vnode::IsBusy() const in IsBusy() argument
H A Dunused_vnodes.h58 Vnode* vnode = sHotVnodes[i]; in flush_hot_vnodes_locked() local
86 vnode_unused(Vnode* vnode) in vnode_unused()
143 vnode_used(Vnode* vnode) in vnode_used()
165 vnode_to_be_freed(Vnode* vnode) in vnode_to_be_freed()
H A Dvfs.cpp84 #define HAS_FS_CALL(vnode, op) (vnode->ops->op != NULL) argument
88 # define FS_CALL(vnode, op, params...) \ argument
92 # define FS_CALL_NO_PARAMS(vnode, op) \ argument
105 # define FS_CALL(vnode, op, params...) \ argument
107 # define FS_CALL_NO_PARAMS(vnode, op) \ argument
265 ino_t vnode; member
607 PagesIOTraceEntry(struct vnode* vnode, void* cookie, off_t pos, in PagesIOTraceEntry()
665 ReadPages(struct vnode* vnode, void* cookie, off_t pos, in ReadPages()
685 WritePages(struct vnode* vnode, void* cookie, off_t pos, in WritePages()
847 add_vnode_to_mount_list(struct vnode* vnode, struct fs_mount* mount) in add_vnode_to_mount_list()
[all …]
H A Drootfs.cpp161 get_parent_id(struct rootfs_vnode* vnode) in get_parent_id()
173 struct rootfs_vnode* vnode; in rootfs_create_vnode() local
228 update_dir_cookies(struct rootfs_vnode* dir, struct rootfs_vnode* vnode) in update_dir_cookies()
244 struct rootfs_vnode* vnode; in rootfs_find_in_dir() local
261 struct rootfs_vnode* vnode) in rootfs_insert_in_dir()
294 struct rootfs_vnode* vnode; in rootfs_remove_from_dir() local
329 struct rootfs_vnode* vnode) in remove_node()
355 struct rootfs_vnode* vnode; in rootfs_remove() local
387 struct rootfs_vnode* vnode; in rootfs_mount() local
451 struct rootfs_vnode* vnode = i.Next(); in rootfs_unmount() local
[all …]
H A Dvfs_request_io.cpp52 struct vnode* vnode; member
108 VnodeIO(bool write, struct vnode* vnode, void* cookie) in VnodeIO()
282 do_synchronous_iterative_vnode_io(struct vnode* vnode, void* openCookie, in do_synchronous_iterative_vnode_io()
404 vfs_vnode_io(struct vnode* vnode, void* cookie, io_request* request) in vfs_vnode_io()
429 vfs_asynchronous_read_pages(struct vnode* vnode, void* cookie, off_t pos, in vfs_asynchronous_read_pages()
455 vfs_asynchronous_write_pages(struct vnode* vnode, void* cookie, off_t pos, in vfs_asynchronous_write_pages()
498 struct vnode* vnode; in do_iterative_fd_io() local
H A Dfifo.cpp225 FIFOInode(fs_vnode* vnode) in FIFOInode()
868 fifo_put_vnode(fs_volume* volume, fs_vnode* vnode, bool reenter) in fifo_put_vnode()
884 fifo_remove_vnode(fs_volume* volume, fs_vnode* vnode, bool reenter) in fifo_remove_vnode()
926 fifo_close(fs_volume* volume, fs_vnode* vnode, void* _cookie) in fifo_close()
1032 fifo_read_stat(fs_volume* volume, fs_vnode* vnode, struct ::stat* st) in fifo_read_stat()
1061 fifo_write_stat(fs_volume* volume, fs_vnode* vnode, const struct ::stat* st, in fifo_write_stat()
1199 fifo_get_super_vnode(fs_volume* volume, fs_vnode* vnode, fs_volume* superVolume, in fifo_get_super_vnode()
1305 create_fifo_vnode(fs_volume* superVolume, fs_vnode* vnode) in create_fifo_vnode()
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dntfs.h42 typedef struct vnode { struct
43 ~vnode() in ~vnode() argument
61 } vnode; argument
/haiku/src/add-ons/kernel/file_systems/layers/log_overlay/
H A Dlog_overlay.cpp50 overlay_put_vnode(fs_volume *volume, fs_vnode *vnode, bool reenter) in overlay_put_vnode()
68 overlay_remove_vnode(fs_volume *volume, fs_vnode *vnode, bool reenter) in overlay_remove_vnode()
86 overlay_get_super_vnode(fs_volume *volume, fs_vnode *vnode, in overlay_get_super_vnode()
106 overlay_lookup(fs_volume *volume, fs_vnode *vnode, const char *name, ino_t *id) in overlay_lookup()
116 overlay_get_vnode_name(fs_volume *volume, fs_vnode *vnode, char *buffer, in overlay_get_vnode_name()
129 overlay_can_page(fs_volume *volume, fs_vnode *vnode, void *cookie) in overlay_can_page()
145 overlay_read_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_read_pages()
159 overlay_write_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_write_pages()
173 overlay_io(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_io()
187 overlay_cancel_io(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_cancel_io()
[all …]
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/
H A Dvnode.h73 struct vnode { struct
77 enum vtype v_type : 8; /* u vnode type */ argument
78 enum vstate v_state : 8; /* u vnode state */ argument
87 * Type specific fields, only one applies to any given vnode. argument
97 struct lock* v_vnlock; /* u pointer to vnode lock */ argument
107 u_short v_vflag; /* v vnode flags */ argument
121 * VV flags are protected by the vnode lock and live in v_vflag argument
/haiku/src/add-ons/kernel/file_systems/layers/attribute_overlay/
H A Dattribute_overlay.cpp321 fs_vnode *vnode) in AttributeFile()
538 fs_vnode *vnode) in WriteAttributeFile()
704 fs_vnode *vnode) in RemoveAttributeFile()
1106 overlay_put_vnode(fs_volume *volume, fs_vnode *vnode, bool reenter) in overlay_put_vnode()
1123 overlay_remove_vnode(fs_volume *volume, fs_vnode *vnode, bool reenter) in overlay_remove_vnode()
1140 overlay_get_super_vnode(fs_volume *volume, fs_vnode *vnode, in overlay_get_super_vnode()
1162 overlay_lookup(fs_volume *volume, fs_vnode *vnode, const char *name, ino_t *id) in overlay_lookup()
1169 overlay_get_vnode_name(fs_volume *volume, fs_vnode *vnode, char *buffer, in overlay_get_vnode_name()
1177 overlay_can_page(fs_volume *volume, fs_vnode *vnode, void *cookie) in overlay_can_page()
1193 overlay_read_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_read_pages()
[all …]
/haiku/src/tools/fs_shell/
H A Dvfs.cpp55 #define HAS_FS_CALL(vnode, op) (vnode->ops->op != NULL) argument
58 #define FS_CALL(vnode, op, params...) \ argument
60 #define FS_CALL_NO_PARAMS(vnode, op) \ argument
75 struct vnode : fssh_fs_vnode { struct
76 struct vnode *next;
77 vm_cache_ref *cache;
78 fssh_mount_id device;
79 list_link mount_link;
80 list_link unused_link;
81 fssh_vnode_id id;
[all …]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A Dkernel_interface.cpp240 nfs4_get_vnode(fs_volume* volume, ino_t id, fs_vnode* vnode, int* _type, in nfs4_get_vnode()
335 nfs4_put_vnode(fs_volume* volume, fs_vnode* vnode, bool reenter) in nfs4_put_vnode()
346 nfs4_remove_vnode(fs_volume* volume, fs_vnode* vnode, bool reenter) in nfs4_remove_vnode()
363 nfs4_read_pages(fs_volume* _volume, fs_vnode* vnode, void* _cookie, off_t pos, in nfs4_read_pages()
407 nfs4_write_pages(fs_volume* _volume, fs_vnode* vnode, void* _cookie, off_t pos, in nfs4_write_pages()
448 nfs4_io(fs_volume* volume, fs_vnode* vnode, void* cookie, io_request* request) in nfs4_io()
476 nfs4_get_file_map(fs_volume* volume, fs_vnode* vnode, off_t _offset, in nfs4_get_file_map()
484 nfs4_set_flags(fs_volume* volume, fs_vnode* vnode, void* _cookie, int flags) in nfs4_set_flags()
497 nfs4_fsync(fs_volume* volume, fs_vnode* vnode) in nfs4_fsync()
557 nfs4_link(fs_volume* volume, fs_vnode* dir, const char* name, fs_vnode* vnode) in nfs4_link()
[all …]
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/
H A Dwrite_overlay.cpp1534 overlay_put_vnode(fs_volume *volume, fs_vnode *vnode, bool reenter) in overlay_put_vnode()
1557 overlay_remove_vnode(fs_volume *volume, fs_vnode *vnode, bool reenter) in overlay_remove_vnode()
1579 overlay_get_super_vnode(fs_volume *volume, fs_vnode *vnode, in overlay_get_super_vnode()
1605 overlay_lookup(fs_volume *volume, fs_vnode *vnode, const char *name, ino_t *id) in overlay_lookup()
1613 overlay_get_vnode_name(fs_volume *volume, fs_vnode *vnode, char *buffer, in overlay_get_vnode_name()
1621 overlay_can_page(fs_volume *volume, fs_vnode *vnode, void *cookie) in overlay_can_page()
1639 overlay_read_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_read_pages()
1672 overlay_write_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_write_pages()
1705 overlay_io(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_io()
1725 overlay_cancel_io(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_cancel_io()
[all …]
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp197 get_parent_id(struct devfs_vnode* vnode) in get_parent_id()
247 init_directory_vnode(struct devfs_vnode* vnode, int permissions) in init_directory_vnode()
259 struct devfs_vnode* vnode; in devfs_create_vnode() local
284 devfs_delete_vnode(struct devfs* fs, struct devfs_vnode* vnode, in devfs_delete_vnode()
320 update_dir_cookies(struct devfs_vnode* dir, struct devfs_vnode* vnode) in update_dir_cookies()
335 struct devfs_vnode* vnode; in devfs_find_in_dir() local
357 devfs_insert_in_dir(struct devfs_vnode* dir, struct devfs_vnode* vnode, in devfs_insert_in_dir()
398 struct devfs_vnode* vnode = dir->stream.u.dir.dir_head; in devfs_remove_from_dir() local
602 struct devfs_vnode* vnode = NULL; in publish_directory() local
667 struct devfs_vnode* vnode = NULL; in new_node() local
[all …]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DFileSystemVisitor.cpp52 Vnode vnode; in Next() local
209 Vnode vnode(fVolume, fVolume->Root()); in Start() local
215 Vnode vnode(fVolume, fVolume->Indices()); in Start() local
225 Vnode vnode(fVolume, inode->ID()); in Start() local
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackagesDirectory.cpp63 struct vnode* vnode; in Init() local
88 struct vnode* vnode; in InitOldState() local
102 PackagesDirectory::_Init(struct vnode* vnode, struct stat& _st) in _Init()
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixEndpoint.cpp105 struct vnode* vnode; in _Bind() local
131 UnixEndpoint::_Bind(struct vnode* vnode) in _Bind()
156 if (struct vnode* vnode = fAddress.Vnode()) in _Unbind() local
H A DUnixAddress.h45 UnixAddress(dev_t volumeID, ino_t nodeID, struct vnode* vnode) in UnixAddress()
58 void SetTo(dev_t volumeID, ino_t nodeID, struct vnode* vnode) in SetTo()
/haiku/src/tests/system/kernel/file_corruption/fs/
H A Dchecksumfs.cpp959 checksumfs_get_vnode(fs_volume* fsVolume, ino_t id, fs_vnode* vnode, in checksumfs_get_vnode()
1028 checksumfs_put_vnode(fs_volume* fsVolume, fs_vnode* vnode, bool reenter) in checksumfs_put_vnode()
1037 checksumfs_remove_vnode(fs_volume* fsVolume, fs_vnode* vnode, bool reenter) in checksumfs_remove_vnode()
1071 checksumfs_io(fs_volume* fsVolume, fs_vnode* vnode, void* cookie, in checksumfs_io()
1106 checksumfs_get_file_map(fs_volume* fsVolume, fs_vnode* vnode, off_t offset, in checksumfs_get_file_map()
1124 checksumfs_set_flags(fs_volume* fsVolume, fs_vnode* vnode, void* _cookie, in checksumfs_set_flags()
1138 checksumfs_fsync(fs_volume* fsVolume, fs_vnode* vnode) in checksumfs_fsync()
1149 checksumfs_read_symlink(fs_volume* fsVolume, fs_vnode* vnode, char* buffer, in checksumfs_read_symlink()
1220 fs_vnode* vnode) in checksumfs_link()
1393 checksumfs_access(fs_volume* fsVolume, fs_vnode* vnode, int mode) in checksumfs_access()
[all …]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dkernel_interface.cpp665 dosfs_read_vnode(fs_volume* volume, ino_t id, fs_vnode* vnode, int* _type, uint32* _flags, in dosfs_read_vnode()
823 dosfs_release_vnode(fs_volume* volume, fs_vnode* vnode, bool reenter) in dosfs_release_vnode()
866 dosfs_remove_vnode(fs_volume* volume, fs_vnode* vnode, bool reenter) in dosfs_remove_vnode()
922 dosfs_can_page(fs_volume* vol, fs_vnode* vnode, void* cookie) in dosfs_can_page()
930 dosfs_read_pages(fs_volume* volume, fs_vnode* vnode, void* cookie, off_t pos, const iovec* vecs, in dosfs_read_pages()
976 dosfs_write_pages(fs_volume* volume, fs_vnode* vnode, void* cookie, off_t pos, const iovec* vecs, in dosfs_write_pages()
1025 dosfs_io(fs_volume* volume, fs_vnode* vnode, void* cookie, io_request* request) in dosfs_io()
1065 dosfs_get_file_map(fs_volume* volume, fs_vnode* vnode, off_t position, size_t length, in dosfs_get_file_map()
1175 dosfs_fsync(fs_volume* volume, fs_vnode* vnode) in dosfs_fsync()
1237 dosfs_link(fs_volume* volume, fs_vnode* dir, const char* name, fs_vnode* vnode) in dosfs_link()
[all …]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DVolume.cpp288 Volume::HasVNodeCapability(VNode* vnode, int capability) const in HasVNodeCapability()
337 void* vnode; in GetVNode() local
524 VNode* vnode = fVNodes->Lookup(vnodeID); in CreateFileCache() local
556 VNode* vnode = fVNodes->Lookup(vnodeID); in DeleteFileCache() local
581 VNode* vnode = fVNodes->Lookup(vnodeID); in SetFileCacheEnabled() local
611 VNode* vnode = fVNodes->Lookup(vnodeID); in SetFileCacheSize() local
633 VNode* vnode = fVNodes->Lookup(vnodeID); in SyncFileCache() local
656 VNode* vnode = fVNodes->Lookup(vnodeID); in ReadFileCache() local
679 VNode* vnode = fVNodes->Lookup(vnodeID); in WriteFileCache() local
1014 VNode* vnode = (VNode*)_node; in GetVNodeName() local
[all …]
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp345 udf_read(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in udf_read()
367 udf_io(fs_volume *volume, fs_vnode *vnode, void *cookie, io_request *request) in udf_io()
386 udf_get_file_map(fs_volume *_volume, fs_vnode *vnode, off_t offset, size_t size, in udf_get_file_map()
395 udf_open_dir(fs_volume *volume, fs_vnode *vnode, void **cookie) in udf_open_dir()
443 udf_read_dir(fs_volume *_volume, fs_vnode *vnode, void *cookie, in udf_read_dir()
487 udf_rewind_dir(fs_volume *volume, fs_vnode *vnode, void *cookie) in udf_rewind_dir()
/haiku/src/system/kernel/cache/
H A Dvnode_store.cpp21 VMVnodeCache::Init(struct vnode* vnode, uint32 allocationFlags) in Init()
140 struct vnode* vnode; in AcquireUnreferencedStoreRef() local
H A Dfile_cache.cpp46 struct vnode *vnode; member
634 write_zeros_to_file(struct vnode* vnode, void* cookie, off_t offset, in write_zeros_to_file()
956 cache_prefetch_vnode(struct vnode* vnode, off_t offset, size_t size) in cache_prefetch_vnode()
1048 struct vnode* vnode; in cache_prefetch() local
1058 cache_node_opened(struct vnode* vnode, VMCache* cache, in cache_node_opened()
1077 cache_node_closed(struct vnode* vnode, VMCache* cache, in cache_node_closed()
/haiku/src/add-ons/kernel/file_cache/
H A Dlog.cpp97 log_node_opened(void *vnode, int32 fdType, mount_id device, vnode_id parent, in log_node_opened()
129 log_node_closed(void *vnode, int32 fdType, mount_id device, vnode_id node, int32 accessType) in log_node_closed()

123