/tools/perf/tests/ |
D | topology.c | 16 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
|
D | kmod-path.c | 10 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
|
D | builtin-test.c | 428 const char *path, const char *name) in shell_test__description() 451 static const char *shell_tests__dir(char *path, size_t size) in shell_tests__dir() 478 const char *path = shell_tests__dir(path_dir, sizeof(path_dir)); in shell_tests__max_desc_width() local 641 const char *path = shell_tests__dir(path_dir, sizeof(path_dir)); in perf_test__list_shell() local
|
/tools/testing/selftests/memfd/ |
D | fuse_mnt.c | 27 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/ |
D | cgroup_helpers.c | 32 #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()
|
/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 13 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/testing/selftests/ia64/ |
D | aliasing-test.c | 24 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/ |
D | exec-cmd.c | 31 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/power/cpupower/lib/ |
D | cpupower.c | 17 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
|
D | cpuidle.c | 33 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/perf/util/ |
D | trace-event-info.c | 90 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
|
D | pmu.c | 55 char path[PATH_MAX]; in perf_pmu__format_parse() local 86 char path[PATH_MAX]; in pmu_format() local 147 char path[PATH_MAX]; in perf_pmu__parse_scale() local 175 char path[PATH_MAX]; in perf_pmu__parse_unit() local 206 char path[PATH_MAX]; in perf_pmu__parse_per_pkg() local 224 char path[PATH_MAX]; in perf_pmu__parse_snapshot() local 437 char path[PATH_MAX]; in pmu_aliases_parse() local 474 char path[PATH_MAX]; in pmu_aliases() local 524 char path[PATH_MAX]; in pmu_type() local 552 char path[PATH_MAX]; in pmu_read_sysfs() local [all …]
|
D | util.c | 73 int mkdir_p(char *path, mode_t mode) in mkdir_p() 130 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat() 185 int rm_rf_perf_data(const char *path) in rm_rf_perf_data() 196 int rm_rf(const char *path) in rm_rf()
|
D | path.c | 37 static char *cleanup_path(char *path) in cleanup_path() 86 char path[PATH_MAX]; in is_directory() local
|
D | cpumap.c | 100 char path[PATH_MAX]; in cpu__get_topology_int() local 254 static int get_max_num(char *path, int *max) in get_max_num() 289 char path[PATH_MAX]; in set_max_cpu_num() local 329 char path[PATH_MAX]; in set_max_node_num() local 413 char path[PATH_MAX]; in cpu__setup_cpunode_map() local
|
D | data.h | 14 char *path; member 20 const char *path; member
|
/tools/perf/arch/ |
D | common.c | 95 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/bpf/bpftool/ |
D | common.c | 63 static bool is_bpffs(char *path) in is_bpffs() 126 int open_obj_pinned(char *path, bool quiet) in open_obj_pinned() 143 int open_obj_pinned_any(char *path, enum bpf_obj_type exp_type) in open_obj_pinned_any() 275 char path[PATH_MAX]; in get_fd_type() local 301 char path[PATH_MAX]; in get_fdinfo() local 379 char *path[] = { mntent->mnt_dir, NULL }; in build_pinned_obj_table() local 479 static int read_sysfs_hex_int(char *path) in read_sysfs_hex_int()
|
/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 18 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/testing/selftests/exec/ |
D | execveat.c | 28 static int execveat_(int fd, const char *path, char **argv, char **envp, in execveat_() 39 #define check_execveat_fail(fd, path, flags, errno) \ argument 41 static int _check_execveat_fail(int fd, const char *path, int flags, in _check_execveat_fail() 65 static int check_execveat_invoked_rc(int fd, const char *path, int flags, in check_execveat_invoked_rc() 112 static int check_execveat(int fd, const char *path, int flags) in check_execveat()
|
/tools/lib/api/fs/ |
D | fs.c | 91 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/ |
D | event-plugin.c | 272 load_plugin(struct tep_handle *tep, const char *path, in load_plugin() 328 const char *path, in load_plugins_dir() 371 const char *path, in load_plugins() 377 char *path; in load_plugins() local
|
/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 19 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() 38 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 89 char path[PATH_MAX]; in cg_read() local 163 char path[PATH_MAX]; in cg_write() local 394 char path[PATH_MAX]; in set_oom_adj_score() local 415 char path[PATH_MAX]; in proc_read_text() local
|
/tools/thermal/tmon/ |
D | sysfs.c | 33 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()
|
/tools/cgroup/ |
D | iocost_coef_gen.py | 60 def dir_to_dev(path): argument 73 def create_testfile(path, size): argument
|