Searched refs:fsbuf (Results 1 – 8 of 8) sorted by relevance
/openbsd/usr.sbin/tcpdrop/ |
H A D | tcpdrop.c | 58 char fhbuf[NI_MAXHOST], fsbuf[NI_MAXSERV]; in main() local 143 fhbuf, sizeof(fhbuf), fsbuf, sizeof(fsbuf), in main() 154 warn("%s %s %s %s", lhbuf, lsbuf, fhbuf, fsbuf); in main() 158 lhbuf, lsbuf, fhbuf, fsbuf); in main() 161 lhbuf, lsbuf, fhbuf, fsbuf); in main()
|
/openbsd/usr.sbin/quotaon/ |
H A D | quotaon.c | 238 struct statfs fsbuf; in readonly() local 240 if (statfs(fs->fs_file, &fsbuf) < 0 || in readonly() 241 strcmp(fsbuf.f_mntonname, fs->fs_file) || in readonly() 242 strcmp(fsbuf.f_mntfromname, fs->fs_spec)) { in readonly() 244 memcmp(fsbuf.f_mntfromname, "mfs:", sizeof("mfs:")-1)) in readonly() 251 if (fsbuf.f_flags & MNT_RDONLY) { in readonly()
|
/openbsd/sbin/dump/ |
H A D | main.c | 115 struct statfs fsbuf; in main() local 255 if (statfs(argv[i], &fsbuf) == -1) { in main() 259 if (strcmp(argv[i], fsbuf.f_mntonname) == 0) { in main() 267 if ((toplevel = strdup(fsbuf.f_mntonname)) == NULL) { in main() 282 if (strcmp(disk, fsbuf.f_mntonname) != 0) { in main() 358 if (!statfs(disk, &fsbuf) && !strcmp(fsbuf.f_mntonname, disk)) { in main() 360 disk = rawname(fsbuf.f_mntfromname); in main() 363 fsbuf.f_mntfromname); in main() 366 mount_point = fsbuf.f_mntonname; in main() 367 (void)strlcpy(spcl.c_dev, fsbuf.f_mntfromname, in main()
|
/openbsd/sbin/savecore/ |
H A D | savecore.c | 641 struct statfs fsbuf; in check_space() local 651 if ((fd = open(dirn, O_RDONLY)) == -1 || fstatfs(fd, &fsbuf) == -1) { in check_space() 656 spacefree = ((off_t)fsbuf.f_bavail * fsbuf.f_bsize) / 1024; in check_space()
|
/openbsd/gnu/usr.sbin/mkhybrid/src/ |
H A D | apple.c | 876 struct statvfs fsbuf; in get_hfs_fe_info() local 878 struct statfs fsbuf; in get_hfs_fe_info() local 899 if (statvfs(name, &fsbuf) < 0) in get_hfs_fe_info() 902 bsize = fsbuf.f_frsize; in get_hfs_fe_info() 904 if (statfs(name, &fsbuf) < 0) in get_hfs_fe_info() 907 bsize = fsbuf.f_bsize; in get_hfs_fe_info()
|
/openbsd/lib/libcrypto/err/ |
H A D | err.c | 1021 char lsbuf[30], fsbuf[30], rsbuf[30]; in ERR_error_string_n() local 1038 (void) snprintf(fsbuf, sizeof(fsbuf), "func(%d)", f); in ERR_error_string_n() 1039 fs = fsbuf; in ERR_error_string_n()
|
/openbsd/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | ar.c | 1167 struct stat fsbuf, asbuf; in replace_members() local 1169 if (stat (*files_to_move, &fsbuf) != 0) in replace_members() 1180 if (fsbuf.st_mtime <= asbuf.st_mtime) in replace_members()
|
/openbsd/gnu/usr.bin/binutils/binutils/ |
H A D | ar.c | 1294 struct stat fsbuf, asbuf; in replace_members() local 1296 if (stat (*files_to_move, &fsbuf) != 0) in replace_members() 1307 if (fsbuf.st_mtime <= asbuf.st_mtime) in replace_members()
|