/tools/testing/selftests/bpf/progs/ |
A D | cgrp_kfunc_failure.c | 33 int BPF_PROG(cgrp_kfunc_acquire_untrusted, struct cgroup *cgrp, const char *path) in BPF_PROG() 52 int BPF_PROG(cgrp_kfunc_acquire_no_null_check, struct cgroup *cgrp, const char *path) in BPF_PROG() 68 int BPF_PROG(cgrp_kfunc_acquire_fp, struct cgroup *cgrp, const char *path) in BPF_PROG() 110 int BPF_PROG(cgrp_kfunc_acquire_null, struct cgroup *cgrp, const char *path) in BPF_PROG() 124 int BPF_PROG(cgrp_kfunc_acquire_unreleased, struct cgroup *cgrp, const char *path) in BPF_PROG() 138 int BPF_PROG(cgrp_kfunc_xchg_unreleased, struct cgroup *cgrp, const char *path) in BPF_PROG() 158 int BPF_PROG(cgrp_kfunc_rcu_get_release, struct cgroup *cgrp, const char *path) in BPF_PROG() 179 int BPF_PROG(cgrp_kfunc_release_untrusted, struct cgroup *cgrp, const char *path) in BPF_PROG() 195 int BPF_PROG(cgrp_kfunc_release_fp, struct cgroup *cgrp, const char *path) in BPF_PROG() 207 int BPF_PROG(cgrp_kfunc_release_null, struct cgroup *cgrp, const char *path) in BPF_PROG() [all …]
|
A D | cgrp_kfunc_success.c | 33 int BPF_PROG(test_cgrp_acquire_release_argument, struct cgroup *cgrp, const char *path) in BPF_PROG() 50 int BPF_PROG(test_cgrp_acquire_leave_in_map, struct cgroup *cgrp, const char *path) in BPF_PROG() 65 int BPF_PROG(test_cgrp_xchg_release, struct cgroup *cgrp, const char *path) in BPF_PROG() 108 int BPF_PROG(test_cgrp_get_release, struct cgroup *cgrp, const char *path) in BPF_PROG() 139 int BPF_PROG(test_cgrp_get_ancestors, struct cgroup *cgrp, const char *path) in BPF_PROG() 184 int BPF_PROG(test_cgrp_from_id, struct cgroup *cgrp, const char *path) in BPF_PROG()
|
/tools/testing/selftests/mm/ |
A D | thp_settings.c | 46 int read_file(const char *path, char *buf, size_t buflen) in read_file() 90 unsigned long read_num(const char *path) in read_num() 102 void write_num(const char *path, unsigned long num) in write_num() 115 char path[PATH_MAX]; in thp_read_string() local 160 char path[PATH_MAX]; in thp_write_string() local 177 char path[PATH_MAX]; in thp_read_num() local 190 char path[PATH_MAX]; in thp_write_num() local 205 char path[PATH_MAX]; in thp_read_settings() local 257 char path[PATH_MAX]; in thp_write_settings() local 338 void thp_set_read_ahead_path(char *path) in thp_set_read_ahead_path() [all …]
|
/tools/include/nolibc/sys/ |
A D | stat.h | 26 int sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in sys_statx() 36 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() 43 int fstatat(int fd, const char *path, struct stat *buf, int flag) in fstatat() 77 int stat(const char *path, struct stat *buf) in stat() 89 int lstat(const char *path, struct stat *buf) in lstat()
|
/tools/power/cpupower/lib/ |
A D | cpupower.c | 18 int is_valid_path(const char *path) in is_valid_path() 25 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen) in cpupower_read_sysfs() 46 unsigned int cpupower_write_sysfs(const char *path, char *buf, size_t buflen) in cpupower_write_sysfs() 77 char path[SYSFS_PATH_MAX]; in cpupower_is_cpu_online() local 122 char path[SYSFS_PATH_MAX]; in sysfs_topology_read_file() local 171 char path[SYSFS_PATH_MAX]; in get_cpu_topology() local
|
/tools/testing/selftests/sched_ext/ |
A D | util.c | 14 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() 33 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 47 long file_read_long(const char *path) in file_read_long() 58 int file_write_long(const char *path, long val) in file_write_long()
|
/tools/include/nolibc/ |
A D | fcntl.h | 22 int sys_openat(int dirfd, const char *path, int flags, mode_t mode) in sys_openat() 28 int openat(int dirfd, const char *path, int flags, ...) in openat() 48 int sys_open(const char *path, int flags, mode_t mode) in sys_open() 54 int open(const char *path, int flags, ...) in open()
|
A D | sys.h | 124 int sys_chdir(const char *path) in sys_chdir() 130 int chdir(const char *path) in chdir() 153 int chmod(const char *path, mode_t mode) in chmod() 187 int sys_chroot(const char *path) in sys_chroot() 193 int chroot(const char *path) in chroot() 651 int mkdir(const char *path, mode_t mode) in mkdir() 661 int sys_rmdir(const char *path) in sys_rmdir() 673 int rmdir(const char *path) in rmdir() 919 int umount2(const char *path, int flags) in umount2() 930 int sys_unlink(const char *path) in sys_unlink() [all …]
|
A D | unistd.h | 34 int sys_faccessat(int fd, const char *path, int amode, int flag) in sys_faccessat() 40 int faccessat(int fd, const char *path, int amode, int flag) in faccessat() 46 int access(const char *path, int amode) in access()
|
/tools/perf/tests/ |
A 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
|
A D | topology.c | 17 static int get_temp(char *path) in get_temp() 33 static int session_write_header(char *path) in session_write_header() 63 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology() 204 char path[PATH_MAX]; in test__session_topology() local
|
/tools/testing/selftests/memfd/ |
A 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/openat2/ |
A D | helpers.c | 22 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/power/cpupower/utils/helpers/ |
A D | misc.c | 54 char path[SYSFS_PATH_MAX]; in cpupower_intel_get_perf_bias() local 75 char path[SYSFS_PATH_MAX]; in cpupower_intel_set_perf_bias() local 92 char path[SYSFS_PATH_MAX]; in cpupower_set_epp() local 111 char path[SYSFS_PATH_MAX]; in cpupower_set_amd_pstate_mode() local 129 char path[SYSFS_PATH_MAX]; in cpupower_set_turbo_boost() local
|
/tools/perf/util/ |
A 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 338 char *path; in record_ftrace_printk() local 366 char *path; in record_saved_cmdline() local 406 struct tracepoint_path *path = NULL; in tracepoint_id_to_path() local 472 struct tracepoint_path *path = tracepoint_id_to_path(config); in tracepoint_id_to_name() local 484 struct tracepoint_path *path = zalloc(sizeof(*path)); in tracepoint_name_to_path() local 507 struct tracepoint_path path, *ppath = &path; in get_tracepoints_path() local
|
A D | util.c | 100 int mkdir_p(char *path, mode_t mode) in mkdir_p() 157 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat() 212 static int rm_rf_a_kcore_dir(const char *path, const char *name) in rm_rf_a_kcore_dir() 238 static int rm_rf_kcore_dir(const char *path) in rm_rf_kcore_dir() 260 int rm_rf_perf_data(const char *path) in rm_rf_perf_data() 273 int rm_rf(const char *path) in rm_rf() 489 char path[PATH_MAX]; in scandirat() local
|
A D | path.c | 13 static char *cleanup_path(char *path) in cleanup_path() 61 char path[PATH_MAX]; in is_directory() local 71 bool is_directory_at(int dir_fd, const char *path) in is_directory_at()
|
/tools/testing/selftests/efivarfs/ |
A 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/lib/api/fs/ |
A D | fs.c | 94 char *path; member 158 char path[PATH_MAX + 1]; in fs__read_mounts() local 387 char path[PATH_MAX]; in procfs__read_str() local 401 char path[PATH_MAX]; in sysfs__read_ull_base() local 424 char path[PATH_MAX]; in sysfs__read_int() local 437 char path[PATH_MAX]; in sysfs__read_str() local 453 char path[PATH_MAX]; in sysfs__read_bool() local 485 char path[PATH_MAX]; in sysctl__read_int() local 498 char path[PATH_MAX]; in sysfs__write_int() local
|
/tools/testing/selftests/ia64/ |
A 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/testing/selftests/powerpc/ |
A D | utils.c | 31 int read_file(const char *path, char *buf, size_t count, size_t *len) in read_file() 68 int read_file_alloc(const char *path, char **buf, size_t *len) in read_file_alloc() 126 int write_file(const char *path, const char *buf, size_t count) in write_file() 170 char path[PATH_MAX] = "/sys/kernel/debug/"; in read_debugfs_file() local 179 char path[PATH_MAX] = "/sys/kernel/debug/"; in write_debugfs_file() local 306 int read_long(const char *path, long *result, int base) in read_long() 318 int read_ulong(const char *path, unsigned long *result, int base) in read_ulong() 330 int write_long(const char *path, long result, int base) in write_long() 355 int write_ulong(const char *path, unsigned long result, int base) in write_ulong() 495 char path[PATH_MAX] = "/sys/"; in read_sysfs_file() local
|
/tools/testing/selftests/bpf/prog_tests/ |
A D | cgroup_dev.c | 13 static void test_mknod(const char *path, mode_t mode, int dev_major, in test_mknod() 27 static void test_read(const char *path, char *buf, int buf_size, in test_read() 52 static void test_write(const char *path, char *buf, int buf_size, in test_write()
|
A D | cgroup_hierarchical_stats.c | 51 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/lib/subcmd/ |
A D | exec-cmd.c | 34 static int is_absolute_path(const char *path) in is_absolute_path() 57 static const char *make_nonrelative_path(char *buf, size_t sz, const char *path) in make_nonrelative_path() 77 char *system_path(const char *path) in system_path() 133 static void add_path(char **out, const char *path) in add_path()
|
/tools/perf/arch/ |
A D | common.c | 107 char *path, *tmp = NULL; in lookup_path() local 145 const char *name, char **path) in perf_env__lookup_binutils_path() 221 int perf_env__lookup_objdump(struct perf_env *env, char **path) in perf_env__lookup_objdump()
|