/Linux-v5.4/drivers/firmware/efi/ |
D | memmap.c | 44 unsigned long size = num_entries * efi.memmap.desc_size; in efi_memmap_alloc() 99 efi.memmap = map; in __efi_memmap_init() 114 WARN_ON(efi.memmap.late); in efi_memmap_init_early() 124 if (!efi.memmap.late) { in efi_memmap_unmap() 127 size = efi.memmap.desc_size * efi.memmap.nr_map; in efi_memmap_unmap() 128 early_memunmap(efi.memmap.map, size); in efi_memmap_unmap() 130 memunmap(efi.memmap.map); in efi_memmap_unmap() 133 efi.memmap.map = NULL; in efi_memmap_unmap() 168 WARN_ON(efi.memmap.map); in efi_memmap_init_late() 171 WARN_ON(efi.memmap.late); in efi_memmap_init_late() [all …]
|
D | fake_mem.c | 41 int new_nr_map = efi.memmap.nr_map; in efi_fake_memmap() 66 efi.memmap.desc_size * new_nr_map); in efi_fake_memmap() 68 memblock_free(new_memmap_phy, efi.memmap.desc_size * new_nr_map); in efi_fake_memmap() 73 efi_memmap_insert(&efi.memmap, new_memmap, &fake_mems[i]); in efi_fake_memmap() 76 early_memunmap(new_memmap, efi.memmap.desc_size * new_nr_map); in efi_fake_memmap()
|
D | runtime-map.c | 140 return efi.memmap.nr_map * efi.memmap.desc_size; in efi_get_runtime_map_size() 145 return efi.memmap.desc_size; in efi_get_runtime_map_desc_size() 155 memcpy(buf, efi.memmap.map, sz); in efi_runtime_map_copy() 168 map_entries = kcalloc(efi.memmap.nr_map, sizeof(entry), GFP_KERNEL); in efi_runtime_map_init()
|
D | arm-runtime.c | 117 mapsize = efi.memmap.desc_size * efi.memmap.nr_map; in arm_enable_runtime_services() 119 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in arm_enable_runtime_services()
|
D | arm-init.c | 247 WARN(efi.memmap.desc_version != 1, in efi_init() 249 efi.memmap.desc_version); in efi_init()
|
D | Makefile | 15 obj-$(CONFIG_EFI) += capsule.o memmap.o
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-firmware-memmap | 1 What: /sys/firmware/memmap/ 19 that reason, /sys/firmware/memmap is an interface that provides 22 The structure is as follows: Under /sys/firmware/memmap there 25 /sys/firmware/memmap/0 26 /sys/firmware/memmap/1 27 /sys/firmware/memmap/2 28 /sys/firmware/memmap/3 46 /sys/firmware/memmap/0/start 47 /sys/firmware/memmap/0/end 48 /sys/firmware/memmap/0/type [all …]
|
/Linux-v5.4/mm/ |
D | sparse.c | 664 static void free_map_bootmem(struct page *memmap) in free_map_bootmem() argument 666 unsigned long start = (unsigned long)memmap; in free_map_bootmem() 667 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem() 697 struct page *memmap = pfn_to_page(pfn); in depopulate_section_memmap() local 699 if (is_vmalloc_addr(memmap)) in depopulate_section_memmap() 700 vfree(memmap); in depopulate_section_memmap() 702 free_pages((unsigned long)memmap, in depopulate_section_memmap() 706 static void free_map_bootmem(struct page *memmap) in free_map_bootmem() argument 710 struct page *page = virt_to_page(memmap); in free_map_bootmem() 744 struct page *memmap = NULL; in section_deactivate() local [all …]
|
D | memory_hotplug.c | 170 struct page *page, *memmap; in register_page_bootmem_info_section() local 177 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 183 page = virt_to_page(memmap); in register_page_bootmem_info_section() 205 struct page *page, *memmap; in register_page_bootmem_info_section() local 211 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 213 register_page_bootmem_memmap(section_nr, memmap, PAGES_PER_SECTION); in register_page_bootmem_info_section()
|
D | Kconfig.debug | 3 bool "Extend memmap on extra space for more information on page" 5 Extend memmap on extra space for more information on page. This
|
/Linux-v5.4/arch/x86/platform/efi/ |
D | efi.c | 230 WARN(efi.memmap.desc_version != 1, in efi_memblock_x86_reserve_range() 232 efi.memmap.desc_version); in efi_memblock_x86_reserve_range() 234 memblock_reserve(pmap, efi.memmap.nr_map * efi.memmap.desc_size); in efi_memblock_x86_reserve_range() 279 efi_memory_desc_t *out = efi.memmap.map; in efi_clean_memmap() 281 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap() 287 memcpy(out, in, efi.memmap.desc_size); in efi_clean_memmap() 288 out = (void *)out + efi.memmap.desc_size; in efi_clean_memmap() 292 in = (void *)in + efi.memmap.desc_size; in efi_clean_memmap() 296 u64 size = efi.memmap.nr_map - n_removal; in efi_clean_memmap() 299 efi_memmap_install(efi.memmap.phys_map, size); in efi_clean_memmap() [all …]
|
D | quirks.c | 276 num_entries += efi.memmap.nr_map; in efi_arch_mem_reserve() 278 new_size = efi.memmap.desc_size * num_entries; in efi_arch_mem_reserve() 292 efi_memmap_insert(&efi.memmap, new, &mr); in efi_arch_mem_reserve() 464 new_size = efi.memmap.desc_size * num_entries; in efi_free_boot_services() 489 memcpy(new_md, md, efi.memmap.desc_size); in efi_free_boot_services() 490 new_md += efi.memmap.desc_size; in efi_free_boot_services()
|
/Linux-v5.4/arch/x86/xen/ |
D | enlighten_pvh.c | 44 struct xen_memory_map memmap; in mem_map_via_hcall() local 47 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall() 48 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall() 49 rc = HYPERVISOR_memory_op(XENMEM_memory_map, &memmap); in mem_map_via_hcall() 54 boot_params_p->e820_entries = memmap.nr_entries; in mem_map_via_hcall()
|
D | setup.c | 746 struct xen_memory_map memmap; in xen_memory_setup() local 757 memmap.nr_entries = ARRAY_SIZE(xen_e820_table.entries); in xen_memory_setup() 758 set_xen_guest_handle(memmap.buffer, xen_e820_table.entries); in xen_memory_setup() 767 rc = HYPERVISOR_memory_op(op, &memmap); in xen_memory_setup() 770 memmap.nr_entries = 1; in xen_memory_setup() 779 BUG_ON(memmap.nr_entries == 0); in xen_memory_setup() 780 xen_e820_table.nr_entries = memmap.nr_entries; in xen_memory_setup()
|
/Linux-v5.4/arch/mips/include/asm/dec/ |
D | prom.h | 79 } memmap; typedef 87 extern int (*__rex_getbitmap)(memmap *); 114 int __DEC_PROM_O32(_rex_getbitmap, (int (*)(memmap *), void *, memmap *));
|
/Linux-v5.4/arch/mips/dec/prom/ |
D | memory.c | 65 memmap *bm; in rex_setup_memory_region() 68 bm = (memmap *)CKSEG0ADDR(0x28000); in rex_setup_memory_region()
|
D | init.c | 25 int (*__rex_getbitmap)(memmap *);
|
/Linux-v5.4/drivers/atm/ |
D | horizon.c | 713 rx_ch_desc * rx_desc = &memmap->rx_descs[channel]; in hrz_open_rx() 787 rx_ch_desc * rx_desc = &memmap->rx_descs[vc]; in hrz_close_rx() 882 rx_q_entry * wr_ptr = &memmap->rx_q_entries[rd_regw (dev, RX_QUEUE_WR_PTR_OFF)]; in hrz_close_rx() 1466 tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; in setup_idle_tx_channel() 1844 for (mem = (HDW *) memmap; mem < (HDW *) (memmap + 1); ++mem) in hrz_init() 1856 tx_ch_desc * tx_desc = &memmap->tx_descs[chan]; in hrz_init() 1857 cell_buf * buf = &memmap->inittxbufs[chan]; in hrz_init() 1871 tx_desc = memmap->bufn3; in hrz_init() 1873 wr_mem (dev, &memmap->txfreebufstart.next, BUF_PTR(tx_desc) | BUFF_STATUS_EMPTY); in hrz_init() 1880 wr_mem (dev, &tx_desc->next, BUF_PTR(&memmap->txfreebufend) | BUFF_STATUS_EMPTY); in hrz_init() [all …]
|
/Linux-v5.4/arch/xtensa/boot/dts/ |
D | kc705.dts | 9 …ative,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000";
|
/Linux-v5.4/arch/xtensa/configs/ |
D | iss_defconfig | 9 …8.1 root=nfs nfsroot=192.168.168.1:/opt/montavista/pro/devkit/xtensa/linux_be/target memmap=128M@0"
|
D | common_defconfig | 10 …S0,38400 ip=bootp root=nfs nfsroot=/opt/montavista/pro/devkit/xtensa/linux_be/target memmap=128M@0"
|
D | virt_defconfig | 27 CONFIG_CMDLINE="console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x80000000@0"
|
D | generic_kc705_defconfig | 34 …tive,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000@0"
|
D | audio_kc705_defconfig | 35 …tive,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000@0"
|
/Linux-v5.4/drivers/firmware/ |
D | Makefile | 17 obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
|