Searched refs:parentVnode (Results 1 – 2 of 2) 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()
|