Lines Matching defs:type
38 grub_efi_memory_type_t type;
50 /* Size of requested memory per type */
58 grub_efi_memory_type_t type)
80 efiemu_mmap[mmap_num].type = type;
86 /* Request a resident memory of type TYPE of size SIZE aligned at ALIGN
92 grub_efi_memory_type_t type)
97 if (type >= GRUB_EFI_MAX_MEMORY_TYPE || type <= GRUB_EFI_LOADER_CODE)
101 align_overhead = align - (requested_memory[type]%align);
104 requested_memory[type] += align_overhead + size;
110 ret->type = type;
182 /* Split the memory into blocks by type */
192 if (cur->type == reqorder[i])
225 /* Get type of requested memory by handle */
232 return cur->type;
275 grub_memory_type_t type
390 grub_memory_type_t type)
392 switch (type)
408 "Unknown memory type %d. Assuming unusable\n", type);
428 switch (efiemu_mmap[i].type)
514 int type;
515 /* Which type of memory region */
526 /* how many regions of given type overlap at current location */
551 scanline_events[2 * i].type = 0;
552 scanline_events[2 * i].memtype = efiemu_mmap[i].type;
555 scanline_events[2 * i + 1].type = 1;
556 scanline_events[2 * i + 1].memtype = efiemu_mmap[i].type;
583 if (scanline_events[i].type)
588 /* Determine current region type */
602 result[j].type = lasttype;
610 "mmap entry: type %d start 0x%llx 0x%llx pages\n",
611 result[j].type,