Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/platform/efi/
Dfake_mem.c26 static int nr_fake_mem; variable
74 if (!efi_enabled(EFI_MEMMAP) || !nr_fake_mem) in efi_fake_memmap()
77 for (i = 0; i < nr_fake_mem; i++) in efi_fake_memmap()
104 if (nr_fake_mem >= EFI_MAX_FAKEMEM) in setup_fake_mem()
107 efi_fake_mems[nr_fake_mem].range.start = start; in setup_fake_mem()
108 efi_fake_mems[nr_fake_mem].range.end = start + mem_size - 1; in setup_fake_mem()
109 efi_fake_mems[nr_fake_mem].attribute = attribute; in setup_fake_mem()
110 nr_fake_mem++; in setup_fake_mem()
116 sort(efi_fake_mems, nr_fake_mem, sizeof(struct efi_mem_range), in setup_fake_mem()
119 for (i = 0; i < nr_fake_mem; i++) in setup_fake_mem()
[all …]