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 90 ret = VnodeLookup(fullpath, &parentVnode, 0); in do_mkdir() 97 if (parentVnode == NULL) in do_mkdir() 102 mount = parentVnode->originMount; in do_mkdir() 109 parentVnode->useCount++; in do_mkdir() 111 if (VfsVnodePermissionCheck(parentVnode, (WRITE_OP | EXEC_OP))) in do_mkdir() 117 if ((parentVnode->vop != NULL) && (parentVnode->vop->Mkdir != NULL)) in do_mkdir() 119 ret = parentVnode->vop->Mkdir(parentVnode, dirname, mode, &vnode); in do_mkdir() 131 struct PathCache *dt = PathCacheAlloc(parentVnode, vnode, dirname, strlen(dirname)); in do_mkdir() 137 parentVnode->useCount--; in do_mkdir() [all …]
|
D | fs_open.c | 151 struct Vnode *parentVnode = NULL; in fp_open() local 239 parentVnode = vnode; in fp_open() 240 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 …]
|