Searched refs:pagemap (Results 1 – 2 of 2) sorted by relevance
72 struct dev_pagemap pagemap; member92 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 …]
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