Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/platform/efi/
Defi.c533 efi_memory_desc_t *md, *prev_md = NULL; in efi_merge_regions() local
538 if (!prev_md) { in efi_merge_regions()
539 prev_md = md; in efi_merge_regions()
543 if (prev_md->type != md->type || in efi_merge_regions()
544 prev_md->attribute != md->attribute) { in efi_merge_regions()
545 prev_md = md; in efi_merge_regions()
549 prev_size = prev_md->num_pages << EFI_PAGE_SHIFT; in efi_merge_regions()
551 if (md->phys_addr == (prev_md->phys_addr + prev_size)) { in efi_merge_regions()
552 prev_md->num_pages += md->num_pages; in efi_merge_regions()
557 prev_md = md; in efi_merge_regions()