/linux-6.12.1/Documentation/translations/zh_CN/mm/ |
D | hmm.rst | 234 struct dev_pagemap pagemap; 238 pagemap.type = MEMORY_DEVICE_PRIVATE; 239 pagemap.range.start = res->start; 240 pagemap.range.end = res->end; 241 pagemap.nr_range = 1; 242 pagemap.ops = &device_devmem_ops; 243 memremap_pages(&pagemap, numa_node_id()); 245 memunmap_pages(&pagemap); 246 release_mem_region(pagemap.range.start, range_len(&pagemap.range));
|
D | hwpoison.rst | 139 Documentation/admin-guide/mm/pagemap.rst中记录。
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | hugepage-vmemmap.c | 39 unsigned long pagemap; in virt_to_pfn() local 45 lseek(fd, (unsigned long)addr / pagesize * sizeof(pagemap), SEEK_SET); in virt_to_pfn() 46 read(fd, &pagemap, sizeof(pagemap)); in virt_to_pfn() 49 return pagemap & ~PM_PFRAME_MASK; in virt_to_pfn()
|
D | run_vmtests.sh | 62 - pagemap
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 71 struct dev_pagemap pagemap; member 91 return container_of(page->pgmap, struct nouveau_dmem_chunk, pagemap); in nouveau_page_to_chunk() 105 chunk->pagemap.range.start; in nouveau_dmem_page_addr() 251 chunk->pagemap.type = MEMORY_DEVICE_PRIVATE; in nouveau_dmem_chunk_alloc() 252 chunk->pagemap.range.start = res->start; in nouveau_dmem_chunk_alloc() 253 chunk->pagemap.range.end = res->end; in nouveau_dmem_chunk_alloc() 254 chunk->pagemap.nr_range = 1; in nouveau_dmem_chunk_alloc() 255 chunk->pagemap.ops = &nouveau_dmem_pagemap_ops; in nouveau_dmem_chunk_alloc() 256 chunk->pagemap.owner = drm->dev; in nouveau_dmem_chunk_alloc() 268 ptr = memremap_pages(&chunk->pagemap, numa_node_id()); in nouveau_dmem_chunk_alloc() [all …]
|
/linux-6.12.1/lib/ |
D | test_hmm.c | 101 struct dev_pagemap pagemap; member 198 return container_of(page->pgmap, struct dmirror_chunk, pagemap); in dmirror_page_to_chunk() 514 devmem->pagemap.range.start = res->start; in dmirror_allocate_chunk() 515 devmem->pagemap.range.end = res->end; in dmirror_allocate_chunk() 516 devmem->pagemap.type = MEMORY_DEVICE_PRIVATE; in dmirror_allocate_chunk() 519 devmem->pagemap.range.start = (MINOR(mdevice->cdevice.dev) - 2) ? in dmirror_allocate_chunk() 522 devmem->pagemap.range.end = devmem->pagemap.range.start + in dmirror_allocate_chunk() 524 devmem->pagemap.type = MEMORY_DEVICE_COHERENT; in dmirror_allocate_chunk() 531 devmem->pagemap.nr_range = 1; in dmirror_allocate_chunk() 532 devmem->pagemap.ops = &dmirror_devmem_ops; in dmirror_allocate_chunk() [all …]
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/ |
D | index.rst | 44 * pagemap
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/mm/ |
D | index.rst | 44 * pagemap
|
/linux-6.12.1/tools/mm/ |
D | thpmaps | 392 def vma_parse(vma, pagemap, kpageflags, contorders): 397 pmes = pagemap.get(start, end - start) 457 with PageMap(pid) as pagemap: 461 … stats, vma_anon, vma_file = vma_parse(vma, pagemap, kpageflags, args.cont)
|
/linux-6.12.1/Documentation/mm/ |
D | hmm.rst | 277 struct dev_pagemap pagemap; 281 pagemap.type = MEMORY_DEVICE_PRIVATE; 282 pagemap.range.start = res->start; 283 pagemap.range.end = res->end; 284 pagemap.nr_range = 1; 285 pagemap.ops = &device_devmem_ops; 286 memremap_pages(&pagemap, numa_node_id()); 288 memunmap_pages(&pagemap); 289 release_mem_region(pagemap.range.start, range_len(&pagemap.range));
|
D | hwpoison.rst | 155 documented in Documentation/admin-guide/mm/pagemap.rst
|
/linux-6.12.1/include/trace/events/ |
D | pagemap.h | 3 #define TRACE_SYSTEM pagemap
|
/linux-6.12.1/Documentation/admin-guide/mm/ |
D | pagemap.rst | 5 pagemap is a new (as of 2.6.25) set of interfaces in the kernel that allow 9 There are four components to pagemap: 11 * ``/proc/pid/pagemap``. This file lets a userspace process find out which 205 Before Linux 3.11 pagemap bits 55-60 were used for "page-shift" (which is 213 The ``PAGEMAP_SCAN`` IOCTL on the pagemap file can be used to get or optionally
|
D | idle_page_tracking.rst | 55 ``/proc/pid/pagemap`` if the workload is represented by a process, or by 71 See Documentation/admin-guide/mm/pagemap.rst for more information about 72 ``/proc/pid/pagemap``, ``/proc/kpageflags``, and ``/proc/kpagecgroup``.
|
D | index.rst | 38 pagemap
|
D | soft-dirty.rst | 17 This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the
|
D | userfaultfd.rst | 275 uffd-wp bit for the pages being interested in /proc/pagemap.
|
/linux-6.12.1/Documentation/translations/zh_CN/core-api/ |
D | mm-api.rst | 90 include/linux/pagemap.h
|
/linux-6.12.1/Documentation/core-api/ |
D | mm-api.rst | 85 .. kernel-doc:: include/linux/pagemap.h
|
/linux-6.12.1/fs/proc/ |
D | Kconfig | 89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
|
/linux-6.12.1/fs/cramfs/ |
D | README | 121 written for, since comments in <linux/pagemap.h> indicate that
|
/linux-6.12.1/drivers/usb/storage/ |
D | ene_ub6250.c | 236 #define ms_lib_clear_pagemap(pdx) memset((pdx)->MS_Lib.pagemap, 0, sizeof((pdx)->MS_Lib.pagemap)) 420 unsigned char *pagemap[(MS_MAX_PAGES_PER_BLOCK + (MS_LIB_BITS_PER_BYTE-1)) / MS_LIB_BITS_PER_BYTE]; member
|
/linux-6.12.1/Documentation/admin-guide/blockdev/ |
D | zram.rst | 528 pages of the process with*pagemap.
|
/linux-6.12.1/Documentation/filesystems/ |
D | proc.rst | 158 pagemap Page table 648 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags 651 Documentation/admin-guide/mm/pagemap.rst.
|
/linux-6.12.1/ |
D | MAINTAINERS | 17447 F: include/linux/pagemap.h
|