Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 25 of 38) sorted by relevance

12

/tools/lib/api/fs/
Dfs.c88 struct fs { struct
110 static struct fs fs__entries[] = { argument
149 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument
161 fs->path, type) == 2) { in fs__read_mounts()
163 if (strcmp(type, fs->name) == 0) in fs__read_mounts()
168 fs->checked = true; in fs__read_mounts()
169 return fs->found = found; in fs__read_mounts()
172 static int fs__valid_mount(const char *fs, long magic) in fs__valid_mount() argument
176 if (statfs(fs, &st_fs) < 0) in fs__valid_mount()
184 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument
[all …]
DBuild1 libapi-y += fs.o
/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh25 $bpftool prog loadall ./bpf_flow.o /sys/fs/bpf/flow \
29 /sys/fs/bpf/flow/flow_dissector flow_dissector; then
34 $bpftool prog attach pinned /sys/fs/bpf/flow/flow_dissector \
38 /sys/fs/bpf/flow/flow_dissector flow_dissector; then
44 /sys/fs/bpf/flow/flow_dissector flow_dissector; then
49 rm -rf /sys/fs/bpf/flow
89 if /bin/mount | grep /sys/fs/bpf > /dev/null; then
94 /bin/mount bpffs /sys/fs/bpf -t bpf
/tools/testing/selftests/zram/
Dzram_lib.sh242 for fs in $zram_filesystems; do
244 which mkfs.$fs > /dev/null 2>&1 || fs=ext2
246 echo "make $fs filesystem on /dev/zram$i"
247 mkfs.$fs /dev/zram$i > err.log 2>&1
250 echo "FAIL failed to make $fs on /dev/zram$i"
253 echo "zram mkfs.$fs: OK"
/tools/bpf/bpftool/Documentation/
Dbpftool-iter.rst58 **# bpftool iter pin bpf_iter_netlink.o /sys/fs/bpf/my_netlink**
63 to /sys/fs/bpf/my_netlink
65 **# bpftool iter pin bpf_iter_hashmap.o /sys/fs/bpf/my_hashmap map id 20**
70 id 20, and pin it to /sys/fs/bpf/my_hashmap
Dbpftool-cgroup.rst129 | **# mount -t bpf none /sys/fs/bpf/**
130 | **# mkdir /sys/fs/cgroup/test.slice**
131 | **# bpftool prog load ./device_cgroup.o /sys/fs/bpf/prog**
132 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
134 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
142 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
143 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
Dbpftool-map.rst215 | **# mount -t bpf none /sys/fs/bpf/**
216 | **# bpftool map pin id 10 /sys/fs/bpf/map**
217 | **# bpftool map del pinned /sys/fs/bpf/map key 13 00 07 00**
231 | **# bpftool prog loadall tail_calls.o /sys/fs/bpf/foo type xdp**
239 pinned /sys/fs/bpf/foo/xdp
243 pinned /sys/fs/bpf/foo/process
247 pinned /sys/fs/bpf/foo/debug
258 | **# bpftool map pin id 294 /sys/fs/bpf/bar**
259 | **# bpftool map dump pinned /sys/fs/bpf/bar**
266 | **# bpftool map update pinned /sys/fs/bpf/bar key 0 0 0 0 value pinned /sys/fs/bpf/foo/debug**
[all …]
Dbpftool-link.rst103 | **# bpftool link pin id 10 /sys/fs/bpf/link**
104 | **# ls -l /sys/fs/bpf/**
Dbpftool-prog.rst283 | **# mount -t bpf none /sys/fs/bpf/**
284 | **# bpftool prog pin id 10 /sys/fs/bpf/prog**
285 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2**
286 | **# ls -l /sys/fs/bpf/**
293 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes**
309 | **# bpftool prog load xdp1_kern.o /sys/fs/bpf/xdp1 type xdp map name rxcnt id 7**
310 | **# bpftool prog show pinned /sys/fs/bpf/xdp1**
318 **# rm /sys/fs/bpf/xdp1**
/tools/testing/selftests/gpio/
Dgpio-mockup-chardev.c35 struct libmnt_fs *fs; in get_debugfs() local
49 while (mnt_table_next_fs(tb, itr, &fs) == 0) { in get_debugfs()
50 const char *type = mnt_fs_get_fstype(fs); in get_debugfs()
58 ret = asprintf(path, "%s/gpio", mnt_fs_get_target(fs)); in get_debugfs()
/tools/perf/trace/beauty/
Drename_flags.sh7 fs_header=${header_dir}/fs.h
Dsync_file_range.sh10 linux_fs=${linux_header_dir}/fs.h
/tools/testing/selftests/resctrl/
Dresctrlfs.c18 char line[256], *fs, *mntpoint; in find_resctrl_mount() local
28 fs = strtok(line, " \t"); in find_resctrl_mount()
29 if (!fs) in find_resctrl_mount()
34 fs = strtok(NULL, " \t"); in find_resctrl_mount()
35 if (!fs) in find_resctrl_mount()
37 if (strcmp(fs, "resctrl")) in find_resctrl_mount()
/tools/lib/api/
DBuild2 libapi-y += fs/
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h171 uint16_t fs; in get_fs() local
174 : /* output */ [fs]"=rm"(fs)); in get_fs()
175 return fs; in get_fs()
/tools/testing/kunit/test_data/
Dtest_kernel_panic_interrupt.log21 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
Dtest_config_printk_time.log27 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
Dtest_pound_no_prefix.log29 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
Dtest_output_with_prefix_isolated_correctly.log28 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
Dtest_pound_sign.log29 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
Dtest_multiple_prefixes.log27 [ 0.060000][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98…
Dtest_interrupted_tap_output.log33 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests28 mount none /sys/fs/pstore -t pstore
/tools/testing/selftests/splice/
Dshort_splice_read.sh122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
/tools/testing/selftests/cgroup/
Dcgroup_util.c194 char *fs, *mount, *type; in cg_find_unified_root() local
204 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()

12