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

/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dmemdisk.c30 static grub_off_t memdisk_size = 0; variable
48 disk->total_sectors = memdisk_size / GRUB_DISK_SECTOR_SIZE;
98 memdisk_size = header->size - sizeof (struct grub_module_header);
99 memdisk_addr = grub_malloc (memdisk_size);
102 grub_memmove (memdisk_addr, memdisk_orig_addr, memdisk_size);
111 if (! memdisk_size)
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkimage.c706 size_t memdisk_size = 0, config_size = 0, config_size_pure = 0; local
735 memdisk_size = ALIGN_UP(grub_util_get_image_size (memdisk_path), 512);
736 grub_util_info ("the size of memory disk is 0x%x", memdisk_size);
737 total_module_size += memdisk_size + sizeof (struct grub_module_header);
838 header->size = grub_host_to_target32 (memdisk_size + sizeof (*header));
842 offset += memdisk_size;

Completed in 32 milliseconds