Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A 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 …]
/OK3568_Linux_fs/kernel/lib/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/
H A 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
H A 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
H A Dindex.rst37 pagemap
H A Dsoft-dirty.rst19 This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the
/OK3568_Linux_fs/kernel/Documentation/vm/
H A 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));
H A Dhwpoison.rst158 documented in Documentation/admin-guide/mm/pagemap.rst
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dpagemap.h3 #define TRACE_SYSTEM pagemap
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dmm-api.rst76 .. kernel-doc:: include/linux/pagemap.h
/OK3568_Linux_fs/kernel/fs/proc/
H A DKconfig89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/OK3568_Linux_fs/kernel/drivers/usb/storage/
H A Dene_ub6250.c236 #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
/OK3568_Linux_fs/kernel/fs/cramfs/
H A DREADME121 written for, since comments in <linux/pagemap.h> indicate that
/OK3568_Linux_fs/kernel/Documentation/admin-guide/blockdev/
H A Dzram.rst395 pages of the process with*pagemap.
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dproc.rst157 pagemap Page table
620 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags
623 Documentation/admin-guide/mm/pagemap.rst.