Home
last modified time | relevance | path

Searched refs:MAX_LEN (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_varlen.c9 #define MAX_LEN 256 macro
11 char buf_in1[MAX_LEN] = {};
12 char buf_in2[MAX_LEN] = {};
21 char payload1[MAX_LEN + MAX_LEN] = {};
27 char payload2[MAX_LEN + MAX_LEN] = { 1 };
32 char payload3[MAX_LEN + MAX_LEN] = { 1 };
37 char payload4[MAX_LEN + MAX_LEN] = { 1 };
50 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned()
51 if (len <= MAX_LEN) { in handler64_unsigned()
56 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned()
[all …]
/Linux-v5.10/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c77 #define MAX_LEN 16 macro
103 q = p + page_size - MAX_LEN; in test_copy_exception()
105 for (src = 0; src < MAX_LEN; src++) { in test_copy_exception()
106 for (dst = 0; dst < MAX_LEN; dst++) { in test_copy_exception()
107 for (len = 0; len < MAX_LEN+1; len++) { in test_copy_exception()
Dvalidate.c9 #define MAX_LEN 8192 macro
12 #define BUFLEN (MAX_LEN+MAX_OFFSET+2*MIN_REDZONE)
85 for (len = 1; len < MAX_LEN; len++) { in test_copy_loop()
/Linux-v5.10/scripts/kconfig/lxdialog/
Dtextbox.c218 if (hscroll >= MAX_LEN) in dialog_textbox()
359 static char line[MAX_LEN + 1]; in get_line()
366 } else if (i < MAX_LEN) in get_line()
370 if (i == MAX_LEN) in get_line()
375 if (i <= MAX_LEN) in get_line()
Dinputbox.c11 char dialog_input_result[MAX_LEN + 1];
186 if (len < MAX_LEN) { in dialog_inputbox()
Ddialog.h41 #define MAX_LEN 2048 macro
Dutil.c373 char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0; in print_autowrap()
/Linux-v5.10/drivers/rtc/
Drtc-bq32k.c36 #define MAX_LEN 10 /* Maximum number of consecutive macro
78 uint8_t buffer[MAX_LEN + 1]; in bq32k_write()
/Linux-v5.10/drivers/ide/
Dide-proc.c280 #define MAX_LEN 30 macro
286 char name[MAX_LEN + 1]; in ide_settings_proc_write()
336 if (p - q > MAX_LEN) in ide_settings_proc_write()