Home
last modified time | relevance | path

Searched refs:dev_pagemap (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/include/linux/
Dmemremap.h100 int (*memory_failure)(struct dev_pagemap *pgmap, unsigned long pfn,
126 struct dev_pagemap { struct
142 static inline bool pgmap_has_memory_failure(struct dev_pagemap *pgmap) in pgmap_has_memory_failure() argument
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()
191 void *memremap_pages(struct dev_pagemap *pgmap, int nid);
192 void memunmap_pages(struct dev_pagemap *pgmap);
193 void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap);
194 void devm_memunmap_pages(struct device *dev, struct dev_pagemap *pgmap);
195 struct dev_pagemap *get_dev_pagemap(unsigned long pfn,
[all …]
Dhuge_mm.h262 pmd_t *pmd, int flags, struct dev_pagemap **pgmap);
264 pud_t *pud, int flags, struct dev_pagemap **pgmap);
424 unsigned long addr, pmd_t *pmd, int flags, struct dev_pagemap **pgmap) in follow_devmap_pmd()
430 unsigned long addr, pud_t *pud, int flags, struct dev_pagemap **pgmap) in follow_devmap_pud()
Dmemory_hotplug.h17 struct dev_pagemap;
117 struct dev_pagemap *pgmap;
349 struct dev_pagemap *pgmap);
Dmm_types.h171 struct dev_pagemap *pgmap;
Ddma-map-ops.h431 struct dev_pagemap *pgmap;
Dmmzone.h990 unsigned long, struct dev_pagemap *);
/linux-6.1.9/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-vmemmap.c299 struct dev_pagemap *pgmap) in reuse_compound_section()
328 struct dev_pagemap *pgmap) in vmemmap_populate_compound_pages()
378 struct dev_pagemap *pgmap) in __populate_section_memmap()
Dsparse.c431 struct dev_pagemap *pgmap) in __populate_section_memmap()
634 struct dev_pagemap *pgmap) in populate_section_memmap()
706 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()
Dmemory-failure.c1572 struct dev_pagemap *pgmap) in mf_generic_kill_procs()
1917 struct dev_pagemap *pgmap) in memory_failure_dev_pagemap()
1981 struct dev_pagemap *pgmap; in memory_failure()
Dgup.c28 struct dev_pagemap *pgmap;
528 struct dev_pagemap **pgmap) in follow_page_pte()
2428 struct dev_pagemap *pgmap = NULL; in gup_pte_range()
2530 struct dev_pagemap *pgmap = NULL; in __gup_device_huge()
/linux-6.1.9/tools/testing/nvdimm/test/
Diomap.c99 struct dev_pagemap *pgmap = _pgmap; in nfit_test_kill()
111 struct dev_pagemap *pgmap = container_of(ref, struct dev_pagemap, ref); in dev_pagemap_percpu_release()
116 void *__wrap_devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap) in __wrap_devm_memremap_pages()
/linux-6.1.9/drivers/nvdimm/
Dpmem.h29 struct dev_pagemap pgmap;
Dnd.h656 int nvdimm_setup_pfn(struct nd_pfn *nd_pfn, struct dev_pagemap *pgmap);
659 struct dev_pagemap *pgmap) in nvdimm_setup_pfn()
Dpfn_devs.c675 static int __nvdimm_setup_pfn(struct nd_pfn *nd_pfn, struct dev_pagemap *pgmap) in __nvdimm_setup_pfn()
837 int nvdimm_setup_pfn(struct nd_pfn *nd_pfn, struct dev_pagemap *pgmap) in nvdimm_setup_pfn()
Dpmem.c456 static int pmem_pagemap_memory_failure(struct dev_pagemap *pgmap, in pmem_pagemap_memory_failure()
/linux-6.1.9/drivers/dax/
Dbus.h21 struct dev_pagemap *pgmap;
Ddax-private.h70 struct dev_pagemap *pgmap;
Dpmem.c20 struct dev_pagemap pgmap = { }; in __dax_pmem_probe()
Ddevice.c403 struct dev_pagemap *pgmap; in dev_dax_probe()
/linux-6.1.9/drivers/pci/
Dp2pdma.c31 struct dev_pagemap pgmap;
36 static struct pci_p2pdma_pagemap *to_p2p_pgmap(struct dev_pagemap *pgmap) in to_p2p_pgmap()
169 struct dev_pagemap *pgmap; in pci_p2pdma_add_resource()
844 static enum pci_p2pdma_map_type pci_p2pdma_map_type(struct dev_pagemap *pgmap, in pci_p2pdma_map_type()
/linux-6.1.9/drivers/xen/
Dunpopulated-alloc.c36 struct dev_pagemap *pgmap; in fill_list()
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhmm.rst234 struct dev_pagemap pagemap;
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c72 struct dev_pagemap pagemap;
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h350 struct dev_pagemap pgmap;

12