D | test_verifier_log.c | 48 static int load(char *log, size_t log_len, int log_level) in load() argument 57 attr.log_buf = ptr_to_u64(log); in load() 88 static void test_log_good(char *log, size_t buf_len, size_t log_len, in test_log_good() argument 94 memset(log, 1, buf_len); in test_log_good() 96 ret = load(log, log_len, 1); in test_log_good() 99 len = strnlen(log, buf_len); in test_log_good() 110 if (strchr(log, 1)) { in test_log_good() 115 check_ones(log + len + 1, buf_len - len - 1, in test_log_good() 118 if (memcmp(full_log, log, LOG_SIZE)) { in test_log_good() 124 static void test_log_bad(char *log, size_t log_len, int log_level) in test_log_bad() argument [all …]
|