Home
last modified time | relevance | path

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

/xen/tools/libs/gnttab/
A Dlinux.c94 unsigned int map_size = sizeof(*map) + (count - 1) * sizeof(map->refs[0]); in osdep_gnttab_grant_map() local
102 if ( map_size <= PAGE_SIZE ) in osdep_gnttab_grant_map()
103 map = alloca(map_size); in osdep_gnttab_grant_map()
106 map_size = ROUNDUP(map_size, PAGE_SHIFT); in osdep_gnttab_grant_map()
107 map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, in osdep_gnttab_grant_map()
187 if ( map_size > PAGE_SIZE ) in osdep_gnttab_grant_map()
188 munmap(map, map_size); in osdep_gnttab_grant_map()
/xen/xen/arch/arm/efi/
A Defi-boot.h192 UINTN map_size, in fdt_add_uefi_nodes() argument
259 fdt_val32 = cpu_to_fdt32(map_size); in fdt_add_uefi_nodes()
353 UINTN map_size, in efi_arch_process_memory_map() argument
359 status = efi_process_memory_map_bootinfo(map, map_size, desc_size); in efi_arch_process_memory_map()
363 status = fdt_add_uefi_nodes(SystemTable, fdt, map, map_size, desc_size, in efi_arch_process_memory_map()
402 static void *__init efi_arch_allocate_mmap_buffer(UINTN map_size) in efi_arch_allocate_mmap_buffer() argument
407 status = efi_bs->AllocatePool(EfiLoaderData, map_size, &ptr); in efi_arch_allocate_mmap_buffer()
/xen/tools/xenstore/
A Dtdb.c145 tdb->map_size, strerror(errno))); in tdb_mmap()
316 if (len <= tdb->map_size) in tdb_oob()
323 (int)len, (int)tdb->map_size)); in tdb_oob()
344 tdb->map_size = st.st_size; in tdb_oob()
694 size = TDB_ALIGN(tdb->map_size + size*10, TDB_PAGE_SIZE) - tdb->map_size;
711 tdb->map_size += size;
715 tdb->map_size);
717 tdb->map_size -= size;
737 offset = tdb->map_size - size;
900 tdb->map_size = size;
[all …]
A Dtdb.h96 tdb_len map_size; /* how much space has been mapped */ member
/xen/xen/arch/x86/
A Dtboot.c341 uint32_t map_size; in tboot_shutdown() local
349 map_size = PFN_UP(g_tboot_shared->tboot_size); in tboot_shutdown()
351 err = map_pages_to_xen(mfn_to_maddr(map_base), map_base, map_size, in tboot_shutdown()
356 err, mfn_x(map_base), map_size); in tboot_shutdown()
/xen/tools/firmware/hvmloader/
A De820.c72 uint64_t map_size = memory_map.map[i].size; in adjust_memory_map() local
73 uint64_t map_end = map_start + map_size; in adjust_memory_map()
/xen/xen/arch/x86/efi/
A Defi-boot.h153 UINTN map_size, in efi_arch_process_memory_map() argument
162 for ( e820_raw.nr_map = i = 0; i < map_size; i += desc_size ) in efi_arch_process_memory_map()
216 static void *__init efi_arch_allocate_mmap_buffer(UINTN map_size) in efi_arch_allocate_mmap_buffer() argument
218 return ebmalloc(map_size); in efi_arch_allocate_mmap_buffer()

Completed in 13 milliseconds