Home
last modified time | relevance | path

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

1234

/tools/perf/tests/
Dtopology.c13 static int get_temp(char *path) in get_temp()
29 static int session_write_header(char *path) in session_write_header()
56 static int check_cpu_topology(char *path, struct cpu_map *map) in check_cpu_topology()
89 char path[PATH_MAX]; in test_session_topology() local
Dkmod-path.c7 static int test(const char *path, bool alloc_name, bool alloc_ext, in test()
38 static int test_is_kernel_module(const char *path, int cpumode, bool expect) in test_is_kernel_module()
47 #define T(path, an, ae, k, c, n, e) \ argument
50 #define M(path, c, e) \ argument
/tools/testing/selftests/memfd/
Dfuse_mnt.c26 static int memfd_getattr(const char *path, struct stat *st) in memfd_getattr()
44 static int memfd_readdir(const char *path, in memfd_readdir()
60 static int memfd_open(const char *path, struct fuse_file_info *fi) in memfd_open()
74 static int memfd_read(const char *path, in memfd_read()
/tools/testing/selftests/efivarfs/
Dopen-unlink.c12 static int set_immutable(const char *path, int immutable) in set_immutable()
43 static int get_immutable(const char *path) in get_immutable()
69 const char *path; in main() local
Dcreate-read.c13 const char *path; in main() local
/tools/testing/selftests/ia64/
Daliasing-test.c27 static int map_mem(char *path, off_t offset, size_t length, int touch) in map_mem()
65 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree()
122 static int read_rom(char *path) in read_rom()
150 static int scan_rom(char *path, char *file) in scan_rom()
/tools/power/cpupower/lib/
Dcpupower.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 cpupower_is_cpu_online() local
94 char path[SYSFS_PATH_MAX]; in sysfs_topology_read_file() local
Dcpuidle.c34 char path[SYSFS_PATH_MAX]; in cpuidle_state_file_exists() local
57 char path[SYSFS_PATH_MAX]; in cpuidle_state_read_file() local
92 char path[SYSFS_PATH_MAX]; in cpuidle_state_write_file() local
318 char path[SYSFS_PATH_MAX]; in sysfs_cpuidle_read_file() local
/tools/lib/subcmd/
Dexec-cmd.c30 static int is_absolute_path(const char *path) in is_absolute_path()
54 static const char *make_nonrelative_path(const char *path) in make_nonrelative_path()
71 char *system_path(const char *path) in system_path()
127 static void add_path(char **out, const char *path) in add_path()
/tools/testing/selftests/exec/
Dexecveat.c27 static int execveat_(int fd, const char *path, char **argv, char **envp, in execveat_()
38 #define check_execveat_fail(fd, path, flags, errno) \ argument
40 static int _check_execveat_fail(int fd, const char *path, int flags, in _check_execveat_fail()
64 static int check_execveat_invoked_rc(int fd, const char *path, int flags, in check_execveat_invoked_rc()
111 static int check_execveat(int fd, const char *path, int flags) in check_execveat()
/tools/perf/util/
Dtrace-event-info.c107 char *path; in record_header_files() local
242 char *path; in record_ftrace_files() local
273 char *path; in record_event_files() local
357 char *path; in record_ftrace_printk() local
398 struct tracepoint_path path, *ppath = &path; in get_tracepoints_path() local
Dpmu.c48 char path[PATH_MAX]; in perf_pmu__format_parse() local
79 char path[PATH_MAX]; in pmu_format() local
103 char path[PATH_MAX]; in perf_pmu__parse_scale() local
162 char path[PATH_MAX]; in perf_pmu__parse_unit() local
193 char path[PATH_MAX]; in perf_pmu__parse_per_pkg() local
211 char path[PATH_MAX]; in perf_pmu__parse_snapshot() local
315 char path[PATH_MAX]; in pmu_aliases_parse() local
352 char path[PATH_MAX]; in pmu_aliases() local
397 char path[PATH_MAX]; in pmu_type() local
425 char path[PATH_MAX]; in pmu_read_sysfs() local
[all …]
Dcache.h23 static inline int is_absolute_path(const char *path) in is_absolute_path()
Dllvm-utils.c60 char *env, *path, *tmp = NULL; in search_program() local
335 dump_obj(const char *path, void *obj_buf, size_t size) in dump_obj()
370 int llvm__compile_bpf(const char *path, void **p_obj_buf, in llvm__compile_bpf()
Dpath.c29 static char *cleanup_path(char *path) in cleanup_path()
/tools/perf/arch/s390/util/
Dmachine.c10 char path[PATH_MAX]; in arch__fix_module_text_start() local
/tools/power/cpupower/utils/helpers/
Dsysfs.c19 unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen) in sysfs_read_file()
50 char path[SYSFS_PATH_MAX]; in sysfs_is_cpu_online() local
108 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_file_exists() local
128 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_read_file() local
163 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_write_file() local
388 char path[SYSFS_PATH_MAX]; in sysfs_cpuidle_read_file() local
/tools/lib/api/fs/
Dfs.c81 char path[PATH_MAX]; member
376 char path[PATH_MAX]; in procfs__read_str() local
389 char path[PATH_MAX]; in sysfs__read_ull() local
402 char path[PATH_MAX]; in sysfs__read_int() local
415 char path[PATH_MAX]; in sysfs__read_str() local
428 char path[PATH_MAX]; in sysctl__read_int() local
/tools/lib/traceevent/
Devent-plugin.c284 load_plugin(struct pevent *pevent, const char *path, in load_plugin()
343 const char *path, in load_plugins_dir()
386 const char *path, in load_plugins()
392 char *path; in load_plugins() local
/tools/perf/arch/
Dcommon.c82 char *path, *tmp = NULL; in lookup_path() local
150 const char *name, const char **path) in perf_env__lookup_binutils_path()
/tools/testing/selftests/powerpc/tm/
Dtm-exec.c29 static char *path; variable
/tools/thermal/tmon/
Dsysfs.c41 int sysfs_set_ulong(char *path, char *filename, unsigned long val) in sysfs_set_ulong()
65 static int sysfs_get_ulong(char *path, char *filename, unsigned long *p_ulong) in sysfs_get_ulong()
84 static int sysfs_get_string(char *path, char *filename, char *str) in sysfs_get_string()
104 static int probe_cdev(struct cdev_info *cdi, char *path) in probe_cdev()
/tools/usb/usbip/src/
Dusbip_detach.c48 char path[PATH_MAX+1]; in detach_port() local
/tools/usb/usbip/libsrc/
Dvhci_driver.c169 char path[PATH_MAX+1]; in read_record() local
306 const char *path; in usbip_vhci_attach_device2() local
348 const char *path; in usbip_vhci_detach_device() local
/tools/testing/selftests/vm/
Dmlock2.h34 char path[BUFSIZ]; in seek_to_smaps_entry() local

1234