Searched refs:MAX_PATH (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/tools/tracing/rtla/src/ |
D | utils.c | 269 char buffer[MAX_PATH]; in procfs_is_workload_pid() 288 snprintf(buffer, MAX_PATH, "/proc/%s/comm", proc_entry->d_name); in procfs_is_workload_pid() 293 memset(buffer, 0, MAX_PATH); in procfs_is_workload_pid() 294 retval = read(comm_fd, buffer, MAX_PATH); in procfs_is_workload_pid() 325 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_sched_attr() 327 MAX_PATH, comm_prefix); in set_comm_sched_attr() 533 char mount_point[MAX_PATH+1]; in find_mount() 542 while (fscanf(fp, "%*s %" STR(MAX_PATH) "s %99s %*s %*d %*d\n", mount_point, type) == 2) { in find_mount() 573 char path[MAX_PATH], *start; in get_self_cgroup() 576 snprintf(path, MAX_PATH, "/proc/%d/cgroup", getpid()); in get_self_cgroup() [all …]
|
D | utils.h | 11 #define MAX_PATH 1024 macro
|
/linux-6.6.21/tools/verification/rv/src/ |
D | in_kernel.c | 34 char path[MAX_PATH]; in __ikm_read_enable() 38 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in __ikm_read_enable() 74 char path[MAX_PATH]; in ikm_write_enable() 79 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in ikm_write_enable() 117 char path[MAX_PATH]; in ikm_read_desc() 120 snprintf(path, MAX_PATH, "rv/monitors/%s/desc", monitor_name); in ikm_read_desc() 170 char path[MAX_PATH]; in ikm_write_reactor() 173 snprintf(path, MAX_PATH, "rv/monitors/%s/reactors", monitor_name); in ikm_write_reactor() 188 char path[MAX_PATH]; in ikm_read_reactor() 191 snprintf(path, MAX_PATH, "rv/monitors/%s/reactors", monitor_name); in ikm_read_reactor() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | profiler.h | 7 #define MAX_PATH 256 macro 14 #define MAX_FILEPATH_LENGTH (MAX_PATH_DEPTH * MAX_PATH) 20 (MAX_PATH * 2 + (MAX_PATH * MAX_CGROUPS_PATH_DEPTH)) 25 (MAX_METADATA_PAYLOAD_LEN + MAX_CGROUP_PAYLOAD_LEN + CTL_MAXNAME + MAX_PATH)
|
D | profiler.inc.h | 218 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_full_cgroup_path() 224 if (filepart_length <= MAX_PATH) { in read_full_cgroup_path() 306 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info() 309 if (cgroup_root_length <= MAX_PATH) { in populate_cgroup_info() 316 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info() 319 if (cgroup_proc_length <= MAX_PATH) { in populate_cgroup_info() 495 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_absolute_file_path_from_dentry() 498 if (filepart_length > MAX_PATH) in read_absolute_file_path_from_dentry() 590 bpf_probe_read_kernel_str(payload, MAX_PATH, in BPF_KPROBE() 594 if (sysctl_path_length <= MAX_PATH) { in BPF_KPROBE()
|
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | iostat.c | 31 #ifndef MAX_PATH 32 #define MAX_PATH 1024 macro 148 char path[MAX_PATH]; in iio_mapping() 156 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping() 183 char path[MAX_PATH]; in iio_pmu_count()
|
/linux-6.6.21/tools/verification/rv/include/ |
D | utils.h | 3 #define MAX_PATH 1024 macro
|
/linux-6.6.21/tools/mm/ |
D | page-types.c | 35 #ifndef MAX_PATH 36 # define MAX_PATH 256 macro 531 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd() 540 snprintf(buf, MAX_PATH, "%s/hwpoison/corrupt-pfn", in prepare_hwpoison_fd() 546 snprintf(buf, MAX_PATH, "%s/hwpoison/unpoison-pfn", in prepare_hwpoison_fd()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | README.rst | 126 if (filepart_length <= MAX_PATH) {
|
/linux-6.6.21/Documentation/trace/ |
D | ftrace.rst | 2427 #define MAX_PATH 256 2431 static char tracefs[MAX_PATH+1]; 2445 STR(MAX_PATH) 2466 static char trace_file[MAX_PATH+1]; 2467 snprintf(trace_file, MAX_PATH, "%s/%s", find_tracefs(), file_name);
|