Searched refs:parentVnode (Results 1 – 3 of 3) sorted by relevance
/third_party/NuttX/fs/vfs/ |
D | fs_mkdir.c | 40 struct Vnode *parentVnode = NULL; in do_mkdir() local 86 ret = VnodeLookup(fullpath, &parentVnode, 0); in do_mkdir() 93 if (parentVnode == NULL) in do_mkdir() 98 mount = parentVnode->originMount; in do_mkdir() 105 parentVnode->useCount++; in do_mkdir() 107 if (VfsVnodePermissionCheck(parentVnode, (WRITE_OP | EXEC_OP))) in do_mkdir() 113 if ((parentVnode->vop != NULL) && (parentVnode->vop->Mkdir != NULL)) in do_mkdir() 115 ret = parentVnode->vop->Mkdir(parentVnode, dirname, mode, &vnode); in do_mkdir() 127 struct PathCache *dt = PathCacheAlloc(parentVnode, vnode, dirname, strlen(dirname)); in do_mkdir() 133 parentVnode->useCount--; in do_mkdir() [all …]
|
D | fs_open.c | 148 struct Vnode *parentVnode = NULL; in fp_open() local 218 parentVnode = vnode; in fp_open() 219 ret = do_creat(parentVnode, fullpath, mode, &vnode); in fp_open()
|
/third_party/NuttX/fs/romfs/ |
D | fs_romfs.c | 55 int romfs_lookup(struct Vnode *parentVnode, const char *path, int len, struct Vnode **ppVnode) in romfs_lookup() argument 68 rm = (struct romfs_mountpt_s *)parentVnode->originMount->data; in romfs_lookup() 80 parent_dirinfo = (struct romfs_dirinfo_s *)parentVnode->data; in romfs_lookup() 131 newVnode->parent = parentVnode; in romfs_lookup() 134 newVnode->originMount = parentVnode->originMount; in romfs_lookup() 135 newVnode->uid = parentVnode->uid; in romfs_lookup() 136 newVnode->gid = parentVnode->gid; in romfs_lookup() 137 newVnode->mode = parentVnode->mode | (S_IFDIR | S_IROTH | S_IXOTH | S_IRGRP | S_IXGRP | in romfs_lookup() 183 newVnode->originMount = parentVnode->originMount; in romfs_lookup() 185 newVnode->parent = parentVnode; in romfs_lookup() [all …]
|