Searched refs:MAX_LEN (Results 1 – 12 of 12) sorted by relevance
| /linux/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 + MAX_LEN] = { 1 }; 53 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned() 59 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned() 83 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_signed() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | util.c | 20 #define MAX_LEN 512 macro 25 u8 data[MAX_LEN]; in test_sha1() 26 size_t digests_size = (MAX_LEN + 1) * SHA1_DIGEST_SIZE; in test_sha1() 43 for (i = 0; i < MAX_LEN; i++) in test_sha1() 47 for (i = 0; i <= MAX_LEN; i++) in test_sha1()
|
| /linux/tools/testing/selftests/powerpc/copyloops/ |
| H A D | exc_validate.c | 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()
|
| /linux/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() 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]; 188 if (len < MAX_LEN) { in dialog_inputbox()
|
| H A D | dialog.h | 25 #define MAX_LEN 2048 macro
|
| H A D | util.c | 346 char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0; in print_autowrap()
|
| /linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
| H A D | string-attributes.c | 11 enum string_properties {MIN_LEN = 6, MAX_LEN}; enumerator 152 if (check_property_type(str, MAX_LEN, ACPI_TYPE_INTEGER)) in populate_str_data() 154 wmi_priv.str_data[instance_id].max_length = (uintptr_t) str_obj[MAX_LEN].string.pointer; in populate_str_data()
|
| /linux/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()
|
| /linux/rust/kernel/ |
| H A D | bitmap.rs | 228 pub const MAX_LEN: usize = i32::MAX as usize; constant 255 if nbits > Self::MAX_LEN { in new()
|
| H A D | id_pool.rs | 201 if num_ids > BitmapVec::MAX_LEN { in grow_request()
|