Home
last modified time | relevance | path

Searched refs:svfs (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dstatfs.c114 struct statvfs64 svfs; in cstatfs() local
121 if (error = VFS_STATVFS(vfsp, &svfs)) in cstatfs()
124 if (svfs.f_blocks > UINT32_MAX || svfs.f_bfree > UINT32_MAX || in cstatfs()
125 svfs.f_files > UINT32_MAX || svfs.f_ffree > UINT32_MAX) in cstatfs()
131 sfs.f_bsize = svfs.f_bsize; in cstatfs()
132 sfs.f_frsize = (svfs.f_frsize == svfs.f_bsize) ? 0 : svfs.f_frsize; in cstatfs()
133 sfs.f_blocks = svfs.f_blocks * (svfs.f_frsize / 512); in cstatfs()
134 sfs.f_bfree = svfs.f_bfree * (svfs.f_frsize / 512); in cstatfs()
135 sfs.f_files = svfs.f_files; in cstatfs()
136 sfs.f_ffree = svfs.f_ffree; in cstatfs()
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c4050 struct statvfs svfs; in zsd_open() local
4118 if (statvfs("/proc", &svfs) != 0 || in zsd_open()
4119 strcmp("/proc", svfs.f_fstr) != 0) { in zsd_open()