Home
last modified time | relevance | path

Searched refs:MAX_PATH (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/tools/verification/rv/src/
A Din_kernel.c34 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.3-rc2/tools/testing/selftests/bpf/progs/
A Dprofiler.h7 #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)
A Dprofiler.inc.h219 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_full_cgroup_path()
225 if (filepart_length <= MAX_PATH) { in read_full_cgroup_path()
307 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info()
310 if (cgroup_root_length <= MAX_PATH) { in populate_cgroup_info()
317 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info()
320 if (cgroup_proc_length <= MAX_PATH) { in populate_cgroup_info()
496 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_absolute_file_path_from_dentry()
499 if (filepart_length > MAX_PATH) in read_absolute_file_path_from_dentry()
591 bpf_probe_read_kernel_str(payload, MAX_PATH, in BPF_KPROBE()
595 if (sysctl_path_length <= MAX_PATH) { in BPF_KPROBE()
/linux-6.3-rc2/tools/tracing/rtla/src/
A Dutils.c280 char buffer[MAX_PATH]; in procfs_is_workload_pid()
299 snprintf(buffer, MAX_PATH, "/proc/%s/comm", proc_entry->d_name); in procfs_is_workload_pid()
304 memset(buffer, 0, MAX_PATH); in procfs_is_workload_pid()
305 retval = read(comm_fd, buffer, MAX_PATH); in procfs_is_workload_pid()
336 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_sched_attr()
338 MAX_PATH, comm_prefix); in set_comm_sched_attr()
A Dutils.h9 #define MAX_PATH 1024 macro
/linux-6.3-rc2/tools/perf/arch/x86/util/
A Diostat.c30 #ifndef MAX_PATH
31 #define MAX_PATH 1024 macro
147 char path[MAX_PATH]; in iio_mapping()
155 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
182 char path[MAX_PATH]; in iio_pmu_count()
/linux-6.3-rc2/tools/verification/rv/include/
A Dutils.h3 #define MAX_PATH 1024 macro
/linux-6.3-rc2/tools/mm/
A Dpage-types.c35 #ifndef MAX_PATH
36 # define MAX_PATH 256 macro
535 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd()
544 snprintf(buf, MAX_PATH, "%s/hwpoison/corrupt-pfn", in prepare_hwpoison_fd()
550 snprintf(buf, MAX_PATH, "%s/hwpoison/unpoison-pfn", in prepare_hwpoison_fd()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A DREADME.rst126 if (filepart_length <= MAX_PATH) {
/linux-6.3-rc2/Documentation/trace/
A Dftrace.rst2377 #define MAX_PATH 256
2381 static char tracefs[MAX_PATH+1];
2395 STR(MAX_PATH)
2416 static char trace_file[MAX_PATH+1];
2417 snprintf(trace_file, MAX_PATH, "%s/%s", find_tracefs(), file_name);

Completed in 29 milliseconds