/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 833 // get vnode 852 // set cache in vnode 853 struct vnode* vnode; local 854 if (vfs_lookup_vnode(_volume->id, node->GetID(), &vnode) == B_OK) { 855 vfs_set_vnode_cache(vnode, file->GetCache()); 2174 /* vnode operations */
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 55 #define HAS_FS_CALL(vnode, op) (vnode->ops->op != NULL) 58 #define FS_CALL(vnode, op, params...) \ 59 vnode->ops->op(vnode->mount->volume, vnode, params) 60 #define FS_CALL_NO_PARAMS(vnode, op) \ 61 vnode->ops->op(vnode->mount->volume, vnode) 75 struct vnode : fssh_fs_vnode { struct in namespace:FSShell 96 fssh_vnode_id vnode; member in struct:FSShell::vnode_hash_key 376 SetTo(struct vnode *vnode) argument 392 struct vnode *vnode = fVNode; local 541 struct vnode *vnode = (struct vnode *)_vnode; local 554 struct vnode *vnode = (struct vnode *)_vnode; local 569 add_vnode_to_mount_list(struct vnode *vnode, struct fs_mount *mount) argument 580 remove_vnode_from_mount_list(struct vnode *vnode, struct fs_mount *mount) argument 596 struct vnode *vnode = (struct vnode *)malloc(sizeof(struct vnode)); local 632 free_vnode(struct vnode *vnode, bool reenter) argument 676 dec_vnode_ref_count(struct vnode *vnode, bool reenter) argument 727 inc_vnode_ref_count(struct vnode *vnode) argument 782 struct vnode *vnode = lookup_vnode(mountID, vnodeID); local 862 put_vnode(struct vnode *vnode) argument 900 resolve_mount_point_to_volume_root(struct vnode *vnode) argument 978 resolve_volume_root_to_mount_point(struct vnode *vnode) argument 1093 vnode_path_to_vnode(struct vnode *vnode, char *path, bool traverseLeafLink, int count, struct vnode **_vnode, fssh_vnode_id *_parentID) argument 1347 get_vnode_name(struct vnode *vnode, struct vnode *parent, struct fssh_dirent *buffer, fssh_size_t bufferSize) argument 1402 get_vnode_name(struct vnode *vnode, struct vnode *parent, char *name, fssh_size_t nameSize) argument 1436 dir_vnode_to_path(struct vnode *vnode, char *buffer, fssh_size_t bufferSize) argument 1611 struct vnode *vnode; local 1646 struct vnode *vnode = get_vnode_from_fd(fd, kernel); local 1666 get_new_fd(int type, struct fs_mount *mount, struct vnode *vnode, void *cookie, int openMode, bool kernel) argument 1901 struct vnode *vnode = lookup_vnode(volume->id, vnodeID); local 1931 struct vnode *vnode = lookup_vnode(volume->id, vnodeID); local 1986 struct vnode *vnode; local 2020 struct vnode *vnode; local 2037 struct vnode *vnode; local 2054 struct vnode *vnode; local 2091 struct vnode *vnode; local 2129 struct vnode* vnode = static_cast<struct vnode*>(_vnode); local 2338 vfs_get_vnode_from_fd(int fd, bool kernel, void **vnode) argument 2361 struct vnode *vnode; local 2374 struct vnode *vnode; local 2389 struct vnode *vnode = (struct vnode *)_vnode; local 2400 struct vnode *vnode = (struct vnode *)_vnode; local 2420 struct vnode *vnode = (struct vnode *)_vnode; local 2438 struct vnode *vnode = lookup_vnode(mountID, vnodeID); local 2468 struct vnode *vnode = mount->root_vnode; local 2699 struct vnode *vnode = (struct vnode *)_vnode; local 2710 struct vnode *vnode = (struct vnode *)_vnode; local 2735 struct vnode *vnode; local 2780 struct vnode *vnode = fd_vnode(descriptor); local 2961 struct vnode *vnode; local 3002 open_vnode(struct vnode *vnode, int openMode, bool kernel) argument 3025 open_dir_vnode(struct vnode *vnode, bool kernel) argument 3052 open_attr_dir_vnode(struct vnode *vnode, bool kernel) argument 3120 struct vnode *vnode; local 3152 struct vnode *vnode = NULL; local 3171 struct vnode *vnode = descriptor->u.vnode; local 3186 struct vnode *vnode = descriptor->u.vnode; local 3198 struct vnode *vnode = descriptor->u.vnode; local 3208 struct vnode *vnode = descriptor->u.vnode; local 3232 struct vnode *vnode = descriptor->u.vnode; local 3265 struct vnode *vnode; local 3291 struct vnode *vnode; local 3313 struct vnode *vnode; local 3345 struct vnode *vnode = NULL; local 3363 struct vnode *vnode = descriptor->u.vnode; local 3377 struct vnode *vnode = descriptor->u.vnode; local 3410 struct vnode *vnode; local 3420 struct vnode *vnode = NULL; local 3438 dir_read(struct vnode *vnode, void *cookie, struct fssh_dirent *buffer, fssh_size_t bufferSize, uint32_t *_count) argument 3461 struct vnode *vnode = descriptor->u.vnode; local 3517 struct vnode *vnode = descriptor->u.vnode; local 3532 struct vnode *vnode; local 3625 struct vnode *vnode; local 3648 struct vnode *vnode; local 3676 struct vnode *vnode; local 3704 struct vnode *vnode; local 3727 struct vnode *vnode; local 3752 struct vnode *directory, *vnode; local 3788 struct vnode *vnode; local 3811 struct vnode *vnode; local 3869 struct vnode *vnode = descriptor->u.vnode; local 3894 struct vnode *vnode = descriptor->u.vnode; local 3908 struct vnode *vnode; local 3934 struct vnode *vnode; local 3957 struct vnode *vnode; local 3977 struct vnode *vnode = descriptor->u.vnode; local 3991 struct vnode *vnode = descriptor->u.vnode; local 4004 struct vnode *vnode = descriptor->u.vnode; local 4018 struct vnode *vnode = descriptor->u.vnode; local 4032 struct vnode *vnode; local 4070 struct vnode *vnode; local 4107 struct vnode *vnode = descriptor->u.vnode; local 4121 struct vnode *vnode = descriptor->u.vnode; local 4133 struct vnode *vnode = descriptor->u.vnode; local 4146 struct vnode *vnode = descriptor->u.vnode; local 4170 struct vnode *vnode = descriptor->u.vnode; local 4203 struct vnode *vnode = descriptor->u.vnode; local 4218 struct vnode *vnode = descriptor->u.vnode; local 4233 struct vnode *vnode; local 4737 struct vnode *vnode; local 4888 struct vnode *vnode = (struct vnode *)list_get_next_item(&mount->vnodes, local 5034 struct vnode *vnode = NULL; local [all...] |
H A D | file_cache.cpp | 67 struct vnode* node; 249 // get vnode 252 fssh_dprintf("file_cache_create(): Failed get vnode %d:%" FSSH_B_PRIdINO
|
H A D | fd.cpp | 44 fssh_dprintf("fd[%d] = %p: type = %d, ref_count = %d, ops = %p, u.vnode = %p, u.mount = %p, cookie = %p, open_mode = %x, pos = %lld\n", 46 descriptor->u.vnode, descriptor->u.mount, descriptor->cookie, (int)descriptor->open_mode, descriptor->pos); 62 descriptor->u.vnode = NULL; 167 descriptor->u.vnode = NULL; 427 struct vnode * 435 return descriptor->u.vnode;
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 1050 btrfs_remove_attr(fs_volume* _volume, fs_vnode* vnode, argument 1168 /* vnode operations */
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 84 #define HAS_FS_CALL(vnode, op) (vnode->ops->op != NULL) 88 # define FS_CALL(vnode, op, params...) \ 89 ( HAS_FS_CALL(vnode, op) ? \ 90 vnode->ops->op(vnode->mount->volume, vnode, params) \ 91 : (panic("FS_CALL: vnode %p op " #op " is NULL", vnode), 0)) 92 # define FS_CALL_NO_PARAMS(vnode, o 266 ino_t vnode; member in struct:__anon2::vnode_hash_key 600 PagesIOTraceEntry(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested, status_t status, generic_size_t bytesTransferred) argument 658 ReadPages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested, status_t status, generic_size_t bytesTransferred) argument 678 WritePages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested, status_t status, generic_size_t bytesTransferred) argument 840 add_vnode_to_mount_list(struct vnode* vnode, struct fs_mount* mount) argument 848 remove_vnode_from_mount_list(struct vnode* vnode, struct fs_mount* mount) argument 922 struct vnode* vnode = (struct vnode*)object_cache_alloc(sVnodeCache, 0); local 973 free_vnode(struct vnode* vnode, bool reenter) argument 1046 dec_vnode_ref_count(struct vnode* vnode, bool alwaysFree, bool reenter) argument 1105 inc_vnode_ref_count(struct vnode* vnode) argument 1122 create_special_sub_node(struct vnode* vnode, uint32 flags) argument 1156 struct vnode* vnode = lookup_vnode(mountID, vnodeID); local 1267 put_vnode(struct vnode* vnode) argument 1313 struct vnode* vnode = (struct vnode*)list_get_first_item( local 1367 get_covered_vnode_locked(Vnode* vnode) argument 1394 get_covered_vnode(Vnode* vnode) argument 1416 get_covering_vnode_locked(Vnode* vnode) argument 1443 get_covering_vnode(Vnode* vnode) argument 1486 get_advisory_locking(struct vnode* vnode) argument 1517 create_advisory_locking(struct vnode* vnode) argument 1575 test_advisory_lock(struct vnode* vnode, struct flock* flock) argument 1612 release_advisory_lock(struct vnode* vnode, struct io_context* context, struct file_descriptor* descriptor, struct flock* flock) argument 1726 acquire_advisory_lock(struct vnode* vnode, io_context* context, struct file_descriptor* descriptor, struct flock* flock, bool wait) argument 1825 struct vnode* vnode = descriptor->u.vnode; local 1863 replace_vnode_if_disconnected(struct fs_mount* mount, struct vnode* vnodeToDisconnect, struct vnode*& vnode, struct vnode* fallBack, bool lockRootLock) argument 1943 struct vnode* vnode = fd_vnode(descriptor); local 2304 vnode_path_to_vnode(struct vnode* vnode, char* path, bool traverseLeafLink, bool kernel, VnodePutter& _vnode, ino_t* _parentID, char* leafName) argument 2447 vnode_and_path_to_dir_vnode(struct vnode* vnode, char* path, VnodePutter& _vnode, char* filename, bool kernel) argument 2471 get_vnode_name(struct vnode* vnode, struct vnode* parent, struct dirent* buffer, size_t bufferSize, struct io_context* ioContext) argument 2530 get_vnode_name(struct vnode* vnode, struct vnode* parent, char* name, size_t nameSize, bool kernel) argument 2564 dir_vnode_to_path(struct vnode* vnode, char* buffer, size_t bufferSize, bool kernel) argument 2714 struct vnode* vnode = fd_vnode(descriptor); local 2732 struct vnode* vnode; local 2769 struct vnode* vnode = get_vnode_from_fd(fd, kernel); local 2789 get_new_fd(int type, struct fs_mount* mount, struct vnode* vnode, void* cookie, int openMode, bool kernel) argument 2966 VnodePutter vnode; local 3082 debug_resolve_vnode_path(struct vnode* vnode, char* buffer, size_t bufferSize, bool& _truncated) argument 3130 _dump_vnode(struct vnode* vnode, bool printPath) argument 3249 struct vnode* vnode = NULL; local 3288 struct vnode* vnode; local 3314 struct vnode* vnode; local 3444 common_file_io_vec_pages(struct vnode* vnode, void* cookie, const file_io_vec* fileVecs, size_t fileVecCount, const iovec* vecs, size_t vecCount, uint32* _vecIndex, size_t* _vecOffset, size_t* _numBytes, bool doWrite) argument 3693 struct vnode* vnode; local 3738 struct vnode* vnode = lookup_vnode(volume->id, vnodeID); local 3830 struct vnode* vnode; local 3866 struct vnode* vnode = lookup_vnode(volume->id, vnodeID); local 3878 struct vnode* vnode; local 3897 struct vnode* vnode = lookup_vnode(volume->id, vnodeID); local 3933 struct vnode* vnode; local 3969 struct vnode* vnode = static_cast<struct vnode*>(_vnode); local 4055 struct vnode* vnode; local 4073 struct vnode* vnode; local 4139 vfs_acquire_vnode(struct vnode* vnode) argument 4167 vfs_get_vnode_from_fd(int fd, bool kernel, struct vnode** vnode) argument 4191 VnodePutter vnode; local 4204 struct vnode* vnode = NULL; local 4219 VnodePutter vnode; local 4227 vfs_vnode_to_node_ref(struct vnode* vnode, dev_t* _mountID, ino_t* _vnodeID) argument 4240 vfs_fsnode_for_vnode(struct vnode* vnode) argument 4251 vfs_open_vnode(struct vnode* vnode, int openMode, bool kernel) argument 4266 struct vnode* vnode = lookup_vnode(mountID, vnodeID); local 4296 VnodePutter vnode; local 4567 vfs_put_vnode(struct vnode* vnode) argument 4603 struct vnode* vnode; local 4626 vfs_can_page(struct vnode* vnode, void* cookie) argument 4637 vfs_read_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, uint32 flags, generic_size_t* _numBytes) argument 4665 vfs_write_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, uint32 flags, generic_size_t* _numBytes) argument 4698 vfs_get_vnode_cache(struct vnode* vnode, VMCache** _cache, bool allocate) argument 4749 vfs_set_vnode_cache(struct vnode* vnode, VMCache* _cache) argument 4769 vfs_get_file_map(struct vnode* vnode, off_t offset, size_t size, file_io_vec* vecs, size_t* _count) argument 4780 vfs_stat_vnode(struct vnode* vnode, struct stat* stat) argument 4800 struct vnode* vnode; local 4813 vfs_get_vnode_name(struct vnode* vnode, char* name, size_t nameSize) argument 4823 VnodePutter vnode; local 4869 struct vnode* vnode = fd_vnode(descriptor); local 4880 struct vnode* vnode = descriptor->u.vnode; local 5173 Vnode* vnode; local 5357 open_vnode(struct vnode* vnode, int openMode, bool kernel) argument 5383 VnodePutter vnode, dirPutter; local 5502 open_dir_vnode(struct vnode* vnode, bool kernel) argument 5529 open_attr_dir_vnode(struct vnode* vnode, bool kernel) argument 5603 VnodePutter vnode; local 5634 VnodePutter vnode; local 5661 struct vnode* vnode = descriptor->u.vnode; local 5686 struct vnode* vnode = descriptor->u.vnode; local 5699 struct vnode* vnode = descriptor->u.vnode; local 5716 struct vnode* vnode = descriptor->u.vnode; local 5735 struct vnode* vnode = descriptor->u.vnode; local 5845 struct vnode* vnode = descriptor->u.vnode; local 5863 struct vnode* vnode = descriptor->u.vnode; local 5876 struct vnode* vnode; local 5908 VnodePutter vnode; local 5964 VnodePutter vnode; local 5988 struct vnode* vnode = descriptor->u.vnode; local 6004 struct vnode* vnode = descriptor->u.vnode; local 6040 struct vnode* vnode = lookup_vnode(entry->d_dev, entry->d_ino); local 6055 dir_read(struct io_context* ioContext, struct vnode* vnode, void* cookie, struct dirent* buffer, size_t bufferSize, uint32* _count) argument 6083 struct vnode* vnode = descriptor->u.vnode; local 6142 struct vnode* vnode = descriptor->u.vnode; local 6165 struct vnode* vnode = fd_vnode(descriptor.Get()); local 6339 struct vnode* vnode; local 6357 struct vnode* vnode; local 6377 struct vnode* vnode; local 6402 struct vnode* vnode; local 6438 VnodePutter vnode; local 6465 VnodePutter vnode; local 6524 VnodePutter vnode; local 6545 VnodePutter vnode; local 6603 struct vnode* vnode = descriptor->u.vnode; local 6621 struct vnode* vnode = descriptor->u.vnode; local 6645 VnodePutter vnode; local 6664 VnodePutter vnode; local 6685 VnodePutter vnode; local 6702 struct vnode* vnode = descriptor->u.vnode; local 6716 struct vnode* vnode = descriptor->u.vnode; local 6729 struct vnode* vnode = descriptor->u.vnode; local 6744 struct vnode* vnode = descriptor->u.vnode; local 6763 VnodePutter vnode; local 6804 VnodePutter vnode; local 6840 struct vnode* vnode = descriptor->u.vnode; local 6854 struct vnode* vnode = descriptor->u.vnode; local 6867 struct vnode* vnode = descriptor->u.vnode; local 6883 struct vnode* vnode = descriptor->u.vnode; local 6909 struct vnode* vnode = descriptor->u.vnode; local 6941 struct vnode* vnode = descriptor->u.vnode; local 6956 struct vnode* vnode = descriptor->u.vnode; local 6976 struct vnode* vnode; local 7906 struct vnode* vnode; local 8078 struct vnode* vnode = context->cwd; local 8103 VnodePutter vnode; local 8251 struct vnode* vnode = fd_vnode(descriptor); local 9218 struct vnode* vnode; local 9536 struct vnode* vnode; local 10033 VnodePutter vnode; local [all...] |
H A D | fd.cpp | 63 "= %p, u.vnode = %p, u.mount = %p, cookie = %p, open_mode = %" B_PRIx32 66 descriptor->ops, descriptor->u.vnode, descriptor->u.mount, 82 descriptor->u.vnode = NULL; 190 descriptor->u.vnode = NULL; 662 struct vnode* 670 return descriptor->u.vnode;
|
H A D | vfs_request_io.cpp | 53 struct vnode* vnode; member in struct:iterative_io_cookie 109 VnodeIO(bool write, struct vnode* vnode, void* cookie) argument 112 fVnode(vnode), 132 struct vnode* fVnode; 245 error = vfs_vnode_io(cookie->vnode, cookie->descriptor->cookie, 285 do_synchronous_iterative_vnode_io(struct vnode* vnode, void* openCookie, argument 290 VnodeIO io(request->IsWrite(), vnode, openCooki 393 vfs_vnode_io(struct vnode* vnode, void* cookie, io_request* request) argument 418 vfs_asynchronous_read_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, generic_size_t numBytes, uint32 flags, AsyncIOCallback* callback) argument 444 vfs_asynchronous_write_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, generic_size_t numBytes, uint32 flags, AsyncIOCallback* callback) argument 475 struct vnode* vnode; local 496 struct vnode* vnode; local [all...] |
H A D | node_monitor.cpp | 636 struct vnode* vnode; local 637 status_t status = vfs_get_vnode(device, directory, true, &vnode); 639 if (vnode->covers != NULL) 640 status = vfs_resolve_parent(vnode, &parentDevice, &parentDirectory); 641 vfs_put_vnode(vnode);
|
H A D | rootfs.cpp | 87 size_t Hash(ValueType* vnode) const 89 return vnode->id; 92 bool Compare(KeyType key, ValueType* vnode) const 94 return vnode->id == key; 161 get_parent_id(struct rootfs_vnode* vnode) argument 163 if (vnode->parent != NULL) 164 return vnode->parent->id; 173 struct rootfs_vnode* vnode; local 175 vnode = (rootfs_vnode*)malloc(sizeof(struct rootfs_vnode)); 176 if (vnode 228 update_dir_cookies(struct rootfs_vnode* dir, struct rootfs_vnode* vnode) argument 244 struct rootfs_vnode* vnode; local 260 rootfs_insert_in_dir(struct rootfs* fs, struct rootfs_vnode* dir, struct rootfs_vnode* vnode) argument 294 struct rootfs_vnode* vnode; local 328 remove_node(struct rootfs* fs, struct rootfs_vnode* directory, struct rootfs_vnode* vnode) argument 355 struct rootfs_vnode* vnode; local 387 struct rootfs_vnode* vnode; local 451 struct rootfs_vnode* vnode = i.Next(); local 477 struct rootfs_vnode* vnode; local 509 struct rootfs_vnode* vnode = (struct rootfs_vnode*)_vnode->private_node; local 524 struct rootfs_vnode* vnode; local 554 struct rootfs_vnode* vnode = (struct rootfs_vnode*)_vnode->private_node; local 566 struct rootfs_vnode* vnode = (struct rootfs_vnode*)_vnode->private_node; local 600 struct rootfs_vnode* vnode = (rootfs_vnode*)_v->private_node; local 650 rootfs_write(fs_volume* _volume, fs_vnode* vnode, void* cookie, off_t pos, const void* buffer, size_t* _length) argument 666 struct rootfs_vnode* vnode; local 717 struct rootfs_vnode* vnode = (struct rootfs_vnode*)_vnode->private_node; local 754 struct rootfs_vnode* vnode = (rootfs_vnode*)_vnode->private_node; local 776 struct rootfs_vnode* vnode = (struct rootfs_vnode*)_vnode->private_node; local 842 struct rootfs_vnode* vnode = (rootfs_vnode*)_vnode->private_node; local 913 struct rootfs_vnode* vnode; local 997 struct rootfs_vnode* vnode = rootfs_find_in_dir(fromDirectory, fromName); local 1057 struct rootfs_vnode* vnode = (rootfs_vnode*)_v->private_node; local 1093 struct rootfs_vnode* vnode = (rootfs_vnode*)_vnode->private_node; local 1157 struct rootfs_vnode* vnode; local [all...] |
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 2098 /*! Creates the vnode cache for the specified \a vnode. 2099 The vnode has to be marked busy when calling this function. 2102 vm_create_vnode_cache(struct vnode* vnode, struct VMCache** cache) argument 2104 return VMCacheFactory::CreateVnodeCache(*cache, vnode); 2205 // get the vnode for the object, this also grabs a ref to it 2206 struct vnode* vnode = NULL; local 2207 status_t status = vfs_get_vnode_from_fd(fd, kernel, &vnode); [all...] |
H A D | VMCache.cpp | 518 gVnodeCacheObjectCache = create_object_cache("vnode caches", 1638 VMCacheFactory::CreateVnodeCache(VMCache*& _cache, struct vnode* vnode) argument 1649 status_t error = cache->Init(vnode, allocationFlags);
|
/haiku/headers/private/shared/ |
H A D | AutoDeleterDrivers.h | 28 typedef CObjectDeleter<struct vnode, void, vfs_put_vnode> VnodePutter;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.cpp | 29 make_mode(nspace *volume, vnode *node) 46 _update_last_modified(nspace* vol, vnode* node, bool willWrite) 67 vnode *node = (vnode *)_node->private_node; 71 vnode* parent_node; 86 vnode *node = (vnode*)_node->private_node; 92 status_t write_vnode_entry(nspace *vol, vnode *node) 154 // called when fs is done with vnode 155 // after close, etc. free vnode resource [all...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 605 Vnode vnode(fVolume, Attributes()); 607 if (vnode.Get(&attributes) < B_OK 992 Vnode vnode(fVolume, Attributes()); 994 status_t status = vnode.Get(&attributes); 1315 Vnode vnode(fVolume, Attributes()); 1317 if (vnode.Get(&attributes) < B_OK) { 1332 Vnode vnode(fVolume, id); 1335 if (vnode.Get(&inode) != B_OK || !inode->IsAttribute()) 1339 vnode.Keep(); 1368 Vnode vnode(fVolum [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 275 // TODO: When Transaction::Done() fails, do we have to re-add the vnode? 842 TRACE("ext2_create_symlink(): Publishing vnode\n"); 904 Vnode vnode(volume, id); 906 status = vnode.Get(&inode); 981 Vnode vnode(volume, parentID); 984 status = vnode.Get(&parent); 1013 Vnode vnode(volume, oldID); 1016 status = vnode.Get(&inode); 1403 Vnode vnode(volume, id); 1405 status = vnode [all...] |
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | kernel_interface.cpp | 557 ufs2_remove_attr(fs_volume *_volume, fs_vnode *vnode, argument 598 /* vnode operations */
|
/haiku/src/system/kernel/ |
H A D | elf.cpp | 247 find_image_by_vnode(void *vnode) argument 254 if (image->vnode == vnode) 292 if (image->vnode) 293 vfs_put_vnode(image->vnode); 2142 struct vnode *vnode; local 2143 status = vfs_get_vnode_from_fd(fd, true, &vnode); 2157 // make sure it's not loaded already. Search by vnode 2158 image = find_image_by_vnode(vnode); [all...] |
H A D | module.cpp | 1394 struct vnode* vnode; local 1395 status_t status = vfs_get_vnode_from_fd(fd, true, &vnode); 1400 vfs_vnode_to_node_ref(vnode, &device, &directory);
|
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/ |
H A D | Volume.cpp | 1436 // If the node is known to the VFS, we get the vnode, remove it, and put it, 1449 // Get a vnode reference, if the node is already known to the VFS. 1454 // lock a vnode for the node could be discarded by the VFS. At that 1455 // point another thread trying to get the vnode by ID would create 1456 // a vnode, mark it busy and call our get_vnode() hook. It would 1459 // would block, since it finds the vnode marked busy. It times out 1464 // only get the vnode, if already loaded and non-busy, would be 1784 struct vnode* vnode; local 1786 fMountPoint.nodeID, directoryName, &vnode); [all...] |
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixEndpoint.h | 83 status_t _Bind(struct vnode* vnode);
|
H A D | UnixEndpoint.cpp | 105 struct vnode* vnode; local 108 &vnode); 112 error = _Bind(vnode); 114 vfs_put_vnode(vnode); 131 UnixEndpoint::_Bind(struct vnode* vnode) argument 134 status_t error = vfs_stat_vnode(vnode, &st); 138 fAddress.SetTo(st.st_dev, st.st_ino, vnode); 156 if (struct vnode* vnod [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 160 vnode* root = new vnode; 320 fs_init_vnode(fs_volume* _volume, ino_t parent, ino_t nid, vnode** _vnode, bool publish = false) 330 vnode* node = new vnode; 333 ObjectDeleter<vnode> vnodeDeleter(node); 378 vnode* vnode; local 379 status_t status = fs_init_vnode(_volume, -1 /* set by fs_lookup */, nid, &vnode); 383 _node->private_node = vnode; [all...] |
/haiku/headers/private/kernel/fs/ |
H A D | fd.h | 55 struct vnode *vnode; member in union:file_descriptor::__anon24 101 extern struct vnode *fd_vnode(struct file_descriptor *descriptor);
|
/haiku/src/tests/system/kernel/cache/ |
H A D | pages_io_test.cpp | 58 void *vnode; member in struct:file_cache_ref 251 vfs_get_file_map(void *vnode, off_t offset, size_t size, file_io_vec *vecs, argument 363 status = vfs_get_file_map(ref->vnode, mapOffset, ~0UL, vecs, &vecCount); 478 TRACE(("pages_io: access outside of vnode %p at offset %lld\n", 479 ref->vnode, offset));
|