/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | memmap.c | 49 __efi_memmap_free(efi.memmap.phys_map, in efi_memmap_free() 50 efi.memmap.desc_size * efi.memmap.nr_map, in efi_memmap_free() 51 efi.memmap.flags); in efi_memmap_free() 71 data->size = num_entries * efi.memmap.desc_size; in efi_memmap_alloc() 72 data->desc_version = efi.memmap.desc_version; in efi_memmap_alloc() 73 data->desc_size = efi.memmap.desc_size; in efi_memmap_alloc() 75 data->flags |= efi.memmap.flags & EFI_MEMMAP_LATE; in efi_memmap_alloc() 138 efi.memmap = map; in __efi_memmap_init() 153 WARN_ON(efi.memmap.flags & EFI_MEMMAP_LATE); in efi_memmap_init_early() 164 if (!(efi.memmap.flags & EFI_MEMMAP_LATE)) { in efi_memmap_unmap() [all …]
|
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 | riscv-runtime.c | 77 mapsize = efi.memmap.desc_size * efi.memmap.nr_map; in riscv_enable_runtime_services() 79 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in riscv_enable_runtime_services()
|
D | arm-runtime.c | 99 mapsize = efi.memmap.desc_size * efi.memmap.nr_map; in arm_enable_runtime_services() 101 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in arm_enable_runtime_services()
|
D | fake_mem.c | 40 int new_nr_map = efi.memmap.nr_map; in efi_fake_range() 59 efi_memmap_insert(&efi.memmap, new_memmap, efi_range); in efi_fake_range()
|
D | efi-init.c | 228 WARN(efi.memmap.desc_version != 1, in efi_init() 230 efi.memmap.desc_version); in efi_init()
|
D | Makefile | 15 obj-$(CONFIG_EFI) += capsule.o memmap.o
|
/kernel/linux/linux-5.10/arch/x86/platform/efi/ |
D | efi.c | 246 WARN(efi.memmap.desc_version != 1, in efi_memblock_x86_reserve_range() 248 efi.memmap.desc_version); in efi_memblock_x86_reserve_range() 250 memblock_reserve(pmap, efi.memmap.nr_map * efi.memmap.desc_size); in efi_memblock_x86_reserve_range() 296 efi_memory_desc_t *out = efi.memmap.map; in efi_clean_memmap() 298 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap() 304 memcpy(out, in, efi.memmap.desc_size); in efi_clean_memmap() 305 out = (void *)out + efi.memmap.desc_size; in efi_clean_memmap() 309 in = (void *)in + efi.memmap.desc_size; in efi_clean_memmap() 314 .phys_map = efi.memmap.phys_map, in efi_clean_memmap() 315 .desc_version = efi.memmap.desc_version, in efi_clean_memmap() [all …]
|
D | quirks.c | 273 num_entries += efi.memmap.nr_map; in efi_arch_mem_reserve() 287 efi_memmap_insert(&efi.memmap, new, &mr); in efi_arch_mem_reserve() 483 memcpy(new_md, md, efi.memmap.desc_size); in efi_free_boot_services() 484 new_md += efi.memmap.desc_size; in efi_free_boot_services()
|
/kernel/linux/linux-5.10/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 48 /sys/firmware/memmap/0/start 49 /sys/firmware/memmap/0/end 50 /sys/firmware/memmap/0/type [all …]
|
/kernel/linux/linux-5.10/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 | 734 struct xen_memory_map memmap; in xen_memory_setup() local 745 memmap.nr_entries = ARRAY_SIZE(xen_e820_table.entries); in xen_memory_setup() 746 set_xen_guest_handle(memmap.buffer, xen_e820_table.entries); in xen_memory_setup() 755 rc = HYPERVISOR_memory_op(op, &memmap); in xen_memory_setup() 758 memmap.nr_entries = 1; in xen_memory_setup() 767 BUG_ON(memmap.nr_entries == 0); in xen_memory_setup() 768 xen_e820_table.nr_entries = memmap.nr_entries; in xen_memory_setup()
|
/kernel/linux/linux-5.10/mm/ |
D | sparse.c | 665 static void free_map_bootmem(struct page *memmap) in free_map_bootmem() argument 667 unsigned long start = (unsigned long)memmap; in free_map_bootmem() 668 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem() 735 static void free_map_bootmem(struct page *memmap) in free_map_bootmem() argument 739 struct page *page = virt_to_page(memmap); in free_map_bootmem() 802 struct page *memmap = NULL; in section_deactivate() local 823 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in section_deactivate() 838 else if (memmap) in section_deactivate() 839 free_map_bootmem(memmap); in section_deactivate() 850 struct page *memmap; in section_activate() local [all …]
|
D | memory_hotplug.c | 177 struct page *page, *memmap; in register_page_bootmem_info_section() local 184 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 190 page = virt_to_page(memmap); in register_page_bootmem_info_section() 212 struct page *page, *memmap; in register_page_bootmem_info_section() local 218 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 220 register_page_bootmem_memmap(section_nr, memmap, PAGES_PER_SECTION); in register_page_bootmem_info_section()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/dec/ |
D | prom.h | 74 } memmap; typedef 82 extern int (*__rex_getbitmap)(memmap *); 109 int __DEC_PROM_O32(_rex_getbitmap, (int (*)(memmap *), void *, memmap *));
|
/kernel/linux/linux-5.10/arch/mips/dec/prom/ |
D | memory.c | 63 memmap *bm; in rex_setup_memory_region() 66 bm = (memmap *)CKSEG0ADDR(0x28000); in rex_setup_memory_region()
|
D | init.c | 25 int (*__rex_getbitmap)(memmap *);
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/xtensa/boot/dts/ |
D | kc705.dts | 9 …ative,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000";
|
/kernel/linux/linux-5.10/arch/xtensa/configs/ |
D | iss_defconfig | 6 …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 | 25 CONFIG_CMDLINE="console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x80000000@0"
|
D | xip_kc705_defconfig | 30 …tive,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000@0"
|
D | smp_lx200_defconfig | 35 …mio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=96M@0"
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | Makefile | 17 obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
|