Searched refs:st_fs (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | tracelog.c | 29 struct statfs st_fs; in validate_tracefs_mnt() local 31 if (statfs(mnt, &st_fs) < 0) in validate_tracefs_mnt() 33 if ((unsigned long)st_fs.f_type != magic) in validate_tracefs_mnt()
|
H A D | feature.c | 50 struct statfs st_fs; in check_procfs() local 52 if (statfs("/proc", &st_fs) < 0) in check_procfs() 54 if ((unsigned long)st_fs.f_type != PROC_SUPER_MAGIC) in check_procfs()
|
H A D | common.c | 104 struct statfs st_fs; in is_bpffs() local 106 if (statfs(path, &st_fs) < 0) in is_bpffs() 109 return (unsigned long)st_fs.f_type == BPF_FS_MAGIC; in is_bpffs()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | tracelog.c | 29 struct statfs st_fs; in validate_tracefs_mnt() local 31 if (statfs(mnt, &st_fs) < 0) in validate_tracefs_mnt() 33 if ((unsigned long)st_fs.f_type != magic) in validate_tracefs_mnt()
|
H A D | feature.c | 56 struct statfs st_fs; in check_procfs() local 58 if (statfs("/proc", &st_fs) < 0) in check_procfs() 60 if ((unsigned long)st_fs.f_type != PROC_SUPER_MAGIC) in check_procfs()
|
H A D | common.c | 73 struct statfs st_fs; in is_bpffs() local 75 if (statfs(path, &st_fs) < 0) in is_bpffs() 78 return (unsigned long)st_fs.f_type == BPF_FS_MAGIC; in is_bpffs()
|
/kernel/linux/linux-5.10/tools/lib/api/fs/ |
H A D | fs.c | 174 struct statfs st_fs; in fs__valid_mount() local 176 if (statfs(fs, &st_fs) < 0) in fs__valid_mount() 178 else if ((long)st_fs.f_type != magic) in fs__valid_mount()
|
/kernel/linux/linux-6.6/tools/lib/api/fs/ |
H A D | fs.c | 178 struct statfs st_fs; in fs__valid_mount() local 180 if (statfs(fs, &st_fs) < 0) in fs__valid_mount() 182 else if ((long)st_fs.f_type != magic) in fs__valid_mount()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf.c | 7400 struct statfs st_fs; in check_path() local 7412 if (statfs(dir, &st_fs)) { in check_path() 7419 if (!err && st_fs.f_type != BPF_FS_MAGIC) { in check_path()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf.c | 8018 struct statfs st_fs; in check_path() local 8030 if (statfs(dir, &st_fs)) { in check_path() 8037 if (!err && st_fs.f_type != BPF_FS_MAGIC) { in check_path()
|
Completed in 37 milliseconds