Searched refs:log_cnt (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 27 static void stdio_hijack_init(char **log_buf, size_t *log_cnt) in stdio_hijack_init() argument 38 stdout = open_memstream(log_buf, log_cnt); in stdio_hijack_init() 54 static void stdio_hijack(char **log_buf, size_t *log_cnt) in stdio_hijack() argument 65 stdio_hijack_init(log_buf, log_cnt); in stdio_hijack() 246 static void print_test_log(char *log_buf, size_t log_cnt) in print_test_log() argument 248 log_buf[log_cnt] = '\0'; in print_test_log() 250 if (log_buf[log_cnt - 1] != '\n') in print_test_log() 272 static void jsonw_write_log_message(json_writer_t *w, char *log_buf, size_t log_cnt) in jsonw_write_log_message() argument 277 if (log_cnt) { in jsonw_write_log_message() 309 if (test_state->log_cnt in dump_test_log() 1124 dispatch_thread_read_log(int sock_fd, char **log_buf, size_t *log_cnt) dispatch_thread_read_log() argument 1437 worker_main_send_log(int sock, char *log_buf, size_t log_cnt) worker_main_send_log() argument [all...] |
H A D | test_progs.h | 72 size_t log_cnt; member 92 size_t log_cnt; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 77 fflush(stdout); /* exports env.log_buf & env.log_cnt */ in dump_test_log() 80 if (env.log_cnt) { in dump_test_log() 81 env.log_buf[env.log_cnt] = '\0'; in dump_test_log() 83 if (env.log_buf[env.log_cnt - 1] != '\n') in dump_test_log() 570 stdout = open_memstream(&env.log_buf, &env.log_cnt); in stdio_hijack() 591 env.log_cnt = 0; in stdio_restore()
|
H A D | test_progs.h | 75 size_t log_cnt; member
|
Completed in 4 milliseconds