Searched refs:st_fs (Results 1 – 5 of 5) sorted by relevance
29 struct statfs st_fs; in validate_tracefs_mnt() local31 if (statfs(mnt, &st_fs) < 0) in validate_tracefs_mnt()33 if ((unsigned long)st_fs.f_type != magic) in validate_tracefs_mnt()
73 struct statfs st_fs; in is_bpffs() local75 if (statfs(path, &st_fs) < 0) in is_bpffs()78 return (unsigned long)st_fs.f_type == BPF_FS_MAGIC; in is_bpffs()
56 struct statfs st_fs; in check_procfs() local58 if (statfs("/proc", &st_fs) < 0) in check_procfs()60 if ((unsigned long)st_fs.f_type != PROC_SUPER_MAGIC) in check_procfs()
178 struct statfs st_fs; in fs__valid_mount() local180 if (statfs(fs, &st_fs) < 0) in fs__valid_mount()182 else if ((long)st_fs.f_type != magic) in fs__valid_mount()
8014 struct statfs st_fs; in check_path() local8026 if (statfs(dir, &st_fs)) { in check_path()8033 if (!err && st_fs.f_type != BPF_FS_MAGIC) { in check_path()