Lines Matching refs:vfsave

105 static struct vfstab	vfsave = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};  variable
119 if (vfsave.vfs_special != NULL) { in vfdup()
120 free(vfsave.vfs_special); in vfdup()
121 vfsave.vfs_special = NULL; in vfdup()
124 ((vfsave.vfs_special = strdup(vp->vfs_special)) == NULL)) { in vfdup()
129 if (vfsave.vfs_fsckdev != NULL) { in vfdup()
130 free(vfsave.vfs_fsckdev); in vfdup()
131 vfsave.vfs_fsckdev = NULL; in vfdup()
134 ((vfsave.vfs_fsckdev = strdup(vp->vfs_fsckdev)) == NULL)) { in vfdup()
139 if (vfsave.vfs_mountp != NULL) { in vfdup()
140 free(vfsave.vfs_mountp); in vfdup()
141 vfsave.vfs_mountp = NULL; in vfdup()
144 ((vfsave.vfs_mountp = strdup(vp->vfs_mountp)) == NULL)) { in vfdup()
149 if (vfsave.vfs_fstype != NULL) { in vfdup()
150 free(vfsave.vfs_fstype); in vfdup()
151 vfsave.vfs_fstype = NULL; in vfdup()
154 ((vfsave.vfs_fstype = strdup(vp->vfs_fstype)) == NULL)) { in vfdup()
159 if (vfsave.vfs_fsckpass != NULL) { in vfdup()
160 free(vfsave.vfs_fsckpass); in vfdup()
161 vfsave.vfs_fsckpass = NULL; in vfdup()
164 ((vfsave.vfs_fsckpass = strdup(vp->vfs_fsckpass)) == NULL)) { in vfdup()
169 if (vfsave.vfs_automnt != NULL) { in vfdup()
170 free(vfsave.vfs_automnt); in vfdup()
171 vfsave.vfs_automnt = NULL; in vfdup()
174 ((vfsave.vfs_automnt = strdup(vp->vfs_automnt)) == NULL)) { in vfdup()
179 if (vfsave.vfs_mntopts != NULL) { in vfdup()
180 free(vfsave.vfs_mntopts); in vfdup()
181 vfsave.vfs_mntopts = NULL; in vfdup()
184 ((vfsave.vfs_mntopts = strdup(vp->vfs_mntopts)) == NULL)) { in vfdup()
189 *vp = vfsave; in vfdup()