Searched refs:pagemap (Results 1 – 21 of 21) sorted by relevance
/linux-6.1.9/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.1.9/tools/testing/selftests/vm/ |
D | hugepage-vmemmap.c | 57 unsigned long pagemap; in virt_to_pfn() local 63 lseek(fd, (unsigned long)addr / PAGE_SIZE * sizeof(pagemap), SEEK_SET); in virt_to_pfn() 64 read(fd, &pagemap, sizeof(pagemap)); in virt_to_pfn() 67 return pagemap & ~PM_PFRAME_MASK; in virt_to_pfn()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 72 struct dev_pagemap pagemap; member 92 return container_of(page->pgmap, struct nouveau_dmem_chunk, pagemap); in nouveau_page_to_chunk() 106 chunk->pagemap.range.start; in nouveau_dmem_page_addr() 252 chunk->pagemap.type = MEMORY_DEVICE_PRIVATE; in nouveau_dmem_chunk_alloc() 253 chunk->pagemap.range.start = res->start; in nouveau_dmem_chunk_alloc() 254 chunk->pagemap.range.end = res->end; in nouveau_dmem_chunk_alloc() 255 chunk->pagemap.nr_range = 1; in nouveau_dmem_chunk_alloc() 256 chunk->pagemap.ops = &nouveau_dmem_pagemap_ops; in nouveau_dmem_chunk_alloc() 257 chunk->pagemap.owner = drm->dev; in nouveau_dmem_chunk_alloc() 269 ptr = memremap_pages(&chunk->pagemap, numa_node_id()); in nouveau_dmem_chunk_alloc() [all …]
|
/linux-6.1.9/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() 520 devmem->pagemap.range.start = res->start; in dmirror_allocate_chunk() 521 devmem->pagemap.range.end = res->end; in dmirror_allocate_chunk() 522 devmem->pagemap.type = MEMORY_DEVICE_PRIVATE; in dmirror_allocate_chunk() 525 devmem->pagemap.range.start = (MINOR(mdevice->cdevice.dev) - 2) ? in dmirror_allocate_chunk() 528 devmem->pagemap.range.end = devmem->pagemap.range.start + in dmirror_allocate_chunk() 530 devmem->pagemap.type = MEMORY_DEVICE_COHERENT; in dmirror_allocate_chunk() 537 devmem->pagemap.nr_range = 1; in dmirror_allocate_chunk() 538 devmem->pagemap.ops = &dmirror_devmem_ops; in dmirror_allocate_chunk() [all …]
|
/linux-6.1.9/Documentation/admin-guide/mm/ |
D | pagemap.rst | 7 pagemap is a new (as of 2.6.25) set of interfaces in the kernel that allow 11 There are four components to pagemap: 13 * ``/proc/pid/pagemap``. This file lets a userspace process find out which 179 Using pagemap to do something useful 182 The general procedure for using pagemap to find out about a process' memory 189 3. Open ``/proc/pid/pagemap`` and seek to the pages you would like to examine. 190 4. Read a u64 for each page from pagemap. 229 Before Linux 3.11 pagemap bits 55-60 were used for "page-shift" (which is
|
D | idle_page_tracking.rst | 57 ``/proc/pid/pagemap`` if the workload is represented by a process, or by 73 See :ref:`Documentation/admin-guide/mm/pagemap.rst <pagemap>` for more 74 information about ``/proc/pid/pagemap``, ``/proc/kpageflags``, and
|
D | index.rst | 39 pagemap
|
D | soft-dirty.rst | 19 This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the
|
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/mm/ |
D | index.rst | 44 * pagemap
|
/linux-6.1.9/Documentation/mm/ |
D | hmm.rst | 288 struct dev_pagemap pagemap; 292 pagemap.type = MEMORY_DEVICE_PRIVATE; 293 pagemap.range.start = res->start; 294 pagemap.range.end = res->end; 295 pagemap.nr_range = 1; 296 pagemap.ops = &device_devmem_ops; 297 memremap_pages(&pagemap, numa_node_id()); 299 memunmap_pages(&pagemap); 300 release_mem_region(pagemap.range.start, range_len(&pagemap.range));
|
D | hwpoison.rst | 157 documented in Documentation/admin-guide/mm/pagemap.rst
|
/linux-6.1.9/include/trace/events/ |
D | pagemap.h | 3 #define TRACE_SYSTEM pagemap
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | mm-api.rst | 90 include/linux/pagemap.h
|
/linux-6.1.9/Documentation/core-api/ |
D | mm-api.rst | 85 .. kernel-doc:: include/linux/pagemap.h
|
/linux-6.1.9/fs/proc/ |
D | Kconfig | 89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
|
/linux-6.1.9/fs/cramfs/ |
D | README | 121 written for, since comments in <linux/pagemap.h> indicate that
|
/linux-6.1.9/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.1.9/Documentation/admin-guide/blockdev/ |
D | zram.rst | 409 pages of the process with*pagemap.
|
/linux-6.1.9/Documentation/filesystems/ |
D | proc.rst | 157 pagemap Page table 627 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags 630 Documentation/admin-guide/mm/pagemap.rst.
|
/linux-6.1.9/ |
D | MAINTAINERS | 15546 F: include/linux/pagemap.h
|