Home
last modified time | relevance | path

Searched refs:nprot (Results 1 – 10 of 10) sorted by relevance

/dragonfly/lib/libnvmm/
H A Dlibnvmm.c95 nvmm_prot_t nprot; in __area_add() local
98 nprot = 0; in __area_add()
100 nprot |= NVMM_PROT_READ; in __area_add()
102 nprot |= NVMM_PROT_WRITE; in __area_add()
104 nprot |= NVMM_PROT_EXEC; in __area_add()
117 area->prot = nprot; in __area_add()
/dragonfly/sys/kern/
H A Dkern_device.c262 dev_dmmap(cdev_t dev, vm_offset_t offset, int nprot, struct file *fp) in dev_dmmap() argument
271 ap.a_nprot = nprot; in dev_dmmap()
287 struct vm_object **object, int nprot, struct file *fp) in dev_dmmap_single() argument
298 ap.a_nprot = nprot; in dev_dmmap_single()
/dragonfly/sys/dev/drm/include/drm/
H A DdrmP.h482 vm_size_t size, struct vm_object **obj_res, int nprot);
485 vm_size_t size, struct vm_object **obj_res, int nprot);
/dragonfly/sys/sys/
H A Ddevice.h350 int64_t dev_dmmap(cdev_t dev, vm_offset_t offset, int nprot, struct file *fp);
352 struct vm_object **object, int nprot, struct file *fp);
/dragonfly/sys/dev/drm/
H A Ddrm_drv.c1290 int nprot = ap->a_nprot; in drm_mmap_single() local
1295 offset, size, obj_res, nprot)); in drm_mmap_single()
1297 return (drm_gem_mmap_single(dev, offset, size, obj_res, nprot)); in drm_mmap_single()
H A Ddrm_gem.c1052 struct vm_object **obj_res, int nprot) in drm_gem_mmap_single() argument
1067 dev->driver->gem_vm_ops, size, nprot, in drm_gem_mmap_single()
/dragonfly/sys/dev/drm/ttm/
H A Dttm_bo_vm.c781 struct vm_object **obj_res, int nprot) in ttm_bo_mmap_single() argument
809 size, nprot, 0, in ttm_bo_mmap_single()
/dragonfly/sys/dev/sound/pcm/
H A Ddsp.c2303 int nprot = ap->a_nprot; in dsp_mmap_single() local
2316 if ((nprot & PROT_EXEC) && (dsp_mmap_allow_prot_exec < 0 || in dsp_mmap_single()
2320 if ((nprot & PROT_EXEC) && dsp_mmap_allow_prot_exec < 1) in dsp_mmap_single()
2329 if ((nprot & (PROT_READ | PROT_WRITE)) == 0) in dsp_mmap_single()
2340 c = ((nprot & PROT_WRITE) != 0) ? wrch : rdch; in dsp_mmap_single()
2357 *object = dev_pager_alloc(i_dev, size, nprot, *offset); in dsp_mmap_single()
/dragonfly/share/examples/drivers/
H A Dmake_device_driver.sh313 ${1}mmap(dev_t dev, int offset, int nprot)
/dragonfly/contrib/gcc-4.7/gcc/
H A Domega.c5438 omega_alloc_problem (int nvars, int nprot) in omega_alloc_problem() argument
5455 pb->safe_vars = nprot; in omega_alloc_problem()