Home
last modified time | relevance | path

Searched refs:statvfs_buf (Results 1 – 5 of 5) sorted by relevance

/dports/net/samba412/samba-4.12.15/source3/smbd/
H A Dstatvfs.c120 struct statvfs statvfs_buf; in posix_statvfs() local
123 result = statvfs(path, &statvfs_buf); in posix_statvfs()
129 statbuf->BlockSize = statvfs_buf.f_frsize; in posix_statvfs()
130 statbuf->TotalBlocks = statvfs_buf.f_blocks; in posix_statvfs()
131 statbuf->BlocksAvail = statvfs_buf.f_bfree; in posix_statvfs()
132 statbuf->UserBlocksAvail = statvfs_buf.f_bavail; in posix_statvfs()
133 statbuf->TotalFileNodes = statvfs_buf.f_files; in posix_statvfs()
134 statbuf->FreeFileNodes = statvfs_buf.f_ffree; in posix_statvfs()
135 statbuf->FsIdentifier = statvfs_buf.f_fsid; in posix_statvfs()
142 if (statvfs_buf.f_flag & ST_QUOTA) in posix_statvfs()
[all …]
/dports/devel/kf5-kio/kio-5.89.0/src/core/
H A Dkdiskfreespaceinfo.cpp100 struct statvfs statvfs_buf; in freeSpaceInfo() local
104 if (!statvfs(QFile::encodeName(pathArg).constData(), &statvfs_buf)) { in freeSpaceInfo()
105 const quint64 blksize = quint64(statvfs_buf.f_frsize); // cast to avoid overflow in freeSpaceInfo()
106 info.d->m_available = statvfs_buf.f_bavail * blksize; in freeSpaceInfo()
107 info.d->m_size = statvfs_buf.f_blocks * blksize; in freeSpaceInfo()
/dports/net/samba412/samba-4.12.15/source3/modules/
H A Dvfs_ceph.c201 struct statvfs statvfs_buf; in cephwrap_disk_free() local
205 &statvfs_buf))) { in cephwrap_disk_free()
209 *bsize = statvfs_buf.f_bsize; in cephwrap_disk_free()
210 *dfree = statvfs_buf.f_bavail; in cephwrap_disk_free()
211 *dsize = statvfs_buf.f_blocks; in cephwrap_disk_free()
269 struct statvfs statvfs_buf; in cephwrap_statvfs() local
278 statbuf->BlockSize = statvfs_buf.f_bsize; in cephwrap_statvfs()
280 statbuf->BlocksAvail = statvfs_buf.f_bfree; in cephwrap_statvfs()
284 statbuf->FsIdentifier = statvfs_buf.f_fsid; in cephwrap_statvfs()
286 (long int)statvfs_buf.f_bsize, (long int)statvfs_buf.f_blocks, in cephwrap_statvfs()
[all …]
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-sysinfo.c199 struct statvfs statvfs_buf; in stress_sysinfo() local
210 ret = statvfs(mnts[i], &statvfs_buf); in stress_sysinfo()
224 ret = statvfs("/invalid_stress_ng", &statvfs_buf); in stress_sysinfo()
/dports/devel/libisofs/libisofs-1.5.4/libisofs/
H A Daaip-os-freebsd.c88 struct statvfs statvfs_buf; in aaip_extattr_path_supp() local
90 ret = statvfs(path, &statvfs_buf); in aaip_extattr_path_supp()
93 return(!!(statvfs_buf.f_flag & MNT_EXTATTR)); in aaip_extattr_path_supp()