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

/osnet-11/usr/src/lib/efcode/engine/
H A Dmcookie.c45 size_t map_size; member in struct:map_table
88 mp->map_size = req_size;
106 mcookie < mp->map_add + mp->map_size) {
109 mp->map_size);
112 mp->map_size = 0;
131 mcookie < mp->map_add + mp->map_size)
151 mcookie < mp->map_add + mp->map_size) {
152 return (mp->map_size);
170 mcookie < mp->map_add + mp->map_size) {
189 map_table[i].map_add, map_table[i].map_size);
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/efi/
H A Dlsefimmap.c36 grub_efi_uintn_t map_size; local
42 map_size = 0;
43 if (grub_efi_get_memory_map (&map_size, NULL, NULL, &desc_size, 0) < 0)
46 memory_map = grub_malloc (map_size);
49 if (grub_efi_get_memory_map (&map_size, memory_map, NULL, &desc_size, 0) <= 0)
55 memory_map_end = ADD_MEMORY_DESCRIPTOR (memory_map, map_size);
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/
H A Dmm.c376 grub_efi_uintn_t map_size; local
389 map_size = MEMORY_MAP_SIZE;
391 mm_status = grub_efi_get_memory_map (&map_size, memory_map, 0, &desc_size, 0);
400 map_size += desc_size * 32;
402 memory_map = grub_efi_allocate_pages (0, 2 * BYTES_TO_PAGES (map_size));
406 mm_status = grub_efi_get_memory_map (&map_size, memory_map, 0,
413 memory_map_end = NEXT_MEMORY_DESCRIPTOR (memory_map, map_size);
439 map_size = MEMORY_MAP_SIZE;
441 if (grub_efi_get_memory_map (&map_size, memory_map, 0, &desc_size, 0) < 0)
446 NEXT_MEMORY_DESCRIPTOR (memory_map, map_size));
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo.c210 int fd, map_size; local
296 if ((map_size = ioctl(fd, flag, &dinfo_io)) < 0) {
301 } else if (map_size == 0) {
311 map_size = (map_size + pageoffset) & pagemask;
312 if ((pa = valloc(map_size)) == NULL) {
318 if (ioctl(fd, DINFOUSRLD, pa) != map_size) {
365 * The map_size is stored at the beginning of snapshot.

Completed in 37 milliseconds