Home
last modified time | relevance | path

Searched refs:mountpt_vnode (Results 1 – 2 of 2) sorted by relevance

/third_party/NuttX/fs/mount/
Dfs_umount.c89 struct Vnode *mountpt_vnode = NULL; in umount() local
105 ret = VnodeLookup(target, &mountpt_vnode, 0); in umount()
106 if (ret != OK || !mountpt_vnode) in umount()
111 if (!mountpt_vnode || !(mountpt_vnode->flag & VNODE_FLAG_MOUNT_NEW)) in umount()
118 mnt = mountpt_vnode->originMount; in umount()
162 VnodeFree(mountpt_vnode); in umount()
Dfs_mount.c150 struct Vnode *mountpt_vnode = NULL; in mount() local
197 ret = VnodeLookup(target, &mountpt_vnode, 0); in mount()
207 if (mountpt_vnode->flag & VNODE_FLAG_MOUNT_NEW) in mount()
244 mnt = MountAlloc(mountpt_vnode, (struct MountOps*)mops); in mount()
260 mountpt_vnode->useCount++; in mount()
262 mountpt_vnode->useCount--; in mount()
283 mnt->vnodeCovered->filePath = strdup(mountpt_vnode->filePath); in mount()