/openbmc/linux/mm/ |
H A D | memremap.c | 45 static void devmap_managed_enable_put(struct dev_pagemap *pgmap) in devmap_managed_enable_put() 51 static void devmap_managed_enable_get(struct dev_pagemap *pgmap) in devmap_managed_enable_get() 57 static void devmap_managed_enable_get(struct dev_pagemap *pgmap) in devmap_managed_enable_get() 60 static void devmap_managed_enable_put(struct dev_pagemap *pgmap) in devmap_managed_enable_put() 72 static unsigned long pfn_first(struct dev_pagemap *pgmap, int range_id) in pfn_first() 82 bool pgmap_pfn_valid(struct dev_pagemap *pgmap, unsigned long pfn) in pgmap_pfn_valid() 97 static unsigned long pfn_end(struct dev_pagemap *pgmap, int range_id) in pfn_end() 110 static void pageunmap_range(struct dev_pagemap *pgmap, int range_id) in pageunmap_range() 136 void memunmap_pages(struct dev_pagemap *pgmap) in memunmap_pages() 291 void *memremap_pages(struct dev_pagemap *pgmap, int nid) in memremap_pages() [all …]
|
H A D | sparse.c | 430 struct dev_pagemap *pgmap) in __populate_section_memmap() 633 struct dev_pagemap *pgmap) in populate_section_memmap() 705 struct dev_pagemap *pgmap) in populate_section_memmap() 830 struct dev_pagemap *pgmap) in section_activate() 892 struct dev_pagemap *pgmap) in sparse_add_section()
|
H A D | sparse-vmemmap.c | 373 struct dev_pagemap *pgmap) in reuse_compound_section() 402 struct dev_pagemap *pgmap) in vmemmap_populate_compound_pages() 454 struct dev_pagemap *pgmap) in __populate_section_memmap()
|
H A D | mm_init.c | 973 struct dev_pagemap *pgmap) in __init_zone_device_page() 1028 struct dev_pagemap *pgmap) in compound_nr_pages() 1039 struct dev_pagemap *pgmap, in memmap_init_compound() 1066 struct dev_pagemap *pgmap) in memmap_init_zone_device()
|
H A D | gup.c | 29 struct dev_pagemap *pgmap; member 493 struct dev_pagemap **pgmap) in follow_page_pte() 2575 struct dev_pagemap *pgmap = NULL; in gup_pte_range() local 2691 struct dev_pagemap *pgmap = NULL; in __gup_device_huge() local
|
H A D | memory-failure.c | 1737 struct dev_pagemap *pgmap) in mf_generic_kill_procs() 2130 struct dev_pagemap *pgmap) in memory_failure_dev_pagemap() 2186 struct dev_pagemap *pgmap; in memory_failure() local
|
H A D | huge_memory.c | 1016 pmd_t *pmd, int flags, struct dev_pagemap **pgmap) in follow_devmap_pmd() 1171 pud_t *pud, int flags, struct dev_pagemap **pgmap) in follow_devmap_pud()
|
/openbmc/linux/include/linux/ |
H A D | memremap.h | 142 static inline bool pgmap_has_memory_failure(struct dev_pagemap *pgmap) in pgmap_has_memory_failure() 147 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap() 154 static inline unsigned long pgmap_vmemmap_nr(struct dev_pagemap *pgmap) in pgmap_vmemmap_nr() 204 struct dev_pagemap *pgmap) in devm_memremap_pages() 216 struct dev_pagemap *pgmap) in devm_memunmap_pages() 221 struct dev_pagemap *pgmap) in get_dev_pagemap() 226 static inline bool pgmap_pfn_valid(struct dev_pagemap *pgmap, unsigned long pfn) in pgmap_pfn_valid() 248 static inline void put_dev_pagemap(struct dev_pagemap *pgmap) in put_dev_pagemap()
|
H A D | huge_mm.h | 393 unsigned long addr, pmd_t *pmd, int flags, struct dev_pagemap **pgmap) in follow_devmap_pmd() 399 unsigned long addr, pud_t *pud, int flags, struct dev_pagemap **pgmap) in follow_devmap_pud()
|
H A D | memory_hotplug.h | 119 struct dev_pagemap *pgmap; member
|
H A D | dma-map-ops.h | 494 struct dev_pagemap *pgmap; member
|
/openbmc/linux/drivers/pci/ |
H A D | p2pdma.c | 31 struct dev_pagemap pgmap; member 36 static struct pci_p2pdma_pagemap *to_p2p_pgmap(struct dev_pagemap *pgmap) in to_p2p_pgmap() 196 struct pci_p2pdma_pagemap *pgmap = to_p2p_pgmap(page->pgmap); in p2pdma_page_free() local 289 struct dev_pagemap *pgmap; in pci_p2pdma_add_resource() local 968 static enum pci_p2pdma_map_type pci_p2pdma_map_type(struct dev_pagemap *pgmap, in pci_p2pdma_map_type()
|
/openbmc/linux/tools/testing/nvdimm/test/ |
H A D | iomap.c | 99 struct dev_pagemap *pgmap = _pgmap; in nfit_test_kill() local 111 struct dev_pagemap *pgmap = container_of(ref, struct dev_pagemap, ref); in dev_pagemap_percpu_release() local 116 void *__wrap_devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap) in __wrap_devm_memremap_pages()
|
/openbmc/linux/drivers/dax/ |
H A D | pmem.c | 19 struct dev_pagemap pgmap = { }; in __dax_pmem_probe() local
|
H A D | bus.h | 23 struct dev_pagemap *pgmap; member
|
H A D | dax-private.h | 72 struct dev_pagemap *pgmap; member
|
H A D | device.c | 397 struct dev_pagemap *pgmap; in dev_dax_probe() local
|
/openbmc/linux/drivers/nvdimm/ |
H A D | pmem.h | 29 struct dev_pagemap pgmap; member
|
H A D | pfn_devs.c | 682 static int __nvdimm_setup_pfn(struct nd_pfn *nd_pfn, struct dev_pagemap *pgmap) in __nvdimm_setup_pfn() 855 int nvdimm_setup_pfn(struct nd_pfn *nd_pfn, struct dev_pagemap *pgmap) in nvdimm_setup_pfn()
|
H A D | pmem.c | 434 static int pmem_pagemap_memory_failure(struct dev_pagemap *pgmap, in pmem_pagemap_memory_failure()
|
H A D | nd.h | 659 struct dev_pagemap *pgmap) in nvdimm_setup_pfn()
|
/openbmc/linux/drivers/xen/ |
H A D | unpopulated-alloc.c | 36 struct dev_pagemap *pgmap; in fill_list() local
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 916 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize() 1223 struct dev_pagemap *pgmap) in vmemmap_populate_compound_pages()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.h | 107 struct dev_pagemap pgmap; member
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_migrate.c | 1012 struct dev_pagemap *pgmap; in kgd2kfd_init_zone_device() local
|