/illumos-gate/usr/src/uts/common/sys/ |
H A D | fem.h | 230 caddr_t *addrp, size_t len, uchar_t prot, \ 234 caddr_t addr, size_t len, uchar_t prot, \ 238 caddr_t addr, size_t len, uint_t prot, \ 369 caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, 372 caddr_t addr, size_t len, uchar_t prot, 376 caddr_t addr, size_t len, uint_t prot,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | vm_subr.c | 300 uint_t prot; in useracc() local 302 prot = PROT_USER | ((access == B_READ) ? PROT_READ : PROT_WRITE); in useracc() 303 return (as_checkprot(ttoproc(curthread)->p_as, addr, count, prot)); in useracc()
|
H A D | driver.c | 566 cdev_mmap(int (*mapfunc)(dev_t, off_t, int), dev_t dev, off_t off, int prot) in cdev_mmap() argument 568 return ((*mapfunc)(dev, off, prot)); in cdev_mmap() 573 uint_t prot, uint_t maxprot, uint_t flags, cred_t *credp) in cdev_segmap() argument 579 len, prot, maxprot, flags, credp)); in cdev_segmap()
|
H A D | exec.c | 1263 off_t offset, int prot, int page, uint_t szc) in execmap() argument 1285 if ((prot & (PROT_WRITE | PROT_EXEC)) == PROT_EXEC) { in execmap() 1291 if (valid_usr_range(addr, len, prot, p->p_as, in execmap() 1297 p->p_as, &addr, len, prot, PROT_ALL, in execmap() 1333 if (valid_usr_range(addr, len, prot, p->p_as, in execmap() 1352 if (prot != PROT_ZFOD) { in execmap() 1354 len, prot); in execmap() 1423 if (valid_usr_range(zfodbase, zfodlen, prot, p->p_as, in execmap() 1448 if (prot != PROT_ZFOD) { in execmap() 1450 zfodlen, prot); in execmap()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | mem.c | 848 mmmmap(dev_t dev, off_t off, int prot) in mmmmap() argument 893 uint_t prot, uint_t maxprot, uint_t flags, struct cred *cred) in mmsegmap() argument 942 dev_a.prot = (uchar_t)prot; in mmsegmap() 972 vn_a.prot = prot; in mmsegmap() 996 dev_a.prot = dev_a.maxprot = (uchar_t)PROT_NONE; in mmsegmap()
|
H A D | physmem.c | 101 caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, 105 caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, 385 vn_a.prot = PROT_ALL; in physmem_setup_addrs() 675 caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, in physmem_addmap() argument 688 caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, in physmem_delmap() argument
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vnops.c | 1067 uint_t *prot, in lo_getpage() argument 1077 return (VOP_GETPAGE(vp, off, len, prot, parr, psz, seg, addr, rw, cr, in lo_getpage() 1101 uchar_t prot, in lo_map() argument 1108 return (VOP_MAP(vp, off, as, addrp, len, prot, maxprot, flags, cr, ct)); in lo_map() 1118 uchar_t prot, in lo_addmap() argument 1125 return (VOP_ADDMAP(vp, off, as, addr, len, prot, maxprot, flags, cr, in lo_addmap() 1136 uint_t prot, in lo_delmap() argument 1143 return (VOP_DELMAP(vp, off, as, addr, len, prot, maxprot, flags, cr, in lo_delmap()
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | ddi_arch.c | 147 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) in i_ddi_map_fault() argument 158 rdip, hat, seg, addr, dp, pfn, prot, lock)); in i_ddi_map_fault()
|
/illumos-gate/usr/src/uts/intel/io/vmm/sys/ |
H A D | seg_vmm.h | 23 uchar_t prot; /* protection */ member
|
H A D | vmm_kernel.h | 163 size_t len, int prot, int flags); 178 vm_ooffset_t *segoff, size_t *len, int *prot, int *flags); 348 int prot; member 368 uint64_t gla, size_t len, int prot, struct vm_copyinfo *copyinfo,
|
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specvnops.c | 2252 uint_t prot, in spec_segmap() argument 2258 int (*mapfunc)(dev_t dev, off_t off, int prot); in spec_segmap() 2266 dev, as, len, prot); in spec_segmap() 2296 dev_a.prot = (uchar_t)prot; in spec_segmap() 2314 uchar_t prot, in spec_char_map() argument 2326 int (*mmap)(dev_t dev, off_t off, int prot); in spec_char_map() 2363 len, prot, maxprot, flags, cred); in spec_char_map() 2383 uchar_t prot, in spec_map() argument 2437 vn_a.prot = (uchar_t)prot; in spec_map() 2461 uchar_t prot, in spec_addmap() argument [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_umap.h | 25 uchar_t prot; /* protection */ member
|
H A D | seg_hole.c | 177 seghole_setprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in seghole_setprot() argument 186 seghole_checkprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in seghole_checkprot() argument
|
H A D | vm_anon.c | 1501 uint_t prot, in anon_fill_cow_holes() argument 1559 prot = VPP_PROT(vpage); in anon_fill_cow_holes() 1563 pp = anon_private(&ap, seg, addr, prot, pl[0], in anon_fill_cow_holes() 1977 uint_t prot, in anon_map_getpages() argument 2401 uint_t prot, in anon_private() argument 2465 if ((prot & PROT_WRITE) == 0) { in anon_private() 2476 page_pp_useclaim(opp, pp, prot & PROT_WRITE); in anon_private() 2542 uint_t prot, in anon_map_privatepages() argument 2636 if (vpage != NULL && (prot & PROT_WRITE) == 0) { in anon_map_privatepages() 2853 uint_t l_szc, szc, prot; in anon_map_createpages() local [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | bootrom.h | 46 int bootrom_alloc(struct vmctx *ctx, size_t len, int prot, int flags,
|
H A D | pci_fbuf.c | 224 int prot; in pci_fbuf_baraddr() local 235 prot = PROT_READ | PROT_WRITE; in pci_fbuf_baraddr() 237 FB_SIZE, prot) != 0) in pci_fbuf_baraddr()
|
/illumos-gate/usr/src/lib/madv/common/ |
H A D | madv.c | 725 mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos) in mmap() argument 736 result = mmapfunc(addr, len, prot, flags, fd, pos); in mmap() 778 mmap64(void *addr, size_t len, int prot, int flags, int fd, off64_t pos) in mmap64() argument 789 result = mmap64func(addr, len, prot, flags, fd, pos); in mmap64()
|
/illumos-gate/usr/src/uts/i86xpv/vm/ |
H A D | seg_mf.h | 42 uchar_t prot; member
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ppage.c | 267 pp_load_tlb(processorid_t cpu, caddr_t **pslot, page_t *pp, uint_t prot) in pp_load_tlb() argument 284 if (prot & TTE_HWWR_INT) { in pp_load_tlb() 339 TTE_CV_INT | TTE_PRIV_INT | TTE_LCK_INT | prot; in pp_load_tlb()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_arch.c | 272 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) in i_ddi_map_fault() argument 283 rdip, hat, seg, addr, dp, pfn, prot, lock)); in i_ddi_map_fault()
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | kboot_mmu.h | 57 extern int kbm_probe(uintptr_t *va, size_t *len, pfn_t *pfn, uint_t *prot);
|
H A D | hat_kdi.c | 155 uint_t prot; in kdi_vtop() local 165 if (kbm_probe(&vaddr, &len, &pfn, &prot) == 0) in kdi_vtop()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_fssub.c | 102 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, in fs_nosys_map() argument 111 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, in fs_nosys_addmap() argument
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | rootnex.c | 64 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock); 720 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) in rootnex_map_fault() argument 753 hat_devload(hat, addr, MMU_PAGESIZE, pfn, prot | sdp->hat_attr, in rootnex_map_fault() 756 hat_devload(kas.a_hat, addr, MMU_PAGESIZE, pfn, prot, in rootnex_map_fault()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_gpt.c | 622 vmm_gpt_map_at(vmm_gpt_t *gpt, uint64_t *ptep, pfn_t pfn, uint_t prot, in vmm_gpt_map_at() argument 627 entry = gpt->vgpt_pte_ops->vpeo_map_page(pfn, prot, attr); in vmm_gpt_map_at() 645 vmm_gpt_map(vmm_gpt_t *gpt, uint64_t gpa, pfn_t pfn, uint_t prot, uint8_t attr) in vmm_gpt_map() argument 653 return (vmm_gpt_map_at(gpt, entries[LEVEL1], pfn, prot, attr)); in vmm_gpt_map()
|