/freebsd/sys/vm/ |
H A D | sg_pager.c | 152 vm_memattr_t memattr; in sg_pager_getpages() local 160 memattr = object->memattr; in sg_pager_getpages() 183 pmap_page_get_memattr(m_paddr) != memattr) { in sg_pager_getpages() 184 memattr = pmap_page_get_memattr(m_paddr); in sg_pager_getpages() 194 page = vm_page_getfake(paddr, memattr); in sg_pager_getpages()
|
H A D | device_pager.c | 385 vm_memattr_t memattr, memattr1; in old_dev_pager_fault() local 388 memattr = object->memattr; in old_dev_pager_fault() 401 ret = csw->d_mmap(dev, offset, &paddr, prot, &memattr); in old_dev_pager_fault() 413 (memattr1 = pmap_page_get_memattr(m_paddr)) != memattr) { in old_dev_pager_fault() 422 csw->d_name, memattr, memattr1); in old_dev_pager_fault() 424 memattr = memattr1; in old_dev_pager_fault() 433 vm_page_updatefake(page, paddr, memattr); in old_dev_pager_fault() 439 page = vm_page_getfake(paddr, memattr); in old_dev_pager_fault()
|
H A D | vm_kern.c | 219 u_long alignment, vm_paddr_t boundary, vm_memattr_t memattr) in kmem_alloc_contig_pages() argument 233 npages, low, high, alignment, boundary, memattr); in kmem_alloc_contig_pages() 256 vm_paddr_t high, vm_memattr_t memattr) in kmem_alloc_attr_domain() argument 277 domain, pflags, 1, low, high, PAGE_SIZE, 0, memattr); in kmem_alloc_attr_domain() 300 vm_memattr_t memattr) in kmem_alloc_attr() argument 304 high, memattr)); in kmem_alloc_attr() 309 vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr) in kmem_alloc_attr_domainset() argument 322 memattr); in kmem_alloc_attr_domainset() 347 vm_memattr_t memattr) in kmem_alloc_contig_domain() argument 367 pflags, npages, low, high, alignment, boundary, memattr); in kmem_alloc_contig_domain() [all …]
|
H A D | vm_extern.h | 59 vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr); 61 int flags, vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr); 64 vm_memattr_t memattr); 67 vm_paddr_t boundary, vm_memattr_t memattr);
|
H A D | vm_page.h | 616 vm_paddr_t boundary, vm_memattr_t memattr); 620 vm_memattr_t memattr); 625 vm_memattr_t memattr); 628 vm_memattr_t memattr); 648 vm_page_t vm_page_getfake(vm_paddr_t paddr, vm_memattr_t memattr); 649 void vm_page_initfake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr); 701 void vm_page_updatefake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr);
|
H A D | vm_page.c | 1309 vm_page_getfake(vm_paddr_t paddr, vm_memattr_t memattr) in vm_page_getfake() argument 1314 vm_page_initfake(m, paddr, memattr); in vm_page_getfake() 1319 vm_page_initfake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr) in vm_page_initfake() argument 1328 goto memattr; in vm_page_initfake() 1340 memattr: in vm_page_initfake() 1341 pmap_page_set_memattr(m, memattr); in vm_page_initfake() 1368 vm_page_updatefake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr) in vm_page_updatefake() argument 1374 pmap_page_set_memattr(m, memattr); in vm_page_updatefake() 2375 if (object->memattr != VM_MEMATTR_DEFAULT && in vm_page_alloc_domain_after() 2377 pmap_page_set_memattr(m, object->memattr); in vm_page_alloc_domain_after() [all …]
|
H A D | vm_object.h | 109 vm_memattr_t memattr; /* default memory attribute for pages */ member 383 int vm_object_set_memattr(vm_object_t object, vm_memattr_t memattr);
|
H A D | vm_phys.h | 69 vm_memattr_t memattr);
|
/freebsd/sys/dev/vt/hw/efifb/ |
H A D | efifb.c | 104 int memattr; in vt_efifb_init() 115 memattr = VM_MEMATTR_WRITE_COMBINING; in vt_efifb_init() 127 memattr = VM_MEMATTR_UNCACHEABLE; in vt_efifb_init() 167 info->fb_size, memattr); in vt_efifb_init() 103 int memattr; vt_efifb_init() local
|
/freebsd/sys/dev/drm2/ |
H A D | drm_vm.c | 47 int prot, vm_memattr_t *memattr) in drm_mmap() argument 125 *memattr = VM_MEMATTR_WRITE_COMBINING; in drm_mmap() 131 *memattr = VM_MEMATTR_WRITE_COMBINING; in drm_mmap()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | mem.c | 191 int prot, vm_memattr_t *memattr) in memmmap() argument 210 *memattr = VM_MEMATTR_WRITE_BACK; in memmmap() 213 *memattr = VM_MEMATTR_WRITE_COMBINING; in memmmap() 216 *memattr = VM_MEMATTR_UNCACHEABLE; in memmmap() 219 *memattr = VM_MEMATTR_WRITE_THROUGH; in memmmap()
|
/freebsd/sys/sys/ |
H A D | ttydevsw.h | 54 vm_paddr_t * paddr, int nprot, vm_memattr_t *memattr); 172 int nprot, vm_memattr_t *memattr) in ttydevsw_mmap() argument 177 return (tp->t_devsw->tsw_mmap(tp, offset, paddr, nprot, memattr)); in ttydevsw_mmap()
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_page_alloc.c | 158 ttm_vm_page_alloc_dma32(int req, vm_memattr_t memattr) in ttm_vm_page_alloc_dma32() argument 165 0, memattr); in ttm_vm_page_alloc_dma32() 178 ttm_vm_page_alloc_any(int req, vm_memattr_t memattr) in ttm_vm_page_alloc_any() argument 183 pmap_page_set_memattr(p, memattr); in ttm_vm_page_alloc_any() 191 vm_memattr_t memattr; in ttm_vm_page_alloc() local 194 memattr = ttm_caching_state_to_vm(cstate); in ttm_vm_page_alloc() 200 p = ttm_vm_page_alloc_dma32(req, memattr); in ttm_vm_page_alloc() 202 p = ttm_vm_page_alloc_any(req, memattr); in ttm_vm_page_alloc()
|
/freebsd/sys/dev/xen/xenstore/ |
H A D | xenstored_dev.c | 51 vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr); 79 int nprot, vm_memattr_t *memattr) in xsd_dev_mmap() argument
|
/freebsd/sys/dev/fb/ |
H A D | fbd.c | 164 vm_memattr_t *memattr) in fb_mmap() argument 179 *memattr = info->fb_memattr; in fb_mmap()
|
H A D | fbreg.h | 125 vm_paddr_t *paddr, int prot, vm_memattr_t *memattr); 221 #define vidd_mmap(adp, offset, paddr, prot, memattr) \ argument 223 (prot), (memattr))
|
/freebsd/sys/x86/x86/ |
H A D | pvclock.c | 199 int nprot, vm_memattr_t *memattr) in pvclock_cdev_mmap() argument 206 *memattr = VM_MEMATTR_DEFAULT; in pvclock_cdev_mmap()
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_io.c | 212 vm_memattr_t memattr; in dpaa2_io_attach() member 247 req.memattr = map_args[i].memattr; in dpaa2_io_attach()
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_bo.c | 93 tegra_bo_alloc_contig(size_t npages, u_long alignment, vm_memattr_t memattr, in tegra_bo_alloc_contig() argument 106 low, high, alignment, boundary, memattr); in tegra_bo_alloc_contig()
|
/freebsd/sys/arm64/arm64/ |
H A D | mem.c | 130 int prot __unused, vm_memattr_t *memattr __unused) in memmmap()
|
/freebsd/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 139 int prot, vm_memattr_t *memattr) in vt_fb_mmap() 154 *memattr = info->fb_memattr; in vt_fb_mmap() 157 *memattr = VM_MEMATTR_WRITE_COMBINING; in vt_fb_mmap() 138 vt_fb_mmap(struct vt_device * vd,vm_ooffset_t offset,vm_paddr_t * paddr,int prot,vm_memattr_t * memattr) vt_fb_mmap() argument
|
/freebsd/sys/riscv/riscv/ |
H A D | mem.c | 137 int prot __unused, vm_memattr_t *memattr __unused) in memmmap()
|
/freebsd/sys/dev/beri/ |
H A D | beri_mem.c | 102 vm_memattr_t *memattr) in mem_mmap() argument
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 997 vm_memattr_t memattr; in netmap_dev_pager_fault() local 1001 memattr = object->memattr; in netmap_dev_pager_fault() 1012 vm_page_updatefake(page, paddr, memattr); in netmap_dev_pager_fault() 1019 page = vm_page_getfake(paddr, memattr); in netmap_dev_pager_fault()
|
/freebsd/sys/arm/arm/ |
H A D | mem.c | 162 int prot __unused, vm_memattr_t *memattr __unused) in memmmap()
|