Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c103 struct statfs statfs_buf; in is_on_tmpfs() local
105 if (fstatfs(fd, &statfs_buf)) in is_on_tmpfs()
108 return statfs_buf.f_type == TMPFS_MAGIC; in is_on_tmpfs()
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c144 struct statfs statfs_buf; in cwd_matches_fs() local
149 if (statfs(".", &statfs_buf)) in cwd_matches_fs()
152 return statfs_buf.f_type == fs_magic; in cwd_matches_fs()