/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 2249 pr_protocol(int prot) argument 2253 switch (prot) { 2271 (void) snprintf(buf, sizeof (buf), "prot %d", prot);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_dev.c | 379 sdp->prot = a->prot; 424 sdp->prot, sdp->maxprot, sdp->type, CRED(), NULL); 489 newsdp->prot = sdp->prot; 532 newseg->s_base, newseg->s_size, newsdp->prot, 718 sdp->prot, sdp->maxprot, sdp->type, CRED(), NULL); 816 nsdp->prot = sdp->prot; 1417 uint_t prot; local 2066 segdev_setprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) argument 2193 segdev_checkprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) argument 2398 ddi_segmap_setup(dev_t dev, off_t offset, struct as *as, caddr_t *addrp, off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred, ddi_device_acc_attr_t *accattrp, uint_t rnumber) argument 3125 devmap_setup(dev_t dev, offset_t off, struct as *as, caddr_t *addrp, size_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cred) argument 3317 ddi_devmap_segmap(dev_t dev, off_t off, ddi_as_handle_t as, caddr_t *addrp, off_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cred) argument [all...] |
H A D | seg_spt.c | 123 register size_t len, register uint_t prot); 125 uint_t prot); 187 uint_t prot, uint_t flags, uint_t share_szc) 209 sptcargs.prot = prot; 427 sptd->spt_prot = sptcargs->prot; 1804 segspt_shmsetprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) argument 1810 * Individual process sharing page tables can't change prot 2304 segspt_shmcheckprot(struct seg *seg, caddr_t addr, size_t size, uint_t prot) argument 2314 return (((sptd->spt_prot & prot) ! 186 sptcreate(size_t size, struct seg **sptseg, struct anon_map *amp, uint_t prot, uint_t flags, uint_t share_szc) argument [all...] |
H A D | vm_anon.c | 1502 uint_t prot, 1560 prot = VPP_PROT(vpage); 1564 pp = anon_private(&ap, seg, addr, prot, pl[0], 1978 uint_t prot, 2136 addr, prot, ppa, vpage, anypgsz, pgflags, cred)); 2317 return (anon_map_privatepages(amp, start_idx, szc, seg, addr, prot, 2402 uint_t prot, 2470 if ((prot & PROT_WRITE) == 0) { 2481 page_pp_useclaim(opp, pp, prot & PROT_WRITE); 2547 uint_t prot, 1493 anon_fill_cow_holes( struct seg *seg, caddr_t addr, struct anon_hdr *ahp, ulong_t an_idx, struct vnode *vp, u_offset_t vp_off, size_t size, uint_t szc, uint_t prot, struct vpage vpage[], struct cred *cred) argument 1972 anon_map_getpages( struct anon_map *amp, ulong_t start_idx, uint_t szc, struct seg *seg, caddr_t addr, uint_t prot, uint_t *protp, page_t *ppa[], uint_t *ppa_szc, struct vpage vpage[], enum seg_rw rw, int brkcow, int anypgsz, int pgflags, struct cred *cred) argument 2398 anon_private( struct anon **app, struct seg *seg, caddr_t addr, uint_t prot, page_t *opp, int oppflags, struct cred *cred) argument 2541 anon_map_privatepages( struct anon_map *amp, ulong_t start_idx, uint_t szc, struct seg *seg, caddr_t addr, uint_t prot, page_t *ppa[], struct vpage vpage[], int anypgsz, int pgflags, struct cred *cred) argument 2862 uint_t l_szc, szc, prot; local 3189 anon_map_demotepages( struct anon_map *amp, ulong_t start_idx, struct seg *seg, caddr_t addr, uint_t prot, struct vpage vpage[], struct cred *cred) argument [all...] |
H A D | vm_as.c | 1070 as_setprot(struct as *as, caddr_t addr, size_t size, uint_t prot) argument 1129 error = SEGOP_SETPROT(seg, raddr, ssize, prot); 1220 as_setwatchprot(as, saveraddr, saversize, prot); 1233 as_checkprot(struct as *as, caddr_t addr, size_t size, uint_t prot) argument 1280 error = SEGOP_CHECKPROT(seg, raddr, ssize, prot); 3371 uint_t prot; local 3386 SEGOP_GETPROT(seg, vaddr, 0, &prot) != 0) 3389 pwp->wp_oprot = prot; 3391 prot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); 3393 prot 3418 uint_t prot; local 3452 as_setwatchprot(struct as *as, caddr_t addr, size_t size, uint_t prot) argument 3513 uint_t prot; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 197 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock); 981 struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, 1014 hat_devload(hat, addr, MMU_PAGESIZE, pfn, prot | sdp->hat_attr, 1017 hat_devload(kas.a_hat, addr, MMU_PAGESIZE, pfn, prot, 980 rootnex_map_fault(dev_info_t *dip, dev_info_t *rdip, struct hat *hat, struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) argument
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 2040 uint8_t prot, 2085 vn_a.prot = prot; 2107 uint8_t prot, 2135 uint32_t prot, 2034 udf_map( struct vnode *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uint8_t prot, uint8_t maxprot, uint32_t flags, struct cred *cr, caller_context_t *ct) argument 2102 udf_addmap(struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint8_t prot, uint8_t maxprot, uint32_t flags, struct cred *cr, caller_context_t *ct) argument 2130 udf_delmap( struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint32_t prot, uint32_t maxprot, uint32_t flags, struct cred *cr, caller_context_t *ct) argument
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 2176 uchar_t prot, 2218 vn_a.prot = prot; 2243 uchar_t prot, 2260 uint_t prot, 2170 tmp_map( struct vnode *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cred, caller_context_t *ct) argument 2237 tmp_addmap( struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cred, caller_context_t *ct) argument 2254 tmp_delmap( struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cred, caller_context_t *ct) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | dns-sd.c | 1674 DNSServiceProtocol prot = GetProtocol(argv[opi+0]); // Must specify TCP or UDP local 1680 err = DNSServiceNATPortMappingCreate(&client, 0, 0, prot, intp.NotAnInteger, extp.NotAnInteger, ttl, port_mapping_create_reply, NULL);
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1288 int i, prot, error; local 1338 prot = PROT_USER; 1340 prot |= PROT_READ; 1342 prot |= PROT_WRITE; 1344 prot |= PROT_EXEC; 1372 (prot & PROT_WRITE)) { 1385 (prot & PROT_WRITE)) { 1404 prot, page, szc)) 1410 zfodsz, phdr->p_offset, prot, page, 0)) 1594 uint_t prot; local 2030 uint_t prot; local [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 1620 uint_t prot; local 1642 prot = pr_getprot(seg, reserved, &tmp, 1653 if (prot & PROT_READ) 1655 if (prot & PROT_WRITE) 1657 if (prot & PROT_EXEC) 1731 uint_t prot; local 1753 prot = pr_getprot(seg, reserved, &tmp, 1764 if (prot & PROT_READ) 1766 if (prot & PROT_WRITE) 1768 if (prot 1941 uint_t prot; local 2088 uint_t prot; local 3308 uint_t prot; local 3363 uint_t prot; local 3522 uint_t prot = pwp->wp_oprot; local 3566 getwatchprot(struct as *as, caddr_t addr, uint_t *prot) argument 3688 uint_t prot, nprot; local 3848 uint_t prot; local 4010 uint_t prot; local 4206 uint_t prot; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | exec.c | 1179 off_t offset, int prot, int page, uint_t szc) 1201 if ((prot & (PROT_WRITE | PROT_EXEC)) == PROT_EXEC) { 1207 if (valid_usr_range(addr, len, prot, p->p_as, 1213 p->p_as, &addr, len, prot, PROT_ALL, 1249 if (valid_usr_range(addr, len, prot, p->p_as, 1268 if (prot != PROT_ZFOD) { 1270 len, prot); 1339 if (valid_usr_range(zfodbase, zfodlen, prot, p->p_as, 1364 if (prot != PROT_ZFOD) { 1366 zfodlen, prot); 1178 execmap(struct vnode *vp, caddr_t addr, size_t len, size_t zfodlen, off_t offset, int prot, int page, uint_t szc) argument [all...] |
H A D | mmapobj.c | 527 mmapobj_dummy(dev_t dev, off_t off, int prot) argument 592 dev_a.prot = dev_a.maxprot = (uchar_t)PROT_NONE; 918 int prot = PROT_USER | PROT_READ; local 938 error = VOP_MAP(vp, 0, as, &addr, len, prot, PROT_ALL, 945 mrp[0].mr_prot = prot; 971 error = VOP_MAP(vp, 0, as, &addr, len, prot, PROT_ALL, ma_flags, 985 mrp[1].mr_prot = prot; 1009 * prot - protections for this mapping 1014 off_t offset, int prot, cred_t *fcred) 1051 if ((prot 1013 mmapobj_map_ptload(struct vnode *vp, caddr_t addr, size_t len, size_t zfodlen, off_t offset, int prot, cred_t *fcred) argument 1227 int prot; local 1558 int prot; local 2083 int prot = PROT_USER | PROT_READ | PROT_EXEC; local [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 2863 int prot, 2886 if (DB_SEG_PROT(hdp, seg) != prot) { 2889 seg, idx, DB_SEG_PROT(hdp, seg), prot); 2904 addr = mmap(0, slen, prot, MAP_SHARED, DB(hdp)->db_fd, off); 2908 (void) dprintf(DBG_ERR, "map_seg: args: len=%lu, prot=%d," 2909 " fd=%d, off=%ld\n", (ulong_t)slen, prot, DB(hdp)->db_fd, 2915 DB_SEG_PROT(hdp, seg) = prot; 2917 (void) dprintf(DBG_STEP, "map_seg: seg[%d]: len=%lu, prot=%d, fd=%d, " 2918 "off=%ld, seg_base=%p\n", seg, (ulong_t)slen, prot, DB(hdp)->db_fd, 2860 map_seg( struct di_devlink_handle *hdp, uint32_t idx, int prot, db_seg_t seg) argument
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecah.c | 1748 ipsec_prot_t *prot; local 1775 prot = &ap->ipa_act.ipa_apply; 1777 ASSERT(prot->ipp_auth_alg > 0); 1780 [prot->ipp_auth_alg]; 1794 MAX(prot->ipp_ah_minbits, aalg->alg_ef_minbits); 1796 MIN(prot->ipp_ah_maxbits, aalg->alg_ef_maxbits);
|
H A D | ipsecesp.c | 1194 ipsec_prot_t *prot; local 1224 prot = &ap->ipa_act.ipa_apply; 1226 if (!(prot->ipp_use_esp)) 1229 if (prot->ipp_esp_auth_alg != 0) { 1231 [prot->ipp_esp_auth_alg]; 1236 ASSERT(prot->ipp_encr_alg > 0); 1238 [prot->ipp_encr_alg]; 1246 MAX(prot->ipp_espe_minbits, ealg->alg_ef_minbits); 1248 MIN(prot->ipp_espe_maxbits, ealg->alg_ef_maxbits); 1257 MAX(prot [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fem.c | 1285 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, 1298 errc = (*func)(arg0, off, as, addrp, len, prot, maxprot, 1306 errc = (*func)(arg0, off, as, addrp, len, prot, maxprot, 1315 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, 1328 errc = (*func)(arg0, off, as, addr, len, prot, maxprot, 1337 errc = (*func)(arg0, off, as, addr, len, prot, maxprot, 1346 size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, 1359 errc = (*func)(arg0, off, as, addr, len, prot, maxprot, 1368 errc = (*func)(arg0, off, as, addr, len, prot, maxprot, 2506 size_t len, uchar_t prot, uchar_ 1284 vhead_map(vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 1314 vhead_addmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 1345 vhead_delmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 2505 vnext_map(femarg_t *vf, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 2522 vnext_addmap(femarg_t *vf, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 2539 vnext_delmap(femarg_t *vf, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vnops.c | 5214 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, 5308 vn_a.prot = (uchar_t)prot; 5328 size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, 5556 size_t len, uint_t prot, uint_t maxprot, uint_t flags, 5633 dmapp->prot = prot; 5213 nfs3_map(vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 5327 nfs3_addmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 5555 nfs3_delmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument
|
H A D | nfs_dlinet.c | 1863 rpcprog_t prog, rpcvers_t vers, rpcprot_t prot) 1878 pmap_parms.pm_prot = prot; 1862 pmap_kgetport(struct knetconfig *knconf, struct netbuf *call_addr, rpcprog_t prog, rpcvers_t vers, rpcprot_t prot) argument
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 192 uint_t prot; member in struct:nfs_delmap_args
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | nic_cmn.h | 480 prot:4, member in struct:__anon6354::__anon6355
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 72 uint_t prot, 260 uint_t prot, 253 usba_hubdi_map_fault(dev_info_t *dip, dev_info_t *rdip, struct hat *hat, struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) argument
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | util.c | 3145 dz_map(Lm_list *lml, caddr_t addr, size_t len, int prot, int flags) argument 3149 if ((va = (caddr_t)mmap(addr, len, prot, 3162 nu_map(Lm_list *lml, caddr_t addr, size_t len, int prot, int flags) argument 3177 if ((va = (caddr_t)mmap(addr, len, prot, flags, nu_fd, 0)) ==
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 2927 uint_t prot; local 3066 prot = PROT_USER | PROT_READ | HAT_UNORDERED_OK; 3068 prot |= PROT_WRITE; 3070 prot |= PROT_EXEC; 3075 while (hati_load_common(hat, vaddr, pp, prot, flags,
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 5610 uchar_t prot, 5712 vn_a.prot = prot; 5735 uchar_t prot, 5756 size_t len, uint_t prot, uint_t maxprot, uint_t flags, 5605 ufs_map(struct vnode *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument 5730 ufs_addmap(struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument 5755 ufs_delmap(struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument
|