Home
last modified time | relevance | path

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

/systemd-251/src/boot/efi/
Dstub.c178 UINTN szs[_SECTION_MAX] = {}; in efi_main() local
198 … err = pe_memory_locate_sections(loaded_image->ImageBase, (const CHAR8**) sections, addrs, szs); in efi_main()
199 if (EFI_ERROR(err) || szs[SECTION_LINUX] == 0) { in efi_main()
206 …graphics_splash((const UINT8*) loaded_image->ImageBase + addrs[SECTION_SPLASH], szs[SECTION_SPLASH… in efi_main()
208 if (szs[SECTION_CMDLINE] > 0) { in efi_main()
210 cmdline_len = szs[SECTION_CMDLINE]; in efi_main()
267 linux_size = szs[SECTION_LINUX]; in efi_main()
270 initrd_size = szs[SECTION_INITRD]; in efi_main()
273 dt_size = szs[SECTION_DTB]; in efi_main()
Dboot.c2177 UINTN szs[_SECTION_MAX] = {}; in config_entry_add_linux() local
2196 … err = pe_file_locate_sections(linux_dir, f->FileName, (const CHAR8**) sections, offs, szs); in config_entry_add_linux()
2197 if (EFI_ERROR(err) || szs[SECTION_OSREL] == 0) in config_entry_add_linux()
2200 … err = file_read(linux_dir, f->FileName, offs[SECTION_OSREL], szs[SECTION_OSREL], &content, NULL); in config_entry_add_linux()
2283 if (szs[SECTION_CMDLINE] == 0) in config_entry_add_linux()
2289 …err = file_read(linux_dir, f->FileName, offs[SECTION_CMDLINE], szs[SECTION_CMDLINE], &content, NUL… in config_entry_add_linux()
2292 if (content[szs[SECTION_CMDLINE] - 1] == '\n') in config_entry_add_linux()
2293 content[szs[SECTION_CMDLINE] - 1] = '\0'; in config_entry_add_linux()
/systemd-251/src/core/
Dimport-creds.c385 _cleanup_free_ char *szs = NULL; in import_credentials_qemu() local
399 r = read_virtual_file_at(vfd, "size", LINE_MAX, &szs, NULL); in import_credentials_qemu()
405 r = safe_atou64(strstrip(szs), &sz); in import_credentials_qemu()
407 … log_warning_errno(r, "Failed to parse size of credential '%s', ignoring: %s", d->d_name, szs); in import_credentials_qemu()