Home
last modified time | relevance | path

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

123456

/tools/perf/tests/
Dtopology.c16 static int get_temp(char *path) in get_temp()
32 static int session_write_header(char *path) in session_write_header()
61 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology()
117 char path[PATH_MAX]; in test__session_topology() 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
/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/bpf/
Dcgroup_helpers.c32 #define format_cgroup_path(buf, path) \ argument
46 char path[PATH_MAX + 1]; in enable_all_controllers() local
178 int join_cgroup(const char *path) in join_cgroup()
218 int create_and_get_cgroup(const char *path) in create_and_get_cgroup()
246 unsigned long long get_cgroup_id(const char *path) in get_cgroup_id()
294 int cgroup_setup_and_join(const char *path) { in cgroup_setup_and_join()
/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/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/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/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/power/cpupower/lib/
Dcpupower.c17 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen) in cpupower_read_sysfs()
48 char path[SYSFS_PATH_MAX]; in cpupower_is_cpu_online() local
93 char path[SYSFS_PATH_MAX]; in sysfs_topology_read_file() local
Dcpuidle.c33 char path[SYSFS_PATH_MAX]; in cpuidle_state_file_exists() local
56 char path[SYSFS_PATH_MAX]; in cpuidle_state_read_file() local
91 char path[SYSFS_PATH_MAX]; in cpuidle_state_write_file() local
317 char path[SYSFS_PATH_MAX]; in sysfs_cpuidle_read_file() local
/tools/lib/subcmd/
Dexec-cmd.c31 static int is_absolute_path(const char *path) in is_absolute_path()
55 static const char *make_nonrelative_path(const char *path) in make_nonrelative_path()
72 char *system_path(const char *path) in system_path()
128 static void add_path(char **out, const char *path) in add_path()
/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/perf/util/
Dtrace-event-info.c90 char *path = get_events_file("header_page"); in record_header_files() local
226 char *path; in record_ftrace_files() local
257 char *path; in record_event_files() local
337 char *path; in record_ftrace_printk() local
365 char *path; in record_saved_cmdline() local
406 struct tracepoint_path path, *ppath = &path; in get_tracepoints_path() local
Dutil.c91 int mkdir_p(char *path, mode_t mode) in mkdir_p()
148 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat()
203 static int rm_rf_kcore_dir(const char *path) in rm_rf_kcore_dir()
218 int rm_rf_perf_data(const char *path) in rm_rf_perf_data()
231 int rm_rf(const char *path) in rm_rf()
Dpmu.c58 char path[PATH_MAX]; in perf_pmu__format_parse() local
88 char path[PATH_MAX]; in pmu_format() local
149 char path[PATH_MAX]; in perf_pmu__parse_scale() local
177 char path[PATH_MAX]; in perf_pmu__parse_unit() local
208 char path[PATH_MAX]; in perf_pmu__parse_per_pkg() local
226 char path[PATH_MAX]; in perf_pmu__parse_snapshot() local
444 char path[PATH_MAX]; in pmu_aliases_parse() local
480 char path[PATH_MAX]; in pmu_aliases() local
529 char path[PATH_MAX]; in pmu_type() local
557 char path[PATH_MAX]; in pmu_read_sysfs() local
[all …]
Dpath.c37 static char *cleanup_path(char *path) in cleanup_path()
86 char path[PATH_MAX]; in is_directory() local
/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/bootconfig/
Dmain.c150 static int load_xbc_file(const char *path, char **buf) in load_xbc_file()
280 static int show_xbc(const char *path, bool list) in show_xbc()
327 static int delete_xbc(const char *path) in delete_xbc()
359 static int apply_xbc(const char *path, const char *xbc_path) in apply_xbc()
486 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/bpf/bpftool/
Dcommon.c102 static bool is_bpffs(char *path) in is_bpffs()
165 int open_obj_pinned(const char *path, bool quiet) in open_obj_pinned()
193 int open_obj_pinned_any(const char *path, enum bpf_obj_type exp_type) in open_obj_pinned_any()
303 char path[PATH_MAX]; in get_fd_type() local
331 char path[PATH_MAX]; in get_fdinfo() local
457 char *path = mntent->mnt_dir; in build_pinned_obj_table() local
520 static int read_sysfs_hex_int(char *path) in read_sysfs_hex_int()
762 char *path; in prog_parse_fds() local
899 char *path; in map_parse_fds() local
/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/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/testing/selftests/powerpc/
Dutils.c144 char path[PATH_MAX] = "/sys/"; in read_sysfs_file() local
165 char path[PATH_MAX]; in read_debugfs_file() local
187 char path[PATH_MAX]; in write_debugfs_file() local
/tools/testing/selftests/cgroup/
Dcgroup_util.c20 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text()
39 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text()
90 char path[PATH_MAX]; in cg_read() local
180 char path[PATH_MAX]; in cg_write() local
513 char path[PATH_MAX]; in set_oom_adj_score() local
534 char path[PATH_MAX]; in proc_read_text() local
/tools/thermal/tmon/
Dsysfs.c33 int sysfs_set_ulong(char *path, char *filename, unsigned long val) in sysfs_set_ulong()
57 static int sysfs_get_ulong(char *path, char *filename, unsigned long *p_ulong) in sysfs_get_ulong()
76 static int sysfs_get_string(char *path, char *filename, char *str) in sysfs_get_string()
96 static int probe_cdev(struct cdev_info *cdi, char *path) in probe_cdev()

123456