Searched refs:statfs_buf (Results 1 – 2 of 2) sorted by relevance
103 struct statfs statfs_buf; in is_on_tmpfs() local105 if (fstatfs(fd, &statfs_buf)) in is_on_tmpfs()108 return statfs_buf.f_type == TMPFS_MAGIC; in is_on_tmpfs()
144 struct statfs statfs_buf; in cwd_matches_fs() local149 if (statfs(".", &statfs_buf)) in cwd_matches_fs()152 return statfs_buf.f_type == fs_magic; in cwd_matches_fs()