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.rst60 **# bpftool iter pin bpf_iter_netlink.o /sys/fs/bpf/my_netlink**
65 to /sys/fs/bpf/my_netlink
67 **# bpftool iter pin bpf_iter_hashmap.o /sys/fs/bpf/my_hashmap map id 20**
72 id 20, and pin it to /sys/fs/bpf/my_hashmap
Dbpftool-cgroup.rst130 | **# mount -t bpf none /sys/fs/bpf/**
131 | **# mkdir /sys/fs/cgroup/test.slice**
132 | **# bpftool prog load ./device_cgroup.o /sys/fs/bpf/prog**
133 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
135 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
143 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
144 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
Dbpftool-map.rst217 | **# mount -t bpf none /sys/fs/bpf/**
218 | **# bpftool map pin id 10 /sys/fs/bpf/map**
219 | **# bpftool map del pinned /sys/fs/bpf/map key 13 00 07 00**
233 | **# bpftool prog loadall tail_calls.o /sys/fs/bpf/foo type xdp**
241 pinned /sys/fs/bpf/foo/xdp
245 pinned /sys/fs/bpf/foo/process
249 pinned /sys/fs/bpf/foo/debug
260 | **# bpftool map pin id 294 /sys/fs/bpf/bar**
261 | **# bpftool map dump pinned /sys/fs/bpf/bar**
268 | **# bpftool map update pinned /sys/fs/bpf/bar key 0 0 0 0 value pinned /sys/fs/bpf/foo/debug**
[all …]
Dbpftool-link.rst104 | **# bpftool link pin id 10 /sys/fs/bpf/link**
105 | **# ls -l /sys/fs/bpf/**
Dbpftool-prog.rst300 | **# mount -t bpf none /sys/fs/bpf/**
301 | **# bpftool prog pin id 10 /sys/fs/bpf/prog**
302 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2**
303 | **# ls -l /sys/fs/bpf/**
310 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes**
326 | **# bpftool prog load xdp1_kern.o /sys/fs/bpf/xdp1 type xdp map name rxcnt id 7**
327 | **# bpftool prog show pinned /sys/fs/bpf/xdp1**
335 **# rm /sys/fs/bpf/xdp1**
/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/lib/api/
DBuild2 libapi-y += fs/
/tools/testing/selftests/resctrl/
Dresctrlfs.c16 char line[256], *fs, *mntpoint; in find_resctrl_mount() local
26 fs = strtok(line, " \t"); in find_resctrl_mount()
27 if (!fs) in find_resctrl_mount()
32 fs = strtok(NULL, " \t"); in find_resctrl_mount()
33 if (!fs) in find_resctrl_mount()
35 if (strcmp(fs, "resctrl")) in find_resctrl_mount()
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h206 uint16_t fs; in get_fs() local
209 : /* output */ [fs]"=rm"(fs)); in get_fs()
210 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_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_no_prefix.log29 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/cgroup/
Dcgroup_util.c196 char *fs, *mount, *type; in cg_find_unified_root() local
206 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
/tools/testing/selftests/splice/
Dshort_splice_read.sh122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
/tools/arch/x86/include/uapi/asm/
Dkvm.h153 struct kvm_segment cs, ds, es, fs, gs, ss; member
164 struct kvm_segment cs, ds, es, fs, gs, ss; member

12