Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Defi-stub-helper.c348 int options_bytes = 0, safe_options_bytes = 0; /* UTF-8 bytes */ in efi_convert_cmdline() local
357 while (options_bytes < COMMAND_LINE_SIZE && options_chars--) { in efi_convert_cmdline()
366 safe_options_bytes = options_bytes; in efi_convert_cmdline()
368 options_bytes++; in efi_convert_cmdline()
377 options_bytes += 2 + (c >= 0x800); in efi_convert_cmdline()
390 options_bytes -= 3; in efi_convert_cmdline()
392 options_bytes++; in efi_convert_cmdline()
398 if (options_bytes >= COMMAND_LINE_SIZE) { in efi_convert_cmdline()
399 options_bytes = safe_options_bytes; in efi_convert_cmdline()
401 options_bytes); in efi_convert_cmdline()
[all …]