Lines Matching refs:volume

56 #define HAS_FS_MOUNT_CALL(mount, op)	(mount->volume->ops->op != NULL)
59 vnode->ops->op(vnode->mount->volume, vnode, params)
61 vnode->ops->op(vnode->mount->volume, vnode)
63 mount->volume->ops->op(mount->volume, params)
65 mount->volume->ops->op(mount->volume)
115 fssh_fs_volume *volume;
887 /** \brief Resolves a mount point vnode to the volume root vnode it is covered
891 * by the root of a volume. If it is the function obtains a reference to the
892 * volume root node and returns it.
895 * \return The volume root vnode the vnode cover is covered by, if it is
918 /** \brief Resolves a mount point vnode to the volume root vnode it is covered
922 * checks, whether the node is covered by the root of a volume. If it is the
923 * function returns the mount and node ID of the volume root node. Otherwise
966 /** \brief Resolves a volume root vnode to the underlying mount point vnode.
969 * root of a volume. If it is (and if it is not "/"), the function obtains
973 * \return The mount point vnode the vnode covers, if it is indeed a volume
1458 // resolve a volume root to its mount point
1482 // resolve a volume root to its mount point
1884 fssh_new_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID,
1887 FUNCTION(("new_vnode(volume = %p (%ld), vnodeID = %lld, node = %p)\n",
1888 volume, volume->id, vnodeID, privateNode));
1901 struct vnode *vnode = lookup_vnode(volume->id, vnodeID);
1904 "vnode->node = %p)!", (int)volume->id, vnodeID, privateNode,
1908 fssh_status_t status = create_new_vnode(&vnode, volume->id, vnodeID);
1924 fssh_publish_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID,
1931 struct vnode *vnode = lookup_vnode(volume->id, vnodeID);
1938 status = create_new_vnode(&vnode, volume->id, vnodeID);
1949 if (status == FSSH_B_OK && volume->sub_volume != NULL) {
1952 fssh_fs_volume *subVolume = volume;
1961 while (subVolume->super_volume != volume) {
1983 fssh_get_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID,
1988 if (volume == NULL)
1991 fssh_status_t status = get_vnode(volume->id, vnodeID, &vnode, true);
1999 fssh_status_t status = FS_CALL(vnode, get_super_vnode, volume,
2003 "volume: %p", vnode, volume);
2018 fssh_acquire_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID)
2023 vnode = lookup_vnode(volume->id, vnodeID);
2035 fssh_put_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID)
2040 vnode = lookup_vnode(volume->id, vnodeID);
2052 fssh_remove_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID)
2059 vnode = lookup_vnode(volume->id, vnodeID);
2089 fssh_unremove_vnode(fssh_fs_volume *volume, fssh_vnode_id vnodeID)
2095 vnode = lookup_vnode(volume->id, vnodeID);
2105 fssh_get_vnode_removed(fssh_fs_volume *volume, fssh_vnode_id vnodeID, bool* removed)
2111 if (struct vnode* vnode = lookup_vnode(volume->id, vnodeID)) {
2130 return vnode->mount->volume;
2450 vfs_get_fs_node_from_path(fssh_fs_volume *volume, const char *path,
2453 TRACE(("vfs_get_fs_node_from_path(volume = %p (%ld), path = \"%s\", "
2454 "kernel %d)\n", volume, volume->id, path, kernel));
2461 fssh_status_t status = get_mount(volume->id, &mount);
2483 if (vnode->device != volume->id) {
2490 status = ::fssh_get_vnode(volume, vnode->id, _node);
4278 // are the files on the same volume?
4596 mount->volume = (fssh_fs_volume*)malloc(sizeof(fssh_fs_volume));
4597 if (mount->volume == NULL) {
4628 mount->volume->id = mount->id;
4629 mount->volume->layer = 0;
4630 mount->volume->private_volume = NULL;
4631 mount->volume->ops = NULL;
4632 mount->volume->sub_volume = NULL;
4633 mount->volume->super_volume = NULL;
4650 status = mount->fs->mount(mount->volume, device, flags, args, &rootID);
4682 status = mount->fs->mount(mount->volume, device, flags, args, &rootID);
4726 free(mount->volume);
4992 if (mount != NULL && mount->volume->private_volume != NULL)