Home
last modified time | relevance | path

Searched refs:map_size (Results 1 – 12 of 12) sorted by relevance

/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_memory.c57 static int find_in_memory_map(efi_uintn_t map_size, in find_in_memory_map() argument
65 for (i = 0; map_size; ++i, map_size -= desc_size) { in find_in_memory_map()
100 efi_uintn_t map_size = 0; in execute() local
124 ret = boottime->get_memory_map(&map_size, NULL, &map_key, &desc_size, in execute()
132 map_size += sizeof(struct efi_mem_desc); in execute()
133 ret = boottime->allocate_pool(EFI_BOOT_SERVICES_DATA, map_size, in execute()
139 ret = boottime->get_memory_map(&map_size, memory_map, &map_key, in execute()
147 if (find_in_memory_map(map_size, memory_map, desc_size, p1, in execute()
150 if (find_in_memory_map(map_size, memory_map, desc_size, p2, in execute()
173 find_in_memory_map(map_size, memory_map, desc_size, fdt_addr, in execute()
H A Defi_selftest.c33 efi_uintn_t map_size = 0; in efi_st_exit_boot_services() local
40 ret = boottime->get_memory_map(&map_size, NULL, &map_key, &desc_size, in efi_st_exit_boot_services()
48 map_size += sizeof(struct efi_mem_desc); in efi_st_exit_boot_services()
49 ret = boottime->allocate_pool(EFI_BOOT_SERVICES_DATA, map_size, in efi_st_exit_boot_services()
55 ret = boottime->get_memory_map(&map_size, memory_map, &map_key, in efi_st_exit_boot_services()
/openbmc/qemu/hw/ppc/
H A Dppce500_spin.c78 hwaddr map_start, map_size = 64 * MiB; in spin_kick() local
83 env->nip = ldq_p(&curspin->addr) & (map_size - 1); in spin_kick()
88 env->gpr[7] = map_size; in spin_kick()
92 map_start = ldq_p(&curspin->addr) & ~(map_size - 1); in spin_kick()
94 booke206_set_tlb(tlb, 0, map_start, map_size); in spin_kick()
H A De500.c783 uint64_t map_size = mmubooke_initial_mapsize(env); in ppce500_cpu_reset() local
795 env->gpr[7] = map_size; in ppce500_cpu_reset()
800 booke206_set_tlb(tlb, 0, 0, map_size); in ppce500_cpu_reset()
/openbmc/qemu/hw/pci-host/
H A Dastro.c531 uint32_t map_size; in adjust_LMMIO_DIRECT_mapping() local
539 map_size = s->ioc_ranges[3 * lmmio_index + 1]; in adjust_LMMIO_DIRECT_mapping()
552 map_size = (~map_size) + 1; in adjust_LMMIO_DIRECT_mapping()
553 map_size &= TARGET_PAGE_MASK; in adjust_LMMIO_DIRECT_mapping()
556 if (!(map_addr & 1) || !map_size) { in adjust_LMMIO_DIRECT_mapping()
563 (uint32_t) map_addr, map_size); in adjust_LMMIO_DIRECT_mapping()
568 memory_region_set_size(lmmio_alias, map_size); in adjust_LMMIO_DIRECT_mapping()
851 uint64_t map_size; in astro_realize() local
888 map_size = IOS_DIST_BASE_SIZE / ROPES_PER_IOC; in astro_realize()
889 elroy->mmio_base[(0x0240 - 0x200) / 8] = rope * map_size | 0x01; in astro_realize()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_memory.c507 efi_uintn_t map_size = 0; in efi_get_memory_map() local
520 map_size = map_entries * sizeof(struct efi_mem_desc); in efi_get_memory_map()
522 *memory_map_size = map_size; in efi_get_memory_map()
524 if (provided_map_size < map_size) in efi_get_memory_map()
/openbmc/u-boot/cmd/
H A Defidebug.c414 efi_uintn_t map_size = 0; in do_efi_show_memmap() local
419 ret = EFI_CALL(BS->get_memory_map(&map_size, memmap, NULL, NULL, NULL)); in do_efi_show_memmap()
421 map_size += sizeof(struct efi_mem_desc); /* for my own */ in do_efi_show_memmap()
423 map_size, (void *)&memmap)); in do_efi_show_memmap()
426 ret = EFI_CALL(BS->get_memory_map(&map_size, memmap, in do_efi_show_memmap()
438 for (i = 0, map = memmap; i < map_size / sizeof(*map); map++, i++) { in do_efi_show_memmap()
/openbmc/qemu/include/hw/loongarch/
H A Dboot.h86 uint64_t map_size; member
/openbmc/qemu/hw/loongarch/
H A Dboot.c109 boot_memmap->map_size = 0; in init_efi_boot_memmap()
/openbmc/qemu/block/
H A Dqcow2-bitmap.c1076 int map_size = ARRAY_SIZE(map); in get_bitmap_info_flags() local
1078 for (i = 0; i < map_size; ++i) { in get_bitmap_info_flags()
/openbmc/u-boot/
H A DMakefile1097 if [ "" != "$$map_size" ]; then \
1098 if test $$map_size -ne $$file_size; then \
1099 echo "u-boot.map shows a binary size of $$map_size" >&2 ; \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch389 - off64_t map_size;
391 + off_t map_size;