| /freebsd/contrib/netbsd-tests/bin/df/ |
| H A D | getmntinfo.c | 80 sf->f_bavail = (total * (100 - minfree[i]) / 100 - in other_variants() 82 sf->f_bresvd = sf->f_bfree - sf->f_bavail; in other_variants() 101 .f_bavail = (TOTAL - USED) / BSIZE, in setup_filer() 133 .f_bavail = AVAIL / BSIZE, in setup_ld0g() 165 .f_bavail = AVAIL / BSIZE, in setup_strpct() 194 .f_bavail = AVAIL, in setup_pr23600()
|
| /freebsd/tools/test/stress2/lib/ |
| H A D | resources.c | 91 if (buf.f_bavail > (int64_t)buf.f_blocks || buf.f_bavail < 0) { in df() 93 buf.f_bavail); in df() 94 buf.f_bavail = 100; in df() 97 printf("Free space on %s: %jd Mb\n", path, buf.f_bavail * in df() 99 return (buf.f_bavail * buf.f_bsize); in df()
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | bsd-statvfs.c | 43 to->f_bavail = from->f_bavail; in copy_statfs_to_statvfs()
|
| H A D | bsd-statvfs.h | 54 fsblkcnt_t f_bavail; /* Number of free blocks available to */ member
|
| /freebsd/bin/df/ |
| H A D | df.c | 409 prthumanval(" {:available/%6s}", sfsp->f_bavail * sfsp->f_bsize); in prthuman() 517 availblks = sfsp->f_bavail + used; in prtstat() 531 mwp->avail, fsbtoblk(sfsp->f_bavail, in prtstat() 573 totalfsp->f_bavail += statfsp->f_bavail * bsize; in addstat() 598 mwp->avail = imax(mwp->avail, int64width(fsbtoblk(sfsp->f_bavail, in update_maxwidths()
|
| /freebsd/lib/libc/gen/ |
| H A D | statvfs.c | 116 COPY(f_bavail); in sfs2svfs() 143 SHOW(f_bavail); in main()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | suj5.sh | 88 printf("Free space on %s: %jd Mb\n", path, buf.f_bavail * buf.f_bsize / 1024 / 1024); 89 return (buf.f_bavail * buf.f_bsize);
|
| H A D | suj6.sh | 88 printf("Free space on %s: %jd Mb\n", path, buf.f_bavail * buf.f_bsize / 1024 / 1024); 89 return (buf.f_bavail * buf.f_bsize);
|
| /freebsd/contrib/llvm-project/libc/include/llvm-libc-types/ |
| H A D | struct_statvfs.h | 20 fsblkcnt_t f_bavail; /* Number of free blocks for unprivileged users */ member
|
| /freebsd/sys/sys/ |
| H A D | statvfs.h | 58 fsblkcnt_t f_bavail; /* Number of blocks */ member
|
| H A D | mount.h | 95 int64_t f_bavail; /* free blocks avail to non-superuser */ member 124 int64_t f_bavail; /* free blocks avail to non-superuser */ member 154 long f_bavail; /* free blocks avail to non-superuser */ member
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_stats.c | 321 l_long f_bavail; member 406 linux_statfs->f_bavail = bsd_statfs->f_bavail; in bsd_to_linux_statfs() 450 linux_statfs->f_bavail = bsd_statfs->f_bavail; in bsd_to_linux_statfs64()
|
| /freebsd/crypto/openssh/ |
| H A D | sftp-client.h | 41 uint64_t f_bavail; member
|
| /freebsd/sys/kern/ |
| H A D | kern_acct.c | 578 if (sp->f_bavail > (int64_t)(acctresume * sp->f_blocks / in acctwatch() 584 if (sp->f_bavail <= (int64_t)(acctsuspend * sp->f_blocks / in acctwatch()
|
| /freebsd/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 663 sbp->f_bavail = 0; in tmpfs_statfs() 665 sbp->f_bavail = sbp->f_blocks - used; in tmpfs_statfs() 666 sbp->f_bfree = sbp->f_bavail; in tmpfs_statfs()
|
| /freebsd/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 393 sbp->f_bavail = mstat->f_bavail; in nullfs_statfs()
|
| /freebsd/sys/fs/autofs/ |
| H A D | autofs_vfsops.c | 200 sbp->f_bavail = 0; in autofs_statfs()
|
| /freebsd/sys/fs/fdescfs/ |
| H A D | fdesc_vfsops.c | 225 sbp->f_bavail = 2; in fdesc_statfs()
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | statfs.cc | 163 EXPECT_EQ(200l, statbuf.f_bavail); in TEST_F()
|
| /freebsd/contrib/kyua/utils/fs/ |
| H A D | operations.cpp | 443 return units::bytes(uint64_t(buf.f_bsize) * buf.f_bavail); in free_disk_space() 451 return units::bytes(uint64_t(buf.f_bsize) * buf.f_bavail); in free_disk_space()
|
| /freebsd/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 539 sbp->f_bavail = mstat->f_bavail; in unionfs_statfs()
|
| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | posix_compat.h | 287 uint64_t f_bavail; member 311 buf->f_bavail = free_bytes_available_to_caller.QuadPart; in statvfs()
|
| /freebsd/sys/fs/devfs/ |
| H A D | devfs_vfsops.c | 230 sbp->f_bavail = 2; in devfs_statfs()
|
| /freebsd/sys/fs/fuse/ |
| H A D | fuse_vfsops.c | 692 sbp->f_bavail = fsfo->st.bavail; in fuse_vfsop_statfs() 704 sbp->f_bavail = 0; in fuse_vfsop_statfs()
|
| /freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
| H A D | dtfs_vfsops.c | 221 sbp->f_bfree = sbp->f_bavail = ROUND(bfree, pgsize) / pgsize; in dtfs_fs_statvfs()
|