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.c95 struct Vnode *mountpt_vnode = NULL; in umount() local
111 ret = VnodeLookup(target, &mountpt_vnode, 0); in umount()
112 if (ret != OK || !mountpt_vnode) in umount()
117 if (!mountpt_vnode || !(mountpt_vnode->flag & VNODE_FLAG_MOUNT_NEW)) in umount()
129 if (tMnt->vnodeCovered == mountpt_vnode) in umount()
153 mnt = mountpt_vnode->originMount; in umount()
200 if (tCacheMnt->vnodeCovered == mountpt_vnode) in umount()
208 VnodeFree(mountpt_vnode); in umount()
Dfs_mount.c152 struct Vnode *mountpt_vnode = NULL; in mount() local
199 ret = VnodeLookup(target, &mountpt_vnode, 0); in mount()
209 if (mountpt_vnode->flag & VNODE_FLAG_MOUNT_NEW) in mount()
215 if (tMnt->vnodeCovered == mountpt_vnode) in mount()
283 mnt = MountAlloc(mountpt_vnode, (struct MountOps*)mops); in mount()
299 mountpt_vnode->useCount++; in mount()
301 mountpt_vnode->useCount--; in mount()
322 mnt->vnodeCovered->filePath = strdup(mountpt_vnode->filePath); in mount()