Home
last modified time | relevance | path

Searched refs:fs_file (Results 1 – 16 of 16) sorted by relevance

/freebsd/lib/libc/gen/
H A Dfstab.c91 if (_fs_fstab.fs_file != NULL && strcmp(_fs_fstab.fs_file, "/") != 0) in fixfsfile()
125 _fs_fstab.fs_file = strsep(&p, ":\n"); in fstabscan()
155 _fs_fstab.fs_file = cp; in fstabscan()
156 if (_fs_fstab.fs_file == NULL) in fstabscan()
158 if (strunvis(_fs_fstab.fs_file, _fs_fstab.fs_file) < 0) in fstabscan()
245 if (!strcmp(_fs_fstab.fs_file, name)) in getfsfile()
/freebsd/sbin/dump/
H A Doptr.c287 (new->fs_file = strdup(fs->fs_file)) == NULL || in allocfsent()
344 if (strcmp(fs->fs_file, key) == 0 || in fstabsearch()
354 if (*fs->fs_file == '/' && in fstabsearch()
355 strcmp(fs->fs_file + 1, key) == 0) in fstabsearch()
406 dt ? dt->fs_file : "", in lastdump()
H A Dmain.c342 (void)strncpy(spcl.c_filesys, dt->fs_file, NAMELEN); in main()
439 msgtail("(%s) ", dt->fs_file); in main()
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpartedit.c164 free(md->fstab->fs_file); in main()
261 free(md->fstab->fs_file); in delete_part_metadata()
286 if (md->fstab != NULL && strcmp(md->fstab->fs_file, "/") == 0) in validate_setup()
336 return strcmp(a->fstab->fs_file, b->fstab->fs_file); in mountpoint_sorter()
450 md->fstab->fs_spec, md->fstab->fs_file, in apply_changes()
600 md->fstab->fs_file = strdup(fstab->fs_file); in init_fstab_metadata()
623 items[i].mountpoint = md->fstab->fs_file; in get_mount_points()
H A Dgpart_ops.c646 items[2].init = md->fstab->fs_file; in gpart_edit()
769 free(md->fstab->fs_file); in set_default_part_metadata()
781 free(md->fstab->fs_file); in set_default_part_metadata()
791 md->fstab->fs_file = strdup(mountpoint); in set_default_part_metadata()
970 && strlen(md->fstab->fs_file) > 0 in add_boot_partition()
971 && strcmp(md->fstab->fs_file, bootmount) != 0) in add_boot_partition()
1503 if (md->fstab != NULL && strcmp(md->fstab->fs_file, "/") == 0) { in gpart_commit()
/freebsd/sbin/mount/
H A Dmount.c322 fs->fs_file, init_flags, options, in main()
372 strcmp(fs->fs_file, in main()
404 rval = mountfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, in main()
457 if (fs->fs_file[0] == '/' && fs->fs_file[1] == '\0') in ismounted()
462 if (realpath(fs->fs_file, realfsfile) == NULL) { in ismounted()
464 strlcpy(realfsfile, fs->fs_file, sizeof(realfsfile)); in ismounted()
/freebsd/usr.sbin/repquota/
H A Drepquota.c160 if ((argnum = oneof(fs->fs_file, argv, argc)) >= 0 || in main()
199 qfextension[type], fs->fs_file, fs->fs_spec); in repquota()
208 qfextension[type], fs->fs_file, fs->fs_spec); in repquota()
/freebsd/include/
H A Dfstab.h57 char *fs_file; /* file system path prefix */ member
/freebsd/sbin/fsck/
H A Dfsck.c221 mntpt = fs->fs_file; in main()
270 if (checkfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, "-F", 0)) in isok()
290 if (checkfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, "-F", NULL) != 0) in isok()
H A Dpreen.c126 name, fs->fs_file, NULL, NULL); in checkfstab()
137 addpart(fs->fs_vfstype, name, fs->fs_file, in checkfstab()
/freebsd/lib/libutil/
H A Dquotafile.c99 if (statfs(fs->fs_file, &sfb) != 0 || in hasquota()
100 strcmp(fs->fs_file, sfb.f_mntonname)) { in hasquota()
106 (void)snprintf(qfnamep, qfbufsize, "%s/%s.%s", fs->fs_file, in hasquota()
126 strlcpy(qf->fsname, fs->fs_file, sizeof(qf->fsname)); in quota_open()
/freebsd/usr.sbin/edquota/
H A Dedquota.c368 strcmp(fspath, fs->fs_file)) in getprivs()
374 warn("cannot open quotas on %s", fs->fs_file); in getprivs()
380 strlcpy(qup->fsname, fs->fs_file, sizeof(qup->fsname)); in getprivs()
382 warn("cannot read quotas on %s", fs->fs_file); in getprivs()
/freebsd/libexec/rpc.rquotad/
H A Drquotad.c293 fst.fs_file = path; in getfsquota()
303 fst.fs_file, fst.fs_mntops, type, in getfsquota()
/freebsd/sbin/umount/
H A Dumount.c219 if (strcmp(fs->fs_file, "/") == 0) in umountall()
240 if ((cp = malloc((size_t)strlen(fs->fs_file) + 1)) == NULL) in umountall()
242 (void)strcpy(cp, fs->fs_file); in umountall()
/freebsd/usr.sbin/quotaon/
H A Dquotaon.c112 if ((argnum = oneof(fs->fs_file, argv, argc)) >= 0 || in main()
/freebsd/sbin/quotacheck/
H A Dquotacheck.c193 if (((argnum = oneof(fs->fs_file, argv, argc)) >= 0 || in main()