Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A 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 …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/tpm_log_test/
H A Dta_entry.c12 #define LOG_SIZE 1024 macro
40 unsigned char buf[LOG_SIZE] = { 0 }; in test_with_right_parameters()
52 params[0].memref.size = LOG_SIZE; in test_with_right_parameters()
109 unsigned char buf[LOG_SIZE] = { 0 }; in test_short_buffer()
126 for (i = 0; i < LOG_SIZE; i++) { in test_short_buffer()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_ec_debugfs.c23 #define LOG_SIZE (1 << LOG_SHIFT) macro
83 buf_space = CIRC_SPACE(cb->head, cb->tail, LOG_SIZE); in cros_ec_console_log_work()
106 cb->head = CIRC_ADD(cb->head, LOG_SIZE, 1); in cros_ec_console_log_work()
137 while (!CIRC_CNT(cb->head, cb->tail, LOG_SIZE)) { in cros_ec_console_log_read()
146 CIRC_CNT(cb->head, cb->tail, LOG_SIZE)); in cros_ec_console_log_read()
156 ret = min_t(size_t, CIRC_CNT_TO_END(cb->head, cb->tail, LOG_SIZE), in cros_ec_console_log_read()
164 cb->tail = CIRC_ADD(cb->tail, LOG_SIZE, ret); in cros_ec_console_log_read()
182 LOG_SIZE)) in cros_ec_console_log_poll()
359 buf = devm_kzalloc(ec->dev, LOG_SIZE, GFP_KERNEL); in cros_ec_create_console_log()
/OK3568_Linux_fs/kernel/drivers/isdn/hardware/mISDN/
H A Dnetjet.c61 #define LOG_SIZE 64 macro
84 char log[LOG_SIZE];
413 snprintf(card->log, LOG_SIZE, in read_dma()
517 snprintf(card->log, LOG_SIZE, "B%1d-send %s %d ", in fill_hdlc_flag()
591 snprintf(card->log, LOG_SIZE, "B%1d-send %s %d ", in fill_dma()
H A Davmfritz.c94 #define LOG_SIZE 63 macro
131 char log[LOG_SIZE + 1];
429 snprintf(fc->log, LOG_SIZE, "B%1d-recv %s %d ", in hdlc_empty_fifo()
500 snprintf(fc->log, LOG_SIZE, "B%1d-send %s %d ", in hdlc_fill_fifo()