Searched refs:LOG_SIZE (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_verifier_log.c | 16 #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 …]
|
/Linux-v5.10/drivers/platform/chrome/ |
D | cros_ec_debugfs.c | 23 #define LOG_SIZE (1 << LOG_SHIFT) macro 82 buf_space = CIRC_SPACE(cb->head, cb->tail, LOG_SIZE); in cros_ec_console_log_work() 105 cb->head = CIRC_ADD(cb->head, LOG_SIZE, 1); in cros_ec_console_log_work() 136 while (!CIRC_CNT(cb->head, cb->tail, LOG_SIZE)) { in cros_ec_console_log_read() 145 CIRC_CNT(cb->head, cb->tail, LOG_SIZE)); in cros_ec_console_log_read() 155 ret = min_t(size_t, CIRC_CNT_TO_END(cb->head, cb->tail, LOG_SIZE), in cros_ec_console_log_read() 163 cb->tail = CIRC_ADD(cb->tail, LOG_SIZE, ret); in cros_ec_console_log_read() 181 LOG_SIZE)) in cros_ec_console_log_poll() 358 buf = devm_kzalloc(ec->dev, LOG_SIZE, GFP_KERNEL); in cros_ec_create_console_log()
|
/Linux-v5.10/drivers/isdn/hardware/mISDN/ |
D | netjet.c | 61 #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()
|
D | avmfritz.c | 94 #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()
|