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

/osnet-11/usr/src/grub/grub2/grub-core/lib/efi/
H A Drelocator.c32 grub_efi_uintn_t mmapsize = 0, descriptor_size = 0; local
35 grub_efi_get_memory_map (&mmapsize, NULL, &key, &descriptor_size,
39 return 2 * (mmapsize / descriptor_size + 10);
45 grub_efi_uintn_t mmapsize = 0, desc_size = 0; local
52 grub_efi_get_memory_map (&mmapsize, NULL, &key, &desc_size,
54 descs = grub_malloc (mmapsize);
58 grub_efi_get_memory_map (&mmapsize, descs, &key, &desc_size,
62 (char *) desc < ((char *) descs + mmapsize);

Completed in 35 milliseconds