Home
last modified time | relevance | path

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

/systemd-251/src/boot/efi/
Dlinux.c27 const CHAR8 *cmdline, UINTN cmdline_len, in loaded_image_register() argument
34 assert(cmdline || cmdline_len > 0); in loaded_image_register()
114 const CHAR8 *cmdline, UINTN cmdline_len, in linux_exec() argument
127 assert(cmdline || cmdline_len == 0); in linux_exec()
161 … err = loaded_image_register(cmdline, cmdline_len, new_buffer, linux_length, &loaded_image_handle); in linux_exec()
Dstub.c170 UINTN cmdline_len = 0, linux_size, initrd_size, dt_size; in efi_main() local
210 cmdline_len = szs[SECTION_CMDLINE]; in efi_main()
214 if ((!secure_boot_enabled() || cmdline_len == 0) && loaded_image->LoadOptionsSize > 0 && in efi_main()
216 cmdline_len = (loaded_image->LoadOptionsSize / sizeof(CHAR16)) * sizeof(CHAR8); in efi_main()
217 cmdline = cmdline_owned = xallocate_pool(cmdline_len); in efi_main()
219 for (UINTN i = 0; i < cmdline_len; i++) in efi_main()
300 err = linux_exec(image, cmdline, cmdline_len, in efi_main()
Dlinux_x86.c125 const CHAR8 *cmdline, UINTN cmdline_len, in linux_exec() argument
137 assert(cmdline || cmdline_len == 0); in linux_exec()
174 EFI_SIZE_TO_PAGES(cmdline_len + 1), in linux_exec()
179 CopyMem(PHYSICAL_ADDRESS_TO_POINTER(addr), cmdline, cmdline_len); in linux_exec()
180 ((CHAR8 *) PHYSICAL_ADDRESS_TO_POINTER(addr))[cmdline_len] = 0; in linux_exec()
Dlinux.h8 const CHAR8 *cmdline, UINTN cmdline_len,