/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_varlen.c | 9 #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 [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_varlen.c | 9 #define MAX_LEN 256 macro 11 char buf_in1[MAX_LEN] = {}; 12 char buf_in2[MAX_LEN] = {}; 21 char payload1[MAX_LEN + MAX_LEN] = {}; 28 char payload2[MAX_LEN + MAX_LEN] = { 1 }; 33 char payload3[MAX_LEN + MAX_LEN] = { 1 }; 38 char payload4[MAX_LEN [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/ |
H A D | exc_validate.c | 76 //#define MAX_LEN 512 77 #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()
|
H A D | validate.c | 9 #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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/copyloops/ |
H A D | exc_validate.c | 76 //#define MAX_LEN 512 77 #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()
|
H A D | validate.c | 9 #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()
|
/kernel/linux/linux-5.10/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 218 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() 369 /* Truncate lines longer than MAX_LEN characters */ in get_line() 370 if (i == MAX_LEN) in get_line() 375 if (i <= MAX_LEN) in get_line()
|
H A D | inputbox.c | 11 char dialog_input_result[MAX_LEN + 1]; 186 if (len < MAX_LEN) { in dialog_inputbox()
|
H A D | dialog.h | 41 #define MAX_LEN 2048 macro
|
H A D | util.c | 373 char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0; in print_autowrap()
|
/kernel/linux/linux-6.6/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 57 static char line[MAX_LEN + 1]; in get_line() 64 } else if (i < MAX_LEN) in get_line() 67 /* Truncate lines longer than MAX_LEN characters */ in get_line() 68 if (i == MAX_LEN) in get_line() 73 if (i <= MAX_LEN) in get_line() 318 if (hscroll >= MAX_LEN) in dialog_textbox()
|
H A D | inputbox.c | 11 char dialog_input_result[MAX_LEN + 1]; 186 if (len < MAX_LEN) { in dialog_inputbox()
|
H A D | dialog.h | 25 #define MAX_LEN 2048 macro
|
H A D | util.c | 373 char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0; in print_autowrap()
|
/kernel/linux/linux-6.6/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | string-attributes.c | 11 enum string_properties {MIN_LEN = 6, MAX_LEN}; enumerator 151 if (check_property_type(str, MAX_LEN, ACPI_TYPE_INTEGER)) in populate_str_data() 153 wmi_priv.str_data[instance_id].max_length = (uintptr_t) str_obj[MAX_LEN].string.pointer; in populate_str_data()
|
/kernel/linux/linux-6.6/lib/ |
H A D | checksum_kunit.c | 9 #define MAX_LEN 512 macro 11 #define TEST_BUFLEN (MAX_LEN + MAX_ALIGN) 234 CHECK_EQ(sizeof(random_buf) / sizeof(random_buf[0]), MAX_LEN); in assert_setup_correct() 236 MAX_LEN); in assert_setup_correct() local 239 MAX_LEN); in assert_setup_correct() 254 min(MAX_LEN, TEST_BUFLEN - align)); in test_csum_fixed_random_inputs() 255 for (len = 0; len < MAX_LEN && (align + len) < TEST_BUFLEN; in test_csum_fixed_random_inputs() 280 for (len = 0; len < MAX_LEN && (align + len) < TEST_BUFLEN; in test_csum_all_carry_inputs() 320 for (len = 0; len < MAX_LEN && (align + len) < TEST_BUFLEN; in test_csum_no_carry_inputs()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-proc.c | 280 #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()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-bq32k.c | 36 #define MAX_LEN 10 /* Maximum number of consecutive macro 78 uint8_t buffer[MAX_LEN + 1]; in bq32k_write()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-bq32k.c | 37 #define MAX_LEN 10 /* Maximum number of consecutive macro 79 uint8_t buffer[MAX_LEN + 1]; in bq32k_write()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-microchip-core.c | 23 #define MAX_LEN (0xffff) macro
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | floppy.c | 3172 #define MAX_LEN (1UL << MAX_ORDER << PAGE_SHIFT) macro 3203 if (ptr->length <= 0 || ptr->length >= MAX_LEN) in raw_cmd_copyin()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | floppy.c | 3082 #define MAX_LEN (1UL << MAX_ORDER << PAGE_SHIFT) macro 3111 if (ptr->length <= 0 || ptr->length > MAX_LEN) in raw_cmd_copyin()
|