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

/linux-4.4.14/drivers/firmware/efi/
H A Dfake_mem.c43 static int nr_fake_mem; variable
67 if (!nr_fake_mem || !efi_enabled(EFI_MEMMAP)) efi_fake_memmap()
76 for (i = 0; i < nr_fake_mem; i++) { efi_fake_memmap()
121 for (i = 0; i < nr_fake_mem; i++) { efi_fake_memmap()
215 if (nr_fake_mem >= EFI_MAX_FAKEMEM) setup_fake_mem()
218 fake_mems[nr_fake_mem].range.start = start; setup_fake_mem()
219 fake_mems[nr_fake_mem].range.end = start + mem_size - 1; setup_fake_mem()
220 fake_mems[nr_fake_mem].attribute = attribute; setup_fake_mem()
221 nr_fake_mem++; setup_fake_mem()
227 sort(fake_mems, nr_fake_mem, sizeof(struct fake_mem), setup_fake_mem()
230 for (i = 0; i < nr_fake_mem; i++) setup_fake_mem()

Completed in 55 milliseconds