Home
last modified time | relevance | path

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

/Linux-v4.19/tools/lib/api/fs/
Dfs.c166 struct statfs st_fs; in fs__valid_mount() local
168 if (statfs(fs, &st_fs) < 0) in fs__valid_mount()
170 else if ((long)st_fs.f_type != magic) in fs__valid_mount()
/Linux-v4.19/tools/bpf/bpftool/
Dcommon.c94 struct statfs st_fs; in is_bpffs() local
96 if (statfs(path, &st_fs) < 0) in is_bpffs()
99 return (unsigned long)st_fs.f_type == BPF_FS_MAGIC; in is_bpffs()
/Linux-v4.19/tools/lib/bpf/
Dlibbpf.c1644 struct statfs st_fs; in check_path() local
1656 if (statfs(dir, &st_fs)) { in check_path()
1663 if (!err && st_fs.f_type != BPF_FS_MAGIC) { in check_path()