Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier_log.c16 #define LOG_SIZE (1 << 20) macro
118 if (memcmp(full_log, log, LOG_SIZE)) { in test_log_good()
131 check_ones(log, LOG_SIZE, in test_log_bad()
137 char full_log[LOG_SIZE]; in main()
138 char log[LOG_SIZE]; in main()
142 memset(log, 1, LOG_SIZE); in main()
146 test_log_bad(log, LOG_SIZE, 0); in main()
152 test_log_bad(NULL, LOG_SIZE, 1); in main()
156 test_log_good(full_log, LOG_SIZE, LOG_SIZE, 0, EACCES, full_log); in main()
161 test_log_good(log, LOG_SIZE, want_len + 2, want_len, EACCES, full_log); in main()
[all …]
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog03.c33 #define LOG_SIZE (1024 * 1024) macro
98 attr->log_size = LOG_SIZE; in load_prog()
186 {&log, .size = LOG_SIZE},