Home
last modified time | relevance | path

Searched refs:pagemap (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c70 struct dev_pagemap pagemap; member
90 return container_of(page->pgmap, struct nouveau_dmem_chunk, pagemap); in nouveau_page_to_chunk()
104 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-v5.10/lib/
Dtest_hmm.c75 struct dev_pagemap pagemap; member
157 pagemap)->mdevice; in dmirror_page_to_device()
471 devmem->pagemap.type = MEMORY_DEVICE_PRIVATE; in dmirror_allocate_chunk()
472 devmem->pagemap.range.start = res->start; in dmirror_allocate_chunk()
473 devmem->pagemap.range.end = res->end; in dmirror_allocate_chunk()
474 devmem->pagemap.nr_range = 1; in dmirror_allocate_chunk()
475 devmem->pagemap.ops = &dmirror_devmem_ops; in dmirror_allocate_chunk()
476 devmem->pagemap.owner = mdevice; in dmirror_allocate_chunk()
495 ptr = memremap_pages(&devmem->pagemap, numa_node_id()); in dmirror_allocate_chunk()
500 pfn_first = devmem->pagemap.range.start >> PAGE_SHIFT; in dmirror_allocate_chunk()
[all …]
/Linux-v5.10/Documentation/admin-guide/mm/
Dpagemap.rst7 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
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.
204 Before Linux 3.11 pagemap bits 55-60 were used for "page-shift" (which is
Didle_page_tracking.rst57 ``/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
Dindex.rst37 pagemap
Dsoft-dirty.rst19 This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the
/Linux-v5.10/Documentation/vm/
Dhmm.rst288 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));
Dhwpoison.rst158 documented in Documentation/admin-guide/mm/pagemap.rst
/Linux-v5.10/include/trace/events/
Dpagemap.h3 #define TRACE_SYSTEM pagemap
/Linux-v5.10/Documentation/core-api/
Dmm-api.rst76 .. kernel-doc:: include/linux/pagemap.h
/Linux-v5.10/fs/proc/
DKconfig89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/Linux-v5.10/fs/cramfs/
DREADME121 written for, since comments in <linux/pagemap.h> indicate that
/Linux-v5.10/drivers/usb/storage/
Dene_ub6250.c236 #define ms_lib_clear_pagemap(pdx) memset((pdx)->MS_Lib.pagemap, 0, sizeof((pdx)->MS_Lib.pagemap))
423 unsigned char *pagemap[(MS_MAX_PAGES_PER_BLOCK + (MS_LIB_BITS_PER_BYTE-1)) / MS_LIB_BITS_PER_BYTE]; member
/Linux-v5.10/Documentation/admin-guide/blockdev/
Dzram.rst390 pages of the process with*pagemap.
/Linux-v5.10/Documentation/filesystems/
Dproc.rst157 pagemap Page table
613 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags
616 Documentation/admin-guide/mm/pagemap.rst.