Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_verifier_log.c14 #define LOG_SIZE (1 << 20) macro
116 if (memcmp(full_log, log, LOG_SIZE)) { in test_log_good()
129 check_ones(log, LOG_SIZE, in test_log_bad()
135 char full_log[LOG_SIZE]; in main()
136 char log[LOG_SIZE]; in main()
140 memset(log, 1, LOG_SIZE); in main()
147 test_log_bad(log, LOG_SIZE, 0); in main()
153 test_log_bad(NULL, LOG_SIZE, 1); in main()
157 test_log_good(full_log, LOG_SIZE, LOG_SIZE, 0, EACCES, full_log); in main()
162 test_log_good(log, LOG_SIZE, want_len + 2, want_len, EACCES, full_log); in main()
[all …]
/linux-5.19.10/drivers/platform/chrome/
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()
/linux-5.19.10/drivers/isdn/hardware/mISDN/
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()
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()