Home
last modified time | relevance | path

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

/linux/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c334 int options_bytes = 0, safe_options_bytes = 0; /* UTF-8 bytes */ in efi_convert_cmdline() local
350 while (options_bytes < COMMAND_LINE_SIZE && options_chars--) { in efi_convert_cmdline()
359 safe_options_bytes = options_bytes; in efi_convert_cmdline()
361 options_bytes++; in efi_convert_cmdline()
370 options_bytes += 2 + (c >= 0x800); in efi_convert_cmdline()
383 options_bytes -= 3; in efi_convert_cmdline()
385 options_bytes++; in efi_convert_cmdline()
391 if (options_bytes >= COMMAND_LINE_SIZE) { in efi_convert_cmdline()
392 options_bytes = safe_options_bytes; in efi_convert_cmdline()
394 options_bytes); in efi_convert_cmdline()
[all …]