Lines Matching refs:saved
94 copy_xmnt(const struct extmnttab *xmnt, struct extmnttab *saved) in copy_xmnt() argument
97 free_xmnt(saved); in copy_xmnt()
103 *saved = *xmnt; in copy_xmnt()
105 if (saved->mnt_special != NULL) in copy_xmnt()
106 saved->mnt_special = strdup(saved->mnt_special); in copy_xmnt()
107 if (saved->mnt_mountp != NULL) in copy_xmnt()
108 saved->mnt_mountp = strdup(saved->mnt_mountp); in copy_xmnt()
109 if (saved->mnt_fstype != NULL) in copy_xmnt()
110 saved->mnt_fstype = strdup(saved->mnt_fstype); in copy_xmnt()
112 saved->mnt_mntopts = NULL; in copy_xmnt()
113 saved->mnt_time = NULL; in copy_xmnt()
160 struct extmnttab saved = {NULL, NULL, NULL, NULL, NULL, 0, 0}; in pkgfindrealsadmdir() local
217 copy_xmnt(&xmnt, &saved); in pkgfindrealsadmdir()
220 if (strcmp(saved.mnt_fstype, "lofs") != 0 || in pkgfindrealsadmdir()
221 strcmp(saved.mnt_mountp, saved.mnt_special) == 0) { in pkgfindrealsadmdir()
225 if (snprintf(temp, PATH_MAX, "%s%s", saved.mnt_special, in pkgfindrealsadmdir()
233 free_xmnt(&saved); in pkgfindrealsadmdir()