Searched refs:statvfs_buf (Results 1 – 5 of 5) sorted by relevance
120 struct statvfs statvfs_buf; in posix_statvfs() local123 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 …]
100 struct statvfs statvfs_buf; in freeSpaceInfo() local104 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()
201 struct statvfs statvfs_buf; in cephwrap_disk_free() local205 &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() local278 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 …]
199 struct statvfs statvfs_buf; in stress_sysinfo() local210 ret = statvfs(mnts[i], &statvfs_buf); in stress_sysinfo()224 ret = statvfs("/invalid_stress_ng", &statvfs_buf); in stress_sysinfo()
88 struct statvfs statvfs_buf; in aaip_extattr_path_supp() local90 ret = statvfs(path, &statvfs_buf); in aaip_extattr_path_supp()93 return(!!(statvfs_buf.f_flag & MNT_EXTATTR)); in aaip_extattr_path_supp()