Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
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)
Dprofiler.inc.h219 bpf_probe_read_str(payload, MAX_PATH, BPF_CORE_READ(cgroup_node, name)); in read_full_cgroup_path()
224 if (filepart_length <= MAX_PATH) { in read_full_cgroup_path()
306 bpf_probe_read_str(payload, MAX_PATH, BPF_CORE_READ(root_kernfs, name)); in populate_cgroup_info()
308 if (cgroup_root_length <= MAX_PATH) { in populate_cgroup_info()
315 bpf_probe_read_str(payload, MAX_PATH, BPF_CORE_READ(proc_kernfs, name)); in populate_cgroup_info()
317 if (cgroup_proc_length <= MAX_PATH) { in populate_cgroup_info()
490 filepart_length = bpf_probe_read_str(payload, MAX_PATH, in read_absolute_file_path_from_dentry()
493 if (filepart_length > MAX_PATH) in read_absolute_file_path_from_dentry()
583 size_t sysctl_path_length = bpf_probe_read_str(payload, MAX_PATH, in BPF_KPROBE()
586 if (sysctl_path_length <= MAX_PATH) { in BPF_KPROBE()
/tools/vm/
Dpage-types.c35 #ifndef MAX_PATH
36 # define MAX_PATH 256 macro
529 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd()
538 snprintf(buf, MAX_PATH, "%s/hwpoison/corrupt-pfn", in prepare_hwpoison_fd()
544 snprintf(buf, MAX_PATH, "%s/hwpoison/unpoison-pfn", in prepare_hwpoison_fd()
/tools/testing/selftests/bpf/
DREADME.rst42 if (filepart_length <= MAX_PATH) {