/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A 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));
|
H A D | hwpoison.rst | 139 Documentation/admin-guide/mm/pagemap.rst中记录。
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugepage-vmemmap.c | 53 unsigned long pagemap; in virt_to_pfn() local 59 lseek(fd, (unsigned long)addr / pagesize * sizeof(pagemap), SEEK_SET); in virt_to_pfn() 60 read(fd, &pagemap, sizeof(pagemap)); in virt_to_pfn() 63 return pagemap & ~PM_PFRAME_MASK; in virt_to_pfn()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dmem.c | 71 struct dev_pagemap pagemap; member 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() 299 release_mem_region(chunk->pagemap.range.start, range_len(&chunk->pagemap.range)); in nouveau_dmem_chunk_alloc() 432 memunmap_pages(&chunk->pagemap); in nouveau_dmem_fini() [all …]
|
/openbmc/linux/lib/ |
H A D | test_hmm.c | 101 struct dev_pagemap pagemap; member 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() 522 devmem->pagemap.range.end = devmem->pagemap.range.start + 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() 533 devmem->pagemap.owner = mdevice; in dmirror_allocate_chunk() 593 range_len(&devmem->pagemap.range)); in dmirror_allocate_chunk() 1284 memunmap_pages(&devmem->pagemap); in dmirror_device_remove_chunks() [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A 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 176 Using pagemap to do something useful 179 The general procedure for using pagemap to find out about a process' memory 186 3. Open ``/proc/pid/pagemap`` and seek to the pages you would like to examine. 187 4. Read a u64 for each page from pagemap. 226 Before Linux 3.11 pagemap bits 55-60 were used for "page-shift" (which is
|
H A D | index.rst | 38 pagemap
|
H A 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``.
|
H A D | soft-dirty.rst | 17 This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the
|
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/ |
H A D | index.rst | 44 * pagemap
|
/openbmc/linux/include/trace/events/ |
H A D | pagemap.h | 3 #define TRACE_SYSTEM pagemap
|
/openbmc/linux/Documentation/mm/ |
H A 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));
|
H A D | hwpoison.rst | 155 documented in Documentation/admin-guide/mm/pagemap.rst
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | mm-api.rst | 90 include/linux/pagemap.h
|
/openbmc/linux/Documentation/core-api/ |
H A D | mm-api.rst | 85 .. kernel-doc:: include/linux/pagemap.h
|
/openbmc/linux/fs/proc/ |
H A D | Kconfig | 89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
|
/openbmc/linux/fs/cramfs/ |
H A D | README | 121 written for, since comments in <linux/pagemap.h> indicate that
|
/openbmc/linux/drivers/usb/storage/ |
H A 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
|
/openbmc/qemu/docs/ |
H A D | rdma.txt | 413 2. Use of the recent /proc/<pid>/pagemap would likely speed up
|
/openbmc/linux/Documentation/admin-guide/blockdev/ |
H A D | zram.rst | 495 pages of the process with*pagemap.
|
/openbmc/linux/Documentation/filesystems/ |
H A D | proc.rst | 158 pagemap Page table 638 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags 641 Documentation/admin-guide/mm/pagemap.rst.
|
/openbmc/linux/ |
H A D | MAINTAINERS | 16174 F: include/linux/pagemap.h
|