Searched refs:oldvp (Results 1 – 2 of 2) sorted by relevance
3902 struct vnode *oldvp, *nextvp, *vp; in corefile_open_last() local3909 nextvp = oldvp = NULL; in corefile_open_last()3941 if (oldvp == NULL || in corefile_open_last()3945 if (oldvp != NULL) in corefile_open_last()3946 vn_close(oldvp, FWRITE, td->td_ucred, td); in corefile_open_last()3947 oldvp = vp; in corefile_open_last()3948 VOP_UNLOCK(oldvp); in corefile_open_last()3955 if (oldvp != NULL) { in corefile_open_last()3959 vn_close(oldvp, FWRITE, td->td_ucred, td); in corefile_open_last()3961 nextvp = oldvp; in corefile_open_last()[all …]
681 struct vnode *vp = ap->a_vp, *oldvp; in devfs_close() local710 oldvp = NULL; in devfs_close()719 oldvp = vp; in devfs_close()726 if (oldvp != NULL) in devfs_close()727 devfs_ctty_unref(oldvp); in devfs_close()