/tools/lib/api/fs/ |
D | fs.c | 88 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 …]
|
D | Build | 1 libapi-y += fs.o
|
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 25 $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/ |
D | zram_lib.sh | 242 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/ |
D | bpftool-iter.rst | 58 **# 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
|
D | bpftool-cgroup.rst | 129 | **# 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/**
|
D | bpftool-map.rst | 215 | **# 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 …]
|
D | bpftool-link.rst | 103 | **# bpftool link pin id 10 /sys/fs/bpf/link** 104 | **# ls -l /sys/fs/bpf/**
|
D | bpftool-prog.rst | 283 | **# 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/ |
D | gpio-mockup-chardev.c | 35 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/ |
D | rename_flags.sh | 7 fs_header=${header_dir}/fs.h
|
D | sync_file_range.sh | 10 linux_fs=${linux_header_dir}/fs.h
|
/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 18 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/ |
D | Build | 2 libapi-y += fs/
|
/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 171 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/ |
D | test_kernel_panic_interrupt.log | 21 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
D | test_config_printk_time.log | 27 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
D | test_pound_no_prefix.log | 29 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
D | test_output_with_prefix_isolated_correctly.log | 28 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
D | test_pound_sign.log | 29 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
D | test_multiple_prefixes.log | 27 [ 0.060000][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98…
|
D | test_interrupted_tap_output.log | 33 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
/tools/testing/selftests/pstore/ |
D | pstore_post_reboot_tests | 28 mount none /sys/fs/pstore -t pstore
|
/tools/testing/selftests/splice/ |
D | short_splice_read.sh | 122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
|
/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 194 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()
|