Home
last modified time | relevance | path

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

12

/linux-6.6.21/mm/
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()
104 static unsigned long pfn_len(struct dev_pagemap *pgmap, unsigned long range_id) in pfn_len()
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()
[all …]
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()
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()
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()
Dgup.c29 struct dev_pagemap *pgmap; member
581 struct dev_pagemap **pgmap) in follow_page_pte()
2559 struct dev_pagemap *pgmap = NULL; in gup_pte_range() local
2675 struct dev_pagemap *pgmap = NULL; in __gup_device_huge() local
Dmemory-failure.c1725 struct dev_pagemap *pgmap) in mf_generic_kill_procs()
2118 struct dev_pagemap *pgmap) in memory_failure_dev_pagemap()
2174 struct dev_pagemap *pgmap; in memory_failure() local
Dhuge_memory.c1023 pmd_t *pmd, int flags, struct dev_pagemap **pgmap) in follow_devmap_pmd()
1178 pud_t *pud, int flags, struct dev_pagemap **pgmap) in follow_devmap_pud()
/linux-6.6.21/include/linux/
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()
Dhuge_mm.h375 unsigned long addr, pmd_t *pmd, int flags, struct dev_pagemap **pgmap) in follow_devmap_pmd()
381 unsigned long addr, pud_t *pud, int flags, struct dev_pagemap **pgmap) in follow_devmap_pud()
Dmemory_hotplug.h119 struct dev_pagemap *pgmap; member
Ddma-map-ops.h494 struct dev_pagemap *pgmap; member
/linux-6.6.21/drivers/pci/
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()
/linux-6.6.21/tools/testing/nvdimm/test/
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()
/linux-6.6.21/drivers/dax/
Dpmem.c19 struct dev_pagemap pgmap = { }; in __dax_pmem_probe() local
Dbus.h23 struct dev_pagemap *pgmap; member
Ddax-private.h72 struct dev_pagemap *pgmap; member
Ddevice.c397 struct dev_pagemap *pgmap; in dev_dax_probe() local
/linux-6.6.21/drivers/nvdimm/
Dpmem.h29 struct dev_pagemap pgmap; member
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()
Dpmem.c434 static int pmem_pagemap_memory_failure(struct dev_pagemap *pgmap, in pmem_pagemap_memory_failure()
Dnd.h659 struct dev_pagemap *pgmap) in nvdimm_setup_pfn()
/linux-6.6.21/drivers/xen/
Dunpopulated-alloc.c36 struct dev_pagemap *pgmap; in fill_list() local
/linux-6.6.21/arch/powerpc/mm/book3s64/
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()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h107 struct dev_pagemap pgmap; member
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c998 struct dev_pagemap *pgmap; in kgd2kfd_init_zone_device() local

12