Lines Matching defs:fsBuf
198 struct statfs fsBuf = {0};
213 statfs(".", &fsBuf);
214 LOG("fsBuf.f_type = %lu", fsBuf.f_type); // Type of filesystem.
215 LOG("fsBuf.f_bsize = %lu", fsBuf.f_bsize); // Optimal transfer block size.
216 LOG("fsBuf.f_blocks = %lu", fsBuf.f_blocks); // Total data blocks in filesystem.
217 LOG("fsBuf.f_bfree = %lu", fsBuf.f_bfree); // Total data blocks in filesystem.
218 LOG("fsBuf.f_bavail = %lu", fsBuf.f_bavail); // Free blocks available to unprivileged user.
219 LOG("fsBuf.f_files = %lu", fsBuf.f_files); // Total file nodes in filesystem.
220 LOG("fsBuf.f_ffree = %lu", fsBuf.f_ffree); // Free file nodes in filesystem.
221 LOG("fsBuf.f_fsid.__val[0] = %d", fsBuf.f_fsid.__val[0]); // Filesystem ID.
222 LOG("fsBuf.f_fsid.__val[1] = %d", fsBuf.f_fsid.__val[1]); // Filesystem ID.
223 LOG("fsBuf.f_namelen = %ld", fsBuf.f_namelen); // Maximum length of filenames.
225 EXPECT_EQ(vfsBuf.f_bsize, fsBuf.f_bsize);
226 EXPECT_EQ(vfsBuf.f_blocks, fsBuf.f_blocks);
227 EXPECT_EQ(vfsBuf.f_files, fsBuf.f_files);
228 EXPECT_EQ(vfsBuf.f_ffree, fsBuf.f_ffree);
229 EXPECT_EQ(vfsBuf.f_namemax, fsBuf.f_namelen);