Lines Matching refs:sev_init_ex_buffer
103 static void *sev_init_ex_buffer; variable
265 if (!sev_init_ex_buffer) in sev_read_init_ex_file()
285 nread = kernel_read(fp, sev_init_ex_buffer, NV_LENGTH, NULL); in sev_read_init_ex_file()
307 if (!sev_init_ex_buffer) in sev_write_init_ex_file()
320 nwrite = kernel_write(fp, sev_init_ex_buffer, NV_LENGTH, &offset); in sev_write_init_ex_file()
340 if (!sev_init_ex_buffer) in sev_write_init_ex_file_if_required()
1036 data.nv_address = __psp_pa(sev_init_ex_buffer); in __sev_init_ex_locked()
1055 if (sev_init_ex_buffer) in __sev_do_init_locked()
1225 if (sev_init_ex_buffer) in __sev_platform_init_handle_init_ex_path()
1234 sev_init_ex_buffer = page_address(page); in __sev_platform_init_handle_init_ex_path()
1245 if (rmp_mark_pages_firmware(__pa(sev_init_ex_buffer), npages, false)) { in __sev_platform_init_handle_init_ex_path()
2320 if (sev_init_ex_buffer) { in __sev_firmware_shutdown()
2321 __snp_free_firmware_pages(virt_to_page(sev_init_ex_buffer), in __sev_firmware_shutdown()
2324 sev_init_ex_buffer = NULL; in __sev_firmware_shutdown()