/illumos-gate/usr/src/lib/cfgadm_plugins/ccid/common/ |
H A D | cfga_ccid.c | 246 const char *product, *serial, *tran, *prot; in cfga_ccid_fill_info() local 281 prot = " (T=0)"; in cfga_ccid_fill_info() 284 prot = " (T=1)"; in cfga_ccid_fill_info() 287 prot = "<unknown>"; in cfga_ccid_fill_info() 291 prot = "<unknown>"; in cfga_ccid_fill_info() 297 tran, prot); in cfga_ccid_fill_info()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_vn.h | 58 uchar_t prot; /* protections */ member 90 uchar_t prot; /* current segment prot if pageprot == 0 */ member 161 #define SEGVN_ZFOD_ARGS(prot, max) \ argument 162 { NULL, NULL, 0, MAP_PRIVATE, prot, max, 0, NULL, 0, 0 }
|
H A D | seg_spt.h | 46 uint_t prot; member 101 uint_t prot, uint_t flags, uint_t szc);
|
H A D | seg_map.c | 79 uint_t prot); 325 smd->smd_prot = a->prot; in segmap_create() 596 uint_t prot; in segmap_fault() local 711 prot &= smd->smd_prot; in segmap_fault() 761 prot &= ~PROT_WRITE; in segmap_fault() 764 hat_memload(hat, adr, pp, prot, hat_flag); in segmap_fault() 847 return (((smd->smd_prot & prot) != prot) ? EACCES : 0); in segmap_checkprot() 1388 uint_t prot; in segmap_pagecreate() local 1432 prot = smd->smd_prot; in segmap_pagecreate() 1479 hat_memload(kas.a_hat, addr, pp, prot, hat_flag); in segmap_pagecreate() [all …]
|
H A D | vm_as.c | 3409 uint_t prot; in as_setwatch() local 3427 pwp->wp_oprot = prot; in as_setwatch() 3431 prot &= ~PROT_WRITE; in as_setwatch() 3443 pwp->wp_prot = prot; in as_setwatch() 3456 uint_t prot; in as_clearwatch() local 3514 wprot = prot; in as_setwatchprot() 3535 pwp->wp_oprot = prot; in as_setwatchprot() 3551 uint_t prot; in as_clearwatchprot() local 3567 if ((prot = pwp->wp_oprot) != 0) { in as_clearwatchprot() 3570 if (prot != pwp->wp_prot) { in as_clearwatchprot() [all …]
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 1848 uint_t prot; in prgetmap() local 1963 uint_t prot; in prgetmap32() local 4090 uint_t prot; in pr_free_watched_pages() local 4145 uint_t prot; in set_watched_page() local 4307 prot &= in clear_watched_page() 4312 prot &= in clear_watched_page() 4480 prot = 0; in pr_pagev_nextprot() 4630 uint_t prot; in pr_getprot() local 4663 prot = s.svd->prot; in pr_getprot() 4669 prot = s.sdp->prot; in pr_getprot() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | vstafs.h | 58 struct prot struct 73 struct prot pprot; argument
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | bootrom.c | 131 bootrom_alloc(struct vmctx *ctx, size_t len, int prot, int flags, in bootrom_alloc() argument 144 if (prot & ~_PROT_ALL) { in bootrom_alloc() 146 prot & ~_PROT_ALL); in bootrom_alloc() 175 if (vm_mmap_memseg(ctx, gpa, VM_BOOTROM, segoff, len, prot) != 0) { in bootrom_alloc()
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | kboot_mmu.c | 246 kbm_probe(uintptr_t *va, size_t *len, pfn_t *pfn, uint_t *prot) in kbm_probe() argument 258 *prot = 0; in kbm_probe() 310 *prot = PROT_READ | PROT_EXEC; in kbm_probe() 312 *prot |= PROT_WRITE; in kbm_probe() 318 *prot &= ~PROT_EXEC; in kbm_probe()
|
H A D | i86_mmu.c | 87 uint_t prot; in va_to_pfn() local 93 if (kbm_probe(&va, &len, &pfn, &prot) == 0) in va_to_pfn() 236 uint_t prot; in hat_kern_alloc() local 326 while (kbm_probe(&va, &size, &pfn, &prot) != 0) { in hat_kern_alloc()
|
/illumos-gate/usr/src/cmd/ccidadm/ |
H A D | ccidadm.c | 179 const char *prot; in ccidadm_list_slot_transport_str() local 203 prot = " (T=0)"; in ccidadm_list_slot_transport_str() 206 prot = " (T=1)"; in ccidadm_list_slot_transport_str() 209 prot = ""; in ccidadm_list_slot_transport_str() 213 prot = ""; in ccidadm_list_slot_transport_str() 216 return (snprintf(buf, buflen, "%s%s", tran, prot) < buflen); in ccidadm_list_slot_transport_str() 225 uint_t prot = CCID_CLASS_F_SHORT_APDU_XCHG | CCID_CLASS_F_EXT_APDU_XCHG; in ccidadm_list_slot_usable_str() local 231 if ((feat & prot) == 0 || in ccidadm_list_slot_usable_str()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_instruction_emul.c | 476 int prot, uint64_t *gla); 1117 addrsize, prot, gla)) { in vie_get_gla() 2464 int prot, err, fault; in vie_emulate_inout_str() local 2472 prot = in ? PROT_WRITE : PROT_READ; in vie_emulate_inout_str() 2819 int prot, uint64_t *gla) in vie_calculate_gla() argument 2864 if (prot & PROT_READ) { in vie_calculate_gla() 2870 if (prot & PROT_WRITE) { in vie_calculate_gla() 3048 if (prot & PROT_WRITE) in pf_error_code() 3054 if (prot & PROT_EXEC) in pf_error_code() 3316 int error, prot; in vie_fetch_instruction() local [all …]
|
H A D | vmm_sol_ept.c | 70 ept_map_page(uint64_t pfn, uint_t prot, uint8_t attr) in ept_map_page() argument 74 const uint64_t rprot = prot & EPT_RWX; in ept_map_page()
|
/illumos-gate/usr/src/uts/intel/io/vmm/sys/ |
H A D | vmm_instruction_emul.h | 95 uint64_t gla, int prot, uint64_t *gpa, int *is_fault); 102 struct vm_guest_paging *paging, uint64_t gla, int prot, uint64_t *gpa,
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xen_machdep.c | 1108 xen_gdt_setprot(cpu_t *cp, uint_t prot) in xen_gdt_setprot() argument 1112 if (prot & PROT_WRITE) in xen_gdt_setprot() 1116 MMU_PAGESIZE, prot)) != 0) in xen_gdt_setprot() 1124 cp->cpu_id, (prot & PROT_WRITE) ? "writable" : "read-only", in xen_gdt_setprot() 1132 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot) in xen_ldt_setprot() argument 1138 if (prot & PROT_WRITE) in xen_ldt_setprot() 1141 if ((err = as_setprot(&kas, (caddr_t)ldt, lsize, prot)) != 0) in xen_ldt_setprot() 1158 (prot & PROT_WRITE) ? "writable" : "read-only", err); in xen_ldt_setprot()
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vnops.c | 443 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, in bootfs_map() argument 463 if ((prot & PROT_WRITE) && (flags & MAP_SHARED)) in bootfs_map() 476 vn_a.prot = prot; in bootfs_map() 494 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, in bootfs_addmap() argument 503 size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, in bootfs_delmap() argument
|
/illumos-gate/usr/src/lib/libvmmapi/common/ |
H A D | vmmapi.h | 116 vm_ooffset_t *segoff, size_t *len, int *prot, int *flags); 143 vm_ooffset_t segoff, size_t len, int prot); 173 uint64_t gla, int prot, uint64_t *gpa, int *fault); 175 struct vm_guest_paging *paging, uint64_t gla, int prot, 306 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt,
|
H A D | vmmapi.c | 336 size_t len, int prot) in vm_mmap_memseg() argument 345 memmap.prot = prot; in vm_mmap_memseg() 355 error = vm_mmap_getnext(ctx, &gpa, &segid, &off, &len, &prot, &flags); in vm_mmap_memseg() 358 prot != memmap.prot || flags != memmap.flags) { in vm_mmap_memseg() 398 vm_ooffset_t *segoff, size_t *len, int *prot, int *flags) in vm_mmap_getnext() argument 411 *prot = memmap.prot; in vm_mmap_getnext() 1766 uint64_t gla, int prot, uint64_t *gpa, int *fault) in vm_gla2gpa() argument 1773 gg.prot = prot; in vm_gla2gpa() 1787 uint64_t gla, int prot, uint64_t *gpa, int *fault) in vm_gla2gpa_nofault() argument 1794 gg.prot = prot; in vm_gla2gpa_nofault() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_map.c | 343 int flags, prot; local 389 prot = PROT_READ | (is_rdonly ? 0 : PROT_WRITE); 413 mmap(NULL, len, prot, flags, fd, (off_t)0)) == (void *)MAP_FAILED)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 429 return (svd->prot); in gsvn_getprot() 619 uint_t prot, nprot; in gcore_pr_nextprot() local 630 prot = 0; in gcore_pr_nextprot() 649 if (nprot != prot) { in gcore_pr_nextprot() 655 *protp = prot; in gcore_pr_nextprot() 671 uint_t prot; in gcore_pr_getprot() local 682 return (prot); in gcore_pr_getprot() 725 uint_t prot; in read_maps_cb() local 770 if (prot & PROT_READ) in read_maps_cb() 772 if (prot & PROT_WRITE) in read_maps_cb() [all …]
|
/illumos-gate/usr/src/uts/common/io/overlay/ |
H A D | overlay_prop.c | 43 overlay_prop_set_prot(overlay_prop_handle_t phdl, overlay_prop_prot_t prot) in overlay_prop_set_prot() argument 46 infop->oipi_prot = prot; in overlay_prop_set_prot()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | alloc.c | 194 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in lmalloc() local 201 ptr = mmap((void *)CHUNKSIZE, size, prot, in lmalloc() 238 ptr = mmap((void *)CHUNKSIZE, bsize, prot, in lmalloc()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1338 int error, page, prot; in mapelfexec() local 1386 prot = PROT_USER; in mapelfexec() 1388 prot |= PROT_READ; in mapelfexec() 1390 prot |= PROT_WRITE; in mapelfexec() 1392 prot |= PROT_EXEC; in mapelfexec() 1497 prot, page, szc)) in mapelfexec() 1982 uint_t count, prot; in elf_process_scns() local 2264 uint_t prot; in elfcore() local 2282 if (prot & PROT_READ) in elfcore() 2284 if (prot & PROT_WRITE) in elfcore() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | devops.h | 100 int (*cb_mmap)(dev_t dev, off_t off, int prot); 102 caddr_t *addrp, off_t len, unsigned int prot, 202 struct devpage *dp, pfn_t pfn, uint_t prot, 327 struct devpage *dp, pfn_t pfn, uint_t prot,
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd.c | 307 off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr) in privcmd_segmap() argument 342 a.prot = (uchar_t)prot; in privcmd_segmap()
|