Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c45 static void stdio_hijack_init(char **log_buf, size_t *log_cnt) in stdio_hijack_init() argument
56 stdout = open_memstream(log_buf, log_cnt); in stdio_hijack_init()
72 static void stdio_hijack(char **log_buf, size_t *log_cnt) in stdio_hijack() argument
83 stdio_hijack_init(log_buf, log_cnt); in stdio_hijack()
278 static void print_test_log(char *log_buf, size_t log_cnt) in print_test_log() argument
280 log_buf[log_cnt] = '\0'; in print_test_log()
282 if (log_buf[log_cnt - 1] != '\n') in print_test_log()
304 static void jsonw_write_log_message(json_writer_t *w, char *log_buf, size_t log_cnt) in jsonw_write_log_message() argument
309 if (log_cnt) { in jsonw_write_log_message()
341 if (test_state->log_cnt && print_test) in dump_test_log()
[all …]
H A Dtest_progs.h72 size_t log_cnt; member
93 size_t log_cnt; member