Home
last modified time | relevance | path

Searched defs:pgmap (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/mm/
H A Dmemremap.c45 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 Dsparse.c430 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 Dsparse-vmemmap.c373 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 Dmm_init.c973 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 Dgup.c29 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 Dmemory-failure.c1737 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 Dhuge_memory.c1016 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 Dmemremap.h142 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 Dhuge_mm.h393 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 Dmemory_hotplug.h119 struct dev_pagemap *pgmap; member
H A Ddma-map-ops.h494 struct dev_pagemap *pgmap; member
/openbmc/linux/drivers/pci/
H A Dp2pdma.c31 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 Diomap.c99 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 Dpmem.c19 struct dev_pagemap pgmap = { }; in __dax_pmem_probe() local
H A Dbus.h23 struct dev_pagemap *pgmap; member
H A Ddax-private.h72 struct dev_pagemap *pgmap; member
H A Ddevice.c397 struct dev_pagemap *pgmap; in dev_dax_probe() local
/openbmc/linux/drivers/nvdimm/
H A Dpmem.h29 struct dev_pagemap pgmap; member
H A Dpfn_devs.c682 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 Dpmem.c434 static int pmem_pagemap_memory_failure(struct dev_pagemap *pgmap, in pmem_pagemap_memory_failure()
/openbmc/linux/drivers/xen/
H A Dunpopulated-alloc.c36 struct dev_pagemap *pgmap; in fill_list() local
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c916 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 Damdgpu_amdkfd.h107 struct dev_pagemap pgmap; member
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_migrate.c1012 struct dev_pagemap *pgmap; in kgd2kfd_init_zone_device() local
/openbmc/linux/fs/fuse/
H A Dvirtio_fs.c811 struct dev_pagemap *pgmap; in virtio_fs_setup_dax() local

12