Lines Matching defs:dir

2070 /*!	Looks up the entry with name \a name in the directory represented by \a dir
2075 lookup_dir_entry(struct vnode* dir, const char* name, struct vnode** _vnode)
2080 if (dir->mount->entry_cache.Lookup(dir->id, name, id, missing)) {
2082 : get_vnode(dir->device, id, _vnode, true, false);
2085 status_t status = FS_CALL(dir, lookup, name, &id);
2092 *_vnode = lookup_vnode(dir->device, id);
2097 " vnid 0x%" B_PRIx64 ")\n", dir->device, id);
2101 // ktrace_printf("lookup_dir_entry(): dir: %p (%ld, %lld), name: \"%s\" -> "
2102 // "%p (%ld, %lld)", dir, dir->mount->id, dir->id, name, *_vnode,
2284 // decrease the ref count on the old dir we just looked up into
2648 // the root dir will result in an empty path: fix it
2882 VnodePutter dir;
2886 // get dir vnode + leaf name
2888 error = vnode_and_path_to_dir_vnode(dir.Detach(), path, dir, leaf, kernel);
2897 inc_vnode_ref_count(dir.Get());
2898 if (vnode_path_to_vnode(dir.Get(), path, false, kernel, fileVnode,
2908 // special cases "." and ".." -- get the dir, forget the leaf
2909 error = vnode_path_to_vnode(dir.Detach(), leaf, false, kernel,
2910 dir, NULL);
2917 error = dir_vnode_to_path(dir.Get(), path, B_PATH_NAME_LENGTH, kernel);
4375 VnodePutter dir;
4376 status = path_to_vnode(pathBuffer, true, dir, NULL, true);
4405 // vnode_path_to_vnode() assumes ownership of the passed dir
4406 status = vnode_path_to_vnode(dir.Detach(), path, true, true, file, NULL);
4417 dir.SetTo(file.Detach());
4520 // We've got a path. Get the dir vnode and the leaf name.
4529 // get the dir vnode and the leaf name
4830 // get the vnode matching the dir's node_ref
5971 // open the dir
8578 of the FD (node, attr, attr dir etc.) is performed. If only \a path is
8623 of the FD (node, attr, attr dir etc.) is performed. If only \a path is
9153 // open the parent dir
9501 VnodePutter dir;
9502 status = fd_and_path_to_dir_vnode(fd, path, dir, filename, false);
9507 if (!HAS_FS_CALL(dir, create_special_node))
9513 status = FS_CALL(dir.Get(), create_special_node, filename, NULL,
9518 put_vnode(dir->mount->volume, nodeID);