Symbol: memmap
arch/mips/dec/prom/init.c
29
int (*__rex_getbitmap)(memmap *);
arch/mips/dec/prom/memory.c
63
memmap *bm;
arch/mips/dec/prom/memory.c
66
bm = (memmap *)CKSEG0ADDR(0x28000);
arch/mips/include/asm/dec/prom.h
120
int __DEC_PROM_O32(_rex_getbitmap, (int (*)(memmap *), void *, memmap *));
arch/mips/include/asm/dec/prom.h
82
extern int (*__rex_getbitmap)(memmap *);
arch/x86/platform/efi/efi.c
223
WARN(efi.memmap.desc_version != 1,
arch/x86/platform/efi/efi.c
225
efi.memmap.desc_version);
arch/x86/platform/efi/efi.c
227
memblock_reserve(pmap, efi.memmap.nr_map * efi.memmap.desc_size);
arch/x86/platform/efi/efi.c
273
efi_memory_desc_t *out = efi.memmap.map;
arch/x86/platform/efi/efi.c
275
const efi_memory_desc_t *end = efi.memmap.map_end;
arch/x86/platform/efi/efi.c
281
memcpy(out, in, efi.memmap.desc_size);
arch/x86/platform/efi/efi.c
282
out = (void *)out + efi.memmap.desc_size;
arch/x86/platform/efi/efi.c
286
in = (void *)in + efi.memmap.desc_size;
arch/x86/platform/efi/efi.c
291
.phys_map = efi.memmap.phys_map,
arch/x86/platform/efi/efi.c
292
.desc_version = efi.memmap.desc_version,
arch/x86/platform/efi/efi.c
293
.desc_size = efi.memmap.desc_size,
arch/x86/platform/efi/efi.c
294
.size = efi.memmap.desc_size * (efi.memmap.nr_map - n_removal),
arch/x86/platform/efi/efi.c
569
return efi.memmap.map_end - efi.memmap.desc_size;
arch/x86/platform/efi/efi.c
571
entry -= efi.memmap.desc_size;
arch/x86/platform/efi/efi.c
572
if (entry < efi.memmap.map)
arch/x86/platform/efi/efi.c
614
return efi.memmap.map;
arch/x86/platform/efi/efi.c
616
entry += efi.memmap.desc_size;
arch/x86/platform/efi/efi.c
617
if (entry >= efi.memmap.map_end)
arch/x86/platform/efi/efi.c
683
desc_size = efi.memmap.desc_size;
arch/x86/platform/efi/efi.c
747
if (efi_memmap_init_late(efi.memmap.phys_map,
arch/x86/platform/efi/efi.c
748
efi.memmap.desc_size * efi.memmap.nr_map)) {
arch/x86/platform/efi/efi.c
754
num_pages = ALIGN(efi.memmap.nr_map * efi.memmap.desc_size, PAGE_SIZE);
arch/x86/platform/efi/efi.c
757
if (efi_setup_page_tables(efi.memmap.phys_map, num_pages)) {
arch/x86/platform/efi/efi.c
812
if (efi_memmap_init_late(pa, efi.memmap.desc_size * count)) {
arch/x86/platform/efi/efi.c
827
status = efi_set_virtual_address_map(efi.memmap.desc_size * count,
arch/x86/platform/efi/efi.c
828
efi.memmap.desc_size,
arch/x86/platform/efi/efi.c
829
efi.memmap.desc_version,
arch/x86/platform/efi/memmap.c
62
data->size = num_entries * efi.memmap.desc_size;
arch/x86/platform/efi/memmap.c
63
data->desc_version = efi.memmap.desc_version;
arch/x86/platform/efi/memmap.c
64
data->desc_size = efi.memmap.desc_size;
arch/x86/platform/efi/memmap.c
66
data->flags |= efi.memmap.flags & EFI_MEMMAP_LATE;
arch/x86/platform/efi/memmap.c
93
unsigned long size = efi.memmap.desc_size * efi.memmap.nr_map;
arch/x86/platform/efi/memmap.c
94
unsigned long flags = efi.memmap.flags;
arch/x86/platform/efi/memmap.c
95
u64 phys = efi.memmap.phys_map;
arch/x86/platform/efi/quirks.c
281
num_entries += efi.memmap.nr_map;
arch/x86/platform/efi/quirks.c
295
efi_memmap_insert(&efi.memmap, new, &mr);
arch/x86/platform/efi/quirks.c
427
sz = sizeof(*ranges_to_free) * (efi.memmap.nr_map + 1);
arch/x86/platform/efi/quirks.c
527
memcpy(new_md, md, efi.memmap.desc_size);
arch/x86/platform/efi/quirks.c
528
new_md += efi.memmap.desc_size;
arch/x86/platform/efi/runtime-map.c
141
return efi.memmap.nr_map * efi.memmap.desc_size;
arch/x86/platform/efi/runtime-map.c
146
return efi.memmap.desc_size;
arch/x86/platform/efi/runtime-map.c
156
memcpy(buf, efi.memmap.map, sz);
arch/x86/platform/efi/runtime-map.c
169
map_entries = kzalloc_objs(entry, efi.memmap.nr_map);
arch/x86/xen/enlighten_pvh.c
174
struct xen_memory_map memmap;
arch/x86/xen/enlighten_pvh.c
177
memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table);
arch/x86/xen/enlighten_pvh.c
178
set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table);
arch/x86/xen/enlighten_pvh.c
179
rc = HYPERVISOR_memory_op(XENMEM_memory_map, &memmap);
arch/x86/xen/enlighten_pvh.c
184
boot_params_p->e820_entries = memmap.nr_entries;
arch/x86/xen/setup.c
800
struct xen_memory_map memmap;
arch/x86/xen/setup.c
811
memmap.nr_entries = ARRAY_SIZE(xen_e820_table.entries);
arch/x86/xen/setup.c
812
set_xen_guest_handle(memmap.buffer, xen_e820_table.entries);
arch/x86/xen/setup.c
821
rc = HYPERVISOR_memory_op(op, &memmap);
arch/x86/xen/setup.c
824
memmap.nr_entries = 1;
arch/x86/xen/setup.c
833
BUG_ON(memmap.nr_entries == 0);
arch/x86/xen/setup.c
834
xen_e820_table.nr_entries = memmap.nr_entries;
drivers/firmware/efi/arm-runtime.c
101
if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) {
drivers/firmware/efi/arm-runtime.c
99
mapsize = efi.memmap.desc_size * efi.memmap.nr_map;
drivers/firmware/efi/efi-init.c
252
WARN(efi.memmap.desc_version != 1,
drivers/firmware/efi/efi-init.c
254
efi.memmap.desc_version);
drivers/firmware/efi/memattr.c
55
tbl->desc_size > efi.memmap.desc_size) {
drivers/firmware/efi/memattr.c
57
tbl->desc_size, efi.memmap.desc_size);
drivers/firmware/efi/memmap.c
134
WARN_ON(efi.memmap.map);
drivers/firmware/efi/memmap.c
137
WARN_ON(efi.memmap.flags & EFI_MEMMAP_LATE);
drivers/firmware/efi/memmap.c
144
data.desc_version = efi.memmap.desc_version;
drivers/firmware/efi/memmap.c
145
data.desc_size = efi.memmap.desc_size;
drivers/firmware/efi/memmap.c
61
efi.memmap = map;
drivers/firmware/efi/memmap.c
78
WARN_ON(efi.memmap.flags & EFI_MEMMAP_LATE);
drivers/firmware/efi/memmap.c
89
if (!(efi.memmap.flags & EFI_MEMMAP_LATE)) {
drivers/firmware/efi/memmap.c
92
size = efi.memmap.desc_size * efi.memmap.nr_map;
drivers/firmware/efi/memmap.c
93
early_memunmap(efi.memmap.map, size);
drivers/firmware/efi/memmap.c
95
memunmap(efi.memmap.map);
drivers/firmware/efi/memmap.c
98
efi.memmap.map = NULL;
drivers/firmware/efi/riscv-runtime.c
69
mapsize = efi.memmap.desc_size * efi.memmap.nr_map;
drivers/firmware/efi/riscv-runtime.c
71
if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) {
drivers/message/fusion/mptbase.c
1724
ioc->memmap = mem;
drivers/message/fusion/mptbase.c
2009
iounmap(ioc->memmap);
drivers/message/fusion/mptbase.c
2058
iounmap(ioc->memmap);
drivers/message/fusion/mptbase.c
2831
if (ioc->memmap != NULL) {
drivers/message/fusion/mptbase.c
2832
iounmap(ioc->memmap);
drivers/message/fusion/mptbase.c
2833
ioc->memmap = NULL;
drivers/message/fusion/mptbase.h
677
u8 __iomem *memmap; /* mmap address */
drivers/net/wireless/ti/wlcore/tx.c
974
struct wl1271_acx_mem_map *memmap = wl->target_mem_map;
drivers/net/wireless/ti/wlcore/tx.c
980
ret = wlcore_read(wl, le32_to_cpu(memmap->tx_result),
drivers/net/wireless/ti/wlcore/tx.c
988
ret = wlcore_write32(wl, le32_to_cpu(memmap->tx_result) +
drivers/virt/acrn/acrn_drv.h
197
int acrn_vm_memseg_map(struct acrn_vm *vm, struct acrn_vm_memmap *memmap);
drivers/virt/acrn/acrn_drv.h
198
int acrn_vm_memseg_unmap(struct acrn_vm *vm, struct acrn_vm_memmap *memmap);
drivers/virt/acrn/acrn_drv.h
199
int acrn_vm_ram_map(struct acrn_vm *vm, struct acrn_vm_memmap *memmap);
drivers/virt/acrn/hsm.c
117
struct acrn_vm_memmap memmap;
drivers/virt/acrn/hsm.c
220
if (copy_from_user(&memmap, (void __user *)ioctl_param,
drivers/virt/acrn/hsm.c
221
sizeof(memmap)))
drivers/virt/acrn/hsm.c
224
ret = acrn_vm_memseg_map(vm, &memmap);
drivers/virt/acrn/hsm.c
227
if (copy_from_user(&memmap, (void __user *)ioctl_param,
drivers/virt/acrn/hsm.c
228
sizeof(memmap)))
drivers/virt/acrn/hsm.c
231
ret = acrn_vm_memseg_unmap(vm, &memmap);
drivers/virt/acrn/mm.c
108
int acrn_vm_memseg_map(struct acrn_vm *vm, struct acrn_vm_memmap *memmap)
drivers/virt/acrn/mm.c
112
if (memmap->type == ACRN_MEMMAP_RAM)
drivers/virt/acrn/mm.c
113
return acrn_vm_ram_map(vm, memmap);
drivers/virt/acrn/mm.c
115
if (memmap->type != ACRN_MEMMAP_MMIO) {
drivers/virt/acrn/mm.c
117
"Invalid memmap type: %u\n", memmap->type);
drivers/virt/acrn/mm.c
121
ret = acrn_mm_region_add(vm, memmap->user_vm_pa,
drivers/virt/acrn/mm.c
122
memmap->service_vm_pa, memmap->len,
drivers/virt/acrn/mm.c
123
ACRN_MEM_TYPE_UC, memmap->attr);
drivers/virt/acrn/mm.c
131
int acrn_vm_memseg_unmap(struct acrn_vm *vm, struct acrn_vm_memmap *memmap)
drivers/virt/acrn/mm.c
135
if (memmap->type != ACRN_MEMMAP_MMIO) {
drivers/virt/acrn/mm.c
137
"Invalid memmap type: %u\n", memmap->type);
drivers/virt/acrn/mm.c
141
ret = acrn_mm_region_del(vm, memmap->user_vm_pa, memmap->len);
drivers/virt/acrn/mm.c
156
int acrn_vm_ram_map(struct acrn_vm *vm, struct acrn_vm_memmap *memmap)
drivers/virt/acrn/mm.c
168
if (!vm || !memmap)
drivers/virt/acrn/mm.c
172
nr_pages = memmap->len >> PAGE_SHIFT;
drivers/virt/acrn/mm.c
177
vma = vma_lookup(current->mm, memmap->vma_base);
drivers/virt/acrn/mm.c
182
if ((memmap->vma_base + memmap->len) > vma->vm_end) {
drivers/virt/acrn/mm.c
190
.address = memmap->vma_base + i * PAGE_SIZE,
drivers/virt/acrn/mm.c
205
(memmap->attr & ACRN_MEM_ACCESS_WRITE)) {
drivers/virt/acrn/mm.c
227
"Failed to lookup PFN at VMA:%p.\n", (void *)memmap->vma_base);
drivers/virt/acrn/mm.c
231
return acrn_mm_region_add(vm, memmap->user_vm_pa,
drivers/virt/acrn/mm.c
232
PFN_PHYS(start_pfn), memmap->len,
drivers/virt/acrn/mm.c
233
ACRN_MEM_TYPE_WB, memmap->attr);
drivers/virt/acrn/mm.c
242
pinned = pin_user_pages_fast(memmap->vma_base,
drivers/virt/acrn/mm.c
266
region_mapping->size = memmap->len;
drivers/virt/acrn/mm.c
268
region_mapping->user_vm_pa = memmap->user_vm_pa;
drivers/virt/acrn/mm.c
299
user_vm_pa = memmap->user_vm_pa;
drivers/virt/acrn/mm.c
312
(memmap->attr & ACRN_MEM_ACCESS_RIGHT_MASK);
drivers/virt/acrn/mm.c
330
remap_vaddr, (void *)memmap->user_vm_pa, memmap->len);
include/linux/efi.h
669
struct efi_memory_map memmap;
include/linux/efi.h
817
for_each_efi_memory_desc_in_map(&efi.memmap, md)
mm/sparse-vmemmap.c
704
static void free_map_bootmem(struct page *memmap)
mm/sparse-vmemmap.c
706
unsigned long start = (unsigned long)memmap;
mm/sparse-vmemmap.c
707
unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION);
mm/sparse-vmemmap.c
708
unsigned long pfn = page_to_pfn(memmap);
mm/sparse-vmemmap.c
781
struct page *memmap = NULL;
mm/sparse-vmemmap.c
807
memmap = pfn_to_page(SECTION_ALIGN_DOWN(pfn));
mm/sparse-vmemmap.c
816
else if (memmap)
mm/sparse-vmemmap.c
817
free_map_bootmem(memmap);
mm/sparse-vmemmap.c
829
struct page *memmap;
mm/sparse-vmemmap.c
857
memmap = populate_section_memmap(pfn, nr_pages, nid, altmap, pgmap);
mm/sparse-vmemmap.c
858
if (!memmap) {
mm/sparse-vmemmap.c
863
return memmap;
mm/sparse-vmemmap.c
891
struct page *memmap;
mm/sparse-vmemmap.c
898
memmap = section_activate(nid, start_pfn, nr_pages, altmap, pgmap);
mm/sparse-vmemmap.c
899
if (IS_ERR(memmap))
mm/sparse-vmemmap.c
900
return PTR_ERR(memmap);
mm/sparse-vmemmap.c
906
page_init_poison(memmap, sizeof(struct page) * nr_pages);
mm/sparse-vmemmap.c
913
memmap = pfn_to_page(section_nr_to_pfn(section_nr));
mm/sparse-vmemmap.c
914
sparse_init_one_section(ms, section_nr, memmap, ms->usage, 0);