Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_progs.c26 static void stdio_hijack_init(char **log_buf, size_t *log_cnt) in stdio_hijack_init() argument
37 stdout = open_memstream(log_buf, log_cnt); in stdio_hijack_init()
53 static void stdio_hijack(char **log_buf, size_t *log_cnt) in stdio_hijack() argument
64 stdio_hijack_init(log_buf, log_cnt); in stdio_hijack()
225 static void print_test_log(char *log_buf, size_t log_cnt) in print_test_log() argument
227 log_buf[log_cnt] = '\0'; in print_test_log()
229 if (log_buf[log_cnt - 1] != '\n') in print_test_log()
287 if (test_state->log_cnt && print_test) in dump_test_log()
288 print_test_log(test_state->log_buf, test_state->log_cnt); in dump_test_log()
299 if (subtest_state->log_cnt && print_subtest) { in dump_test_log()
[all …]
Dtest_progs.h69 size_t log_cnt; member
89 size_t log_cnt; member