Home
last modified time | relevance | path

Searched refs:statvfs (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
H A Dgetvfsstat.cpp17 size_t sz = rv * sizeof(struct statvfs); in main()
18 struct statvfs *buf = (struct statvfs *)malloc(sz); in main()
H A Dstatvfs1.cpp17 struct statvfs buf; in test_statvfs1()
32 struct statvfs buf; in test_fstatvfs1()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_netbsd_compat.inc30 #undef statvfs
33 INTERCEPTOR(int, statvfs, char *path, void *buf) {
35 COMMON_INTERCEPTOR_ENTER(ctx, statvfs, path, buf);
40 int res = REAL(statvfs)(path, buf);
63 COMMON_INTERCEPT_FUNCTION(statvfs); \
H A Dsanitizer_platform_limits_solaris.cpp97 unsigned struct_statvfs_sz = sizeof(struct statvfs);
H A Dsanitizer_platform_limits_freebsd.cpp141 unsigned struct_statvfs_sz = sizeof(struct statvfs);
H A Dsanitizer_platform_limits_posix.cpp294 unsigned struct_statvfs_sz = sizeof(struct statvfs);
H A Dsanitizer_platform_limits_netbsd.cpp572 unsigned struct_statvfs_sz = sizeof(struct statvfs);
H A Dsanitizer_common_interceptors.inc123 #define statvfs __statvfs90
4645 INTERCEPTOR(int, statvfs, char *path, void *buf) {
4647 COMMON_INTERCEPTOR_ENTER(ctx, statvfs, path, buf);
4652 int res = REAL(statvfs)(path, buf);
4672 COMMON_INTERCEPT_FUNCTION(statvfs); \
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dgetmntinfo.cpp21 struct statvfs *fss; in main()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dredefine_extname.cpp7 #pragma redefine_extname statvfs64 statvfs
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dposix_compat.h320 int statvfs(const wchar_t *p, StatVFS *buf) { in statvfs() function
506 using ::statvfs;
511 using StatVFS = struct statvfs;
H A Doperations.cpp1505 if (detail::statvfs(p.c_str(), &m_svfs) == -1) { in __space()
/llvm-project-15.0.7/libcxx/test/support/
H A Dfilesystem_test_helper.h81 struct statvfs expect;
82 if (::statvfs(path.c_str(), &expect) == -1)
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def877 /// int fstatvfs(int fildes, struct statvfs *buf);
1267 /// int statvfs(const char *path, struct statvfs *buf);
1268 TLI_DEFINE_ENUM_INTERNAL(statvfs)
1269 TLI_DEFINE_STRING_INTERNAL("statvfs")
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll795 ; CHECK: declare void @statvfs(...)
796 declare void @statvfs(...)
H A Dannotate.ll883 ; CHECK: declare noundef i32 @statvfs(i8* nocapture noundef readonly, %opaque* nocapture noundef) […
884 declare i32 @statvfs(i8*, %opaque*)
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc78 #include <sys/statvfs.h>
79 #define STATVFS statvfs
516 // statvfs::f_basetype contains a null-terminated FSType name of the mounted target
/llvm-project-15.0.7/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp755 TEST(MemorySanitizer, statvfs) { in TEST() argument
756 struct statvfs st; in TEST()
757 int res = statvfs("/", &st); in TEST()
766 struct statvfs st; in TEST()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2961 fun:statvfs=uninstrumented