Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
A Dtest_varlen.c9 #define MAX_LEN 256 macro
11 char buf_in1[MAX_LEN] = {};
12 char buf_in2[MAX_LEN] = {};
21 char payload1[MAX_LEN + MAX_LEN] = {};
28 char payload2[MAX_LEN + MAX_LEN] = { 1 };
33 char payload3[MAX_LEN + MAX_LEN] = { 1 };
38 char payload4[MAX_LEN + MAX_LEN] = { 1 };
53 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned()
59 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned()
110 if (len <= MAX_LEN) { in handler32_unsigned()
[all …]
/tools/perf/tests/
A Dutil.c20 #define MAX_LEN 512 macro
25 u8 data[MAX_LEN]; in test_sha1()
26 size_t digests_size = (MAX_LEN + 1) * SHA1_DIGEST_SIZE; in test_sha1()
43 for (i = 0; i < MAX_LEN; i++) in test_sha1()
47 for (i = 0; i <= MAX_LEN; i++) in test_sha1()
/tools/testing/selftests/powerpc/copyloops/
A Dexc_validate.c77 #define MAX_LEN 16 macro
103 q = p + page_size - MAX_LEN; in test_copy_exception()
105 for (src = 0; src < MAX_LEN; src++) { in test_copy_exception()
106 for (dst = 0; dst < MAX_LEN; dst++) { in test_copy_exception()
107 for (len = 0; len < MAX_LEN+1; len++) { in test_copy_exception()
A Dvalidate.c9 #define MAX_LEN 8192 macro
12 #define BUFLEN (MAX_LEN+MAX_OFFSET+2*MIN_REDZONE)
85 for (len = 1; len < MAX_LEN; len++) { in test_copy_loop()

Completed in 7 milliseconds