Home
last modified time | relevance | path

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

123

/tools/lib/api/fs/
A Dfs.c103 static void fs__init_once(struct fs *fs); argument
105 static const char *fs__mount(struct fs *fs);
117 struct fs *fs = &fs__##lower_name; \
125 struct fs *fs = &fs__##lower_name; \
134 struct fs *fs = &fs__##lower_name; \
154 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument
189 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument
221 static bool fs__env_override(struct fs *fs) in fs__env_override() argument
242 static void fs__init_once(struct fs *fs) in fs__init_once() argument
258 static const char *mount_overload(struct fs *fs) in mount_overload() argument
[all …]
A DBuild1 libapi-y += fs.o
/tools/lib/api/
A DMakefile100 FS_HDRS := fs/fs.h fs/tracing_path.h
114 $(INSTALL_FS_HDRS): $(INSTALL_HDRS_PFX)/fs/%.h: fs/%.h
116 $(call do_install,$<,$(INSTALL_HDRS_PFX)/fs/,644)
A DBuild2 libapi-y += fs/
/tools/testing/selftests/zram/
A 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/perf/tests/shell/
A Dstat_bpf_counters_cgrp.sh28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then
/tools/bpf/bpftool/Documentation/
A 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
A Dbpftool-map.rst214 | **# mount -t bpf none /sys/fs/bpf/**
215 | **# bpftool map pin id 10 /sys/fs/bpf/map**
216 | **# bpftool map del pinned /sys/fs/bpf/map key 13 00 07 00**
230 | **# bpftool prog loadall tail_calls.o /sys/fs/bpf/foo type xdp**
238 pinned /sys/fs/bpf/foo/xdp
242 pinned /sys/fs/bpf/foo/process
246 pinned /sys/fs/bpf/foo/debug
257 | **# bpftool map pin id 294 /sys/fs/bpf/bar**
258 | **# bpftool map dump pinned /sys/fs/bpf/bar**
265 | **# bpftool map update pinned /sys/fs/bpf/bar key 0 0 0 0 value pinned /sys/fs/bpf/foo/debug**
[all …]
A Dbpftool-cgroup.rst140 | **# mount -t bpf none /sys/fs/bpf/**
141 | **# mkdir /sys/fs/cgroup/test.slice**
142 | **# bpftool prog load ./device_cgroup.o /sys/fs/bpf/prog**
143 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
145 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
153 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
154 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
A Dbpftool-link.rst102 | **# bpftool link pin id 10 /sys/fs/bpf/link**
103 | **# ls -l /sys/fs/bpf/**
/tools/testing/selftests/x86/
A Dclang_helpers_32.S8 mov %fs:(0), %eax
/tools/perf/trace/beauty/
A Drename_flags.sh7 fs_header=${header_dir}/fs.h
A Dsync_file_range.sh10 linux_fs=${linux_header_dir}/fs.h
/tools/testing/selftests/bpf/progs/
A Dverifier_vfs_reject.c109 root = &task->fs->root; in BPF_PROG()
125 pwd = &current->fs->pwd; in BPF_PROG()
/tools/testing/selftests/resctrl/
A Dresctrlfs.c21 char line[256], *fs, *mntpoint; in find_resctrl_mount() local
31 fs = strtok(line, " \t"); in find_resctrl_mount()
32 if (!fs) in find_resctrl_mount()
37 fs = strtok(NULL, " \t"); in find_resctrl_mount()
38 if (!fs) in find_resctrl_mount()
40 if (strcmp(fs, "resctrl")) in find_resctrl_mount()
/tools/testing/selftests/coredump/
A DREADME.rst26 * commit 0a1eb2d474ed ("fs/proc: Stop reporting eip and esp in /proc/PID/stat") changed kstkesp to
29 * commit fd7d56270b52 ("fs/proc: Report eip/esp in /prod/PID/stat for coredumping") fixed it for the
32 * commit cb8f381f1613 ("fs/proc/array.c: allow reporting eip/esp for all coredumping threads") fixed
/tools/testing/selftests/filesystems/mount-notify/
A Dmount-notify_test.c335 int ret, fs, mnt; in TEST_F() local
338 fs = fsopen("tmpfs", 0); in TEST_F()
339 ASSERT_GE(fs, 0); in TEST_F()
341 ret = fsconfig(fs, FSCONFIG_CMD_CREATE, 0, 0, 0); in TEST_F()
344 mnt = fsmount(fs, 0, 0); in TEST_F()
347 close(fs); in TEST_F()
A Dmount-notify_test_ns.c363 int ret, fs, mnt; in TEST_F() local
366 fs = fsopen("tmpfs", 0); in TEST_F()
367 ASSERT_GE(fs, 0); in TEST_F()
369 ret = fsconfig(fs, FSCONFIG_CMD_CREATE, 0, 0, 0); in TEST_F()
372 mnt = fsmount(fs, 0, 0); in TEST_F()
375 close(fs); in TEST_F()
/tools/testing/kunit/test_data/
A Dtest_kernel_panic_interrupt.log21 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
A Dtest_config_printk_time.log27 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
A Dtest_output_with_prefix_isolated_correctly.log28 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
/tools/testing/selftests/pstore/
A Dpstore_post_reboot_tests28 mount none /sys/fs/pstore -t pstore
/tools/testing/selftests/cgroup/lib/
A Dcgroup_util.c226 char *fs, *mount, *type, *options; in cg_find_root() local
236 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_root()
/tools/testing/selftests/splice/
A Dshort_splice_read.sh122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
/tools/testing/selftests/mm/
A Dgup_longterm.c40 struct statfs fs; in get_fs_type() local
44 ret = fstatfs(fd, &fs); in get_fs_type()
47 return ret ? 0 : fs.f_type; in get_fs_type()

Completed in 26 milliseconds

123