Home
last modified time | relevance | path

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

/tools/lib/api/fs/
Dfs.c88 struct fs { struct
109 static struct fs fs__entries[] = { argument
142 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument
154 fs->path, type) == 2) { in fs__read_mounts()
156 if (strcmp(type, fs->name) == 0) in fs__read_mounts()
161 return fs->found = found; in fs__read_mounts()
164 static int fs__valid_mount(const char *fs, long magic) in fs__valid_mount() argument
168 if (statfs(fs, &st_fs) < 0) in fs__valid_mount()
176 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument
180 ptr = fs->mounts; in fs__check_mounts()
[all …]
DBuild1 libapi-y += fs.o
/tools/testing/selftests/zram/
Dzram_lib.sh200 for fs in $zram_filesystems; do
202 which mkfs.$fs > /dev/null 2>&1 || fs=ext2
204 echo "make $fs filesystem on /dev/zram$i"
205 mkfs.$fs /dev/zram$i > err.log 2>&1
208 echo "FAIL failed to make $fs on /dev/zram$i"
211 echo "zram mkfs.$fs: OK"
/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst206 | **# mount -t bpf none /sys/fs/bpf/**
207 | **# bpftool map pin id 10 /sys/fs/bpf/map**
208 | **# bpftool map del pinned /sys/fs/bpf/map key 13 00 07 00**
222 | **# bpftool prog loadall tail_calls.o /sys/fs/bpf/foo type xdp**
230 pinned /sys/fs/bpf/foo/xdp
234 pinned /sys/fs/bpf/foo/process
238 pinned /sys/fs/bpf/foo/debug
249 | **# bpftool map pin id 294 /sys/fs/bpf/bar**
250 | **# bpftool map dump pinned /sys/fs/bpf/bar**
257 | **# bpftool map update pinned /sys/fs/bpf/bar key 0 0 0 0 value pinned /sys/fs/bpf/foo/debug**
[all …]
Dbpftool-cgroup.rst138 | **# mount -t bpf none /sys/fs/bpf/**
139 | **# mkdir /sys/fs/cgroup/test.slice**
140 | **# bpftool prog load ./device_cgroup.o /sys/fs/bpf/prog**
141 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
143 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
151 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
152 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
Dbpftool-prog.rst268 | **# mount -t bpf none /sys/fs/bpf/**
269 | **# bpftool prog pin id 10 /sys/fs/bpf/prog**
270 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2**
271 | **# ls -l /sys/fs/bpf/**
278 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes**
294 | **# bpftool prog load xdp1_kern.o /sys/fs/bpf/xdp1 type xdp map name rxcnt id 7**
295 | **# bpftool prog show pinned /sys/fs/bpf/xdp1**
303 **# rm /sys/fs/bpf/xdp1**
Dbpftool-btf.rst220 **# bpftool btf dump map pinned /sys/fs/bpf/map_name**
226 **# bpftool btf dump prog pinned /sys/fs/bpf/prog_name**
/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/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/lib/api/
DBuild2 libapi-y += fs/
/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh53 if /bin/mount | grep /sys/fs/bpf > /dev/null; then
58 /bin/mount bpffs /sys/fs/bpf -t bpf
/tools/testing/selftests/cgroup/
Dcgroup_util.c177 char *fs, *mount, *type; in cg_find_unified_root() local
187 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests28 mount none /sys/fs/pstore -t pstore
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h164 uint16_t fs; in get_fs() local
167 : /* output */ [fs]"=rm"(fs)); in get_fs()
168 return fs; in get_fs()
/tools/perf/
DMakefile.perf432 $(fsmount_arrays): $(linux_uapi_dir)/fs.h $(fsmount_tbls)
438 $(fspick_arrays): $(linux_uapi_dir)/fs.h $(fspick_tbls)
444 $(fsconfig_arrays): $(linux_uapi_dir)/fs.h $(fsconfig_tbls)
518 $(mount_flags_array): $(linux_uapi_dir)/fs.h $(mount_flags_tbl)
524 $(move_mount_flags_array): $(linux_uapi_dir)/fs.h $(move_mount_flags_tbl)
549 $(rename_flags_array): $(linux_uapi_dir)/fs.h $(rename_flags_tbl)
562 $(sync_file_range_arrays): $(linux_uapi_dir)/fs.h $(sync_file_range_tbls)
/tools/power/pm-graph/
Dbootgraph.py107 fs = ''
118 if not fs:
119 fs = func
121 fs += ','+func
122 if not fs:
124 self.graph_filter = fs
Dsleepgraph.py2383 fs = self.start
2385 if fs < data.start or fe > data.end:
2395 out = data.newActionGlobal(name, fs, fe, -2)
/tools/arch/x86/include/uapi/asm/
Dkvm.h151 struct kvm_segment cs, ds, es, fs, gs, ss; member
/tools/testing/selftests/x86/
Dsigreturn.c304 unsigned short cs, gs, fs, ss; member
/tools/perf/Documentation/
Dperf-trace.txt70 Look for cgroups to set at the /sys/fs/cgroup/perf_event directory, then
71 remove the /sys/fs/cgroup/perf_event/ part and try:
/tools/memory-model/Documentation/
Drecipes.txt314 The xlog_state_switch_iclogs() function in fs/xfs/xfs_log.c contains
322 And the xlog_valid_lsn() function in fs/xfs/xfs_log_priv.h contains
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c198 segment_dump(stream, &sregs->fs, indent + 2); in sregs_dump()