Home
last modified time | relevance | path

Searched refs:filepart_length (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h210 size_t filepart_length; in read_full_cgroup_path() local
216 filepart_length = in read_full_cgroup_path()
223 if (bpf_cmp_likely(filepart_length, <=, MAX_PATH)) { in read_full_cgroup_path()
224 payload += filepart_length; in read_full_cgroup_path()
479 size_t filepart_length; in read_absolute_file_path_from_dentry() local
486 filepart_length = in read_absolute_file_path_from_dentry()
489 bpf_nop_mov(filepart_length); in read_absolute_file_path_from_dentry()
490 if (bpf_cmp_unlikely(filepart_length, >, MAX_PATH)) in read_absolute_file_path_from_dentry()
492 payload += filepart_length; in read_absolute_file_path_from_dentry()
493 length += filepart_length; in read_absolute_file_path_from_dentry()
/linux/tools/testing/selftests/bpf/
H A DREADME.rst155 filepart_length = bpf_probe_read_str(payload, ...);
156 if (filepart_length <= MAX_PATH) {
157 barrier_var(filepart_length); // workaround
158 payload += filepart_length;