Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 178) sorted by relevance

12345678

/tools/perf/tests/
Dbuiltin-test-list.c38 static const char *shell_tests__dir(char *path, size_t size) in shell_tests__dir()
62 const char *path, const char *name) in shell_test__description()
86 static bool is_shell_script(const char *path) in is_shell_script()
101 static bool is_test_script(const char *path, const char *name) in is_test_script()
157 static void append_scripts_in_dir(const char *path) in append_scripts_in_dir()
192 const char *path; in list_script_files() local
Dkmod-path.c10 static int test(const char *path, bool alloc_name, bool kmod, in test()
35 static int test_is_kernel_module(const char *path, int cpumode, bool expect) in test_is_kernel_module()
44 #define T(path, an, k, c, n) \ argument
47 #define M(path, c, e) \ argument
Dtopology.c17 static int get_temp(char *path) in get_temp()
33 static int session_write_header(char *path) in session_write_header()
72 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology()
217 char path[PATH_MAX]; in test__session_topology() local
/tools/testing/selftests/memfd/
Dfuse_mnt.c27 static int memfd_getattr(const char *path, struct stat *st) in memfd_getattr()
45 static int memfd_readdir(const char *path, in memfd_readdir()
61 static int memfd_open(const char *path, struct fuse_file_info *fi) in memfd_open()
75 static int memfd_read(const char *path, in memfd_read()
/tools/testing/selftests/openat2/
Dhelpers.c22 int raw_openat2(int dfd, const char *path, void *how, size_t size) in raw_openat2()
28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2()
33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat()
47 int touchat(int dfd, const char *path) in touchat()
71 bool fdequal(int fd, int dfd, const char *path) in fdequal()
/tools/include/nolibc/
Dsys.h92 int sys_chdir(const char *path) in sys_chdir()
98 int chdir(const char *path) in chdir()
115 int sys_chmod(const char *path, mode_t mode) in sys_chmod()
127 int chmod(const char *path, mode_t mode) in chmod()
144 int sys_chown(const char *path, uid_t owner, gid_t group) in sys_chown()
156 int chown(const char *path, uid_t owner, gid_t group) in chown()
173 int sys_chroot(const char *path) in sys_chroot()
179 int chroot(const char *path) in chroot()
627 int sys_mkdir(const char *path, mode_t mode) in sys_mkdir()
639 int mkdir(const char *path, mode_t mode) in mkdir()
[all …]
/tools/hv/
Dvmbus_testing122 def validate_args_path(path, arg_set, file_map): argument
138 def get_device_test_values(path, file_map): argument
146 def recursive_file_lookup(path, file_map): argument
175 def read_test_files(path): argument
191 def write_test_files(path, value): argument
/tools/power/cpupower/lib/
Dcpupower.c17 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen) in cpupower_read_sysfs()
38 unsigned int cpupower_write_sysfs(const char *path, char *buf, size_t buflen) in cpupower_write_sysfs()
69 char path[SYSFS_PATH_MAX]; in cpupower_is_cpu_online() local
114 char path[SYSFS_PATH_MAX]; in sysfs_topology_read_file() local
/tools/testing/selftests/efivarfs/
Dopen-unlink.c13 static int set_immutable(const char *path, int immutable) in set_immutable()
44 static int get_immutable(const char *path) in get_immutable()
70 const char *path; in main() local
/tools/perf/util/
Dtrace-event-info.c98 char *path = get_events_file("header_page"); in record_header_files() local
234 char *path; in record_ftrace_files() local
265 char *path; in record_event_files() local
345 char *path; in record_ftrace_printk() local
373 char *path; in record_saved_cmdline() local
413 struct tracepoint_path *path = NULL; in tracepoint_id_to_path() local
479 struct tracepoint_path *path = zalloc(sizeof(*path)); in tracepoint_name_to_path() local
502 struct tracepoint_path path, *ppath = &path; in get_tracepoints_path() local
Dpath.c37 static char *cleanup_path(char *path) in cleanup_path()
86 char path[PATH_MAX]; in is_directory() local
98 char path[PATH_MAX]; in is_executable_file() local
Dutil.c92 int mkdir_p(char *path, mode_t mode) in mkdir_p()
149 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat()
204 static int rm_rf_a_kcore_dir(const char *path, const char *name) in rm_rf_a_kcore_dir()
230 static int rm_rf_kcore_dir(const char *path) in rm_rf_kcore_dir()
252 int rm_rf_perf_data(const char *path) in rm_rf_perf_data()
265 int rm_rf(const char *path) in rm_rf()
Dpmu.c62 char path[PATH_MAX]; in perf_pmu__format_parse() local
92 char path[PATH_MAX]; in pmu_format() local
153 char path[PATH_MAX]; in perf_pmu__parse_scale() local
181 char path[PATH_MAX]; in perf_pmu__parse_unit() local
212 char path[PATH_MAX]; in perf_pmu__parse_per_pkg() local
230 char path[PATH_MAX]; in perf_pmu__parse_snapshot() local
462 char path[PATH_MAX]; in pmu_aliases_parse() local
498 char path[PATH_MAX]; in pmu_aliases() local
547 char path[PATH_MAX]; in pmu_type() local
575 char path[PATH_MAX]; in pmu_read_sysfs() local
[all …]
/tools/testing/selftests/ia64/
Daliasing-test.c24 static int map_mem(char *path, off_t offset, size_t length, int touch) in map_mem()
62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree()
119 static int read_rom(char *path) in read_rom()
147 static int scan_rom(char *path, char *file) in scan_rom()
/tools/lib/subcmd/
Dexec-cmd.c34 static int is_absolute_path(const char *path) in is_absolute_path()
58 static const char *make_nonrelative_path(const char *path) in make_nonrelative_path()
75 char *system_path(const char *path) in system_path()
131 static void add_path(char **out, const char *path) in add_path()
/tools/testing/selftests/bpf/prog_tests/
Dcgroup_hierarchical_stats.c51 const char *path, *name; member
71 static int read_from_file(const char *path, char *buf, size_t size) in read_from_file()
196 static char buf[128], path[128]; in get_attach_counter() local
252 static char path[128]; in setup_cgroup_iter() local
308 static char path[128]; in destroy_progs() local
/tools/perf/arch/
Dcommon.c95 char *path, *tmp = NULL; in lookup_path() local
133 const char *name, const char **path) in perf_env__lookup_binutils_path()
205 int perf_env__lookup_objdump(struct perf_env *env, const char **path) in perf_env__lookup_objdump()
/tools/power/cpupower/utils/helpers/
Dsysfs.c18 unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen) in sysfs_read_file()
49 char path[SYSFS_PATH_MAX]; in sysfs_is_cpu_online() local
107 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_file_exists() local
127 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_read_file() local
162 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_write_file() local
387 char path[SYSFS_PATH_MAX]; in sysfs_cpuidle_read_file() local
/tools/bpf/bpftool/
Dcommon.c69 static bool is_bpffs(char *path) in is_bpffs()
194 int open_obj_pinned(const char *path, bool quiet) in open_obj_pinned()
222 int open_obj_pinned_any(const char *path, enum bpf_obj_type exp_type) in open_obj_pinned_any()
376 char path[PATH_MAX]; in get_fd_type() local
404 char path[PATH_MAX]; in get_fdinfo() local
475 char *path; in do_build_table_cb() local
529 char *path = mntent->mnt_dir; in build_pinned_obj_table() local
593 static int read_sysfs_hex_int(char *path) in read_sysfs_hex_int()
844 char *path; in prog_parse_fds() local
981 char *path; in map_parse_fds() local
/tools/bootconfig/
Dmain.c151 static int load_xbc_file(const char *path, char **buf) in load_xbc_file()
281 static int show_xbc(const char *path, bool list) in show_xbc()
328 static int delete_xbc(const char *path) in delete_xbc()
360 static int apply_xbc(const char *path, const char *xbc_path) in apply_xbc()
488 char *path = NULL; in main() local
/tools/testing/selftests/exec/
Dexecveat.c30 static int execveat_(int fd, const char *path, char **argv, char **envp, in execveat_()
41 #define check_execveat_fail(fd, path, flags, errno) \ argument
43 static int _check_execveat_fail(int fd, const char *path, int flags, in _check_execveat_fail()
67 static int check_execveat_invoked_rc(int fd, const char *path, int flags, in check_execveat_invoked_rc()
114 static int check_execveat(int fd, const char *path, int flags) in check_execveat()
/tools/lib/traceevent/
Devent-plugin.c44 char *path; member
443 load_plugin(struct tep_handle *tep, const char *path, in load_plugin()
510 const char *path, in load_plugins_dir()
568 const char *path, in tep_load_plugins_hook()
575 char *path; in tep_load_plugins_hook() local
655 int tep_add_plugin_path(struct tep_handle *tep, char *path, in tep_add_plugin_path()
/tools/lib/api/fs/
Dfs.c91 char path[PATH_MAX]; member
443 char path[PATH_MAX]; in procfs__read_str() local
457 char path[PATH_MAX]; in sysfs__read_ull_base() local
480 char path[PATH_MAX]; in sysfs__read_int() local
493 char path[PATH_MAX]; in sysfs__read_str() local
535 char path[PATH_MAX]; in sysctl__read_int() local
548 char path[PATH_MAX]; in sysfs__write_int() local
/tools/testing/selftests/bpf/
Dcgroup_helpers.c37 #define format_cgroup_path_pid(buf, path, pid) \ argument
41 #define format_cgroup_path(buf, path) \ argument
44 #define format_parent_cgroup_path(buf, path) \ argument
53 char path[PATH_MAX + 1]; in __enable_controllers() local
421 int cgroup_setup_and_join(const char *path) { in cgroup_setup_and_join()
/tools/testing/selftests/bpf/progs/
Dbtf_type_tag_percpu.c46 int BPF_PROG(test_percpu_load, struct cgroup *cgrp, const char *path) in BPF_PROG()
53 int BPF_PROG(test_percpu_helper, struct cgroup *cgrp, const char *path) in BPF_PROG()

12345678