Home
last modified time | relevance | path

Searched refs:st_fs (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dtracelog.c29 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()
Dfeature.c50 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()
Dcommon.c104 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-5.10/tools/lib/api/fs/
Dfs.c174 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-5.10/tools/lib/bpf/
Dlibbpf.c7400 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()