Searched defs:prot (Results 1 - 25 of 115) sorted by relevance

12345

/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dcomm_page_util.c44 uint_t prot = PROT_USER | PROT_READ; local
48 if (addr == NULL || valid_usr_range(addr, len, prot, p->p_as,
54 suarg.prot = suarg.maxprot = prot;
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.h42 uchar_t prot; member in struct:segmf_crargs
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_context.c66 int prot = sysconf(_SC_STACK_PROT); local
72 if (prot == -1)
73 prot = PROT_READ | PROT_WRITE | PROT_EXEC;
77 c->ctx_stack = mmap(NULL, c->ctx_stacksize, prot,
90 c->ctx_stack = mmap(NULL, c->ctx_stacksize, prot,
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_mmap.c40 void *addr, size_t len, int prot, int flags, int fd, off_t off)
48 return (mmap(addr, len, prot, flags, fd, off));
64 adp++; /* prot argument */
65 adp->arg_value = (long)prot;
142 pr_zmap(struct ps_prochandle *Pr, void *addr, size_t len, int prot, int flags) argument
144 return (pr_mmap(Pr, addr, len, prot, flags | MAP_ANON, -1, (off_t)0));
39 pr_mmap(struct ps_prochandle *Pr, void *addr, size_t len, int prot, int flags, int fd, off_t off) argument
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_umap.h25 uchar_t prot; /* protection */ member in struct:segumap_crargs
H A Dseg_kpm.h49 uint_t prot; member in struct:segkpm_crargs
H A Dseg_dev.h54 int (*mapfunc)(dev_t dev, off_t off, int prot); /* map function */
57 uchar_t prot; /* protection */ member in struct:segdev_crargs
86 int (*mapfunc)(dev_t dev, off_t off, int prot);
89 uchar_t prot; /* current segment prot if pageprot == 0 */ member in struct:segdev_data
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_map.c343 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/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c59 off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred,
63 int (*mapfunc)(dev_t dev, off_t off, int prot);
143 dev_a.prot = (uchar_t)prot;
58 gfxp_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
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_ef.c77 char lbuf[128], len[8], prot[8], time[8], *s; local
89 if (sscanf(lbuf, "%7s %7s %15s %15s %15s %15s", len, prot, src, dst,
92 len, prot, src, dst, sprt, dprt) != 7)
95 ip->ip_p = getproto(prot);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfds.c180 int prot; local
261 prot = 0;
268 len = sizeof(prot);
269 if (getsockopt(i, SOL_SOCKET, SO_PROTOTYPE, (void*)&prot, (void*)&len))
270 prot = -1;
296 if (prot == IPPROTO_SCTP)
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c274 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock)
285 rdip, hat, seg, addr, dp, pfn, prot, lock));
272 i_ddi_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/sparc/os/
H A Dddi_arch.c147 struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock)
158 rdip, hat, seg, addr, dp, pfn, prot, lock));
145 i_ddi_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/rpcbind/
H A Dpmap_svc.c145 find_service_pmap(rpcprog_t prog, rpcvers_t vers, rpcprot_t prot) argument
154 (pml->pml_map.pm_prot != prot))
/illumos-gate/usr/src/uts/common/os/
H A Durw.c189 uint_t prot; local
209 SEGOP_GETPROT(seg, page, 0, &prot);
212 if ((prot & prot_rw) == 0) {
214 err = SEGOP_SETPROT(seg, page, PAGESIZE, prot | prot_rw);
246 (void) SEGOP_SETPROT(seg, page, PAGESIZE, prot);
295 if (writing && (prot & PROT_EXEC))
306 (void) SEGOP_SETPROT(seg, page, PAGESIZE, prot);
H A Dvm_subr.c312 uint_t prot; local
314 prot = PROT_USER | ((access == B_READ) ? PROT_READ : PROT_WRITE);
315 return (as_checkprot(ttoproc(curthread)->p_as, addr, count, prot));
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c194 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; local
201 ptr = mmap((void *)CHUNKSIZE, size, prot,
238 ptr = mmap((void *)CHUNKSIZE, bsize, prot,
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_kdi.c155 uint_t prot; local
165 if (kbm_probe(&vaddr, &len, &pfn, &prot) == 0)
H A Di86_mmu.c87 uint_t prot; local
93 if (kbm_probe(&va, &len, &pfn, &prot) == 0)
236 uint_t prot; local
326 while (kbm_probe(&va, &size, &pfn, &prot) != 0) {
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dvstafs.h58 struct prot struct
73 struct prot pprot;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/
H A Dsppptun.c63 int (*attach)(struct protos *prot, char *linkname,
89 sppp_dlpi(struct protos *prot, char *linkname, struct attach_data *adata) argument
189 struct protos *prot; local
196 for (prot = proto_list; prot->name != NULL; prot++)
197 (void) printf("\t%s\t%s\n", prot->name, prot->desc);
218 for (prot = proto_list; prot
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dppage.c267 pp_load_tlb(processorid_t cpu, caddr_t **pslot, page_t *pp, uint_t prot) argument
284 if (prot & TTE_HWWR_INT) {
339 TTE_CV_INT | TTE_PRIV_INT | TTE_LCK_INT | prot;
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd.c119 * addr = mmap(NULL, size, prot, MAP_SHARED, fd, 0);
197 * addr = mmap(NULL, size, prot, MAP_SHARED, fd, 0);
307 off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr)
342 a.prot = (uchar_t)prot;
306 privcmd_segmap(dev_t dev, off_t off, struct as *as, caddr_t *addrp, off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr) argument
/illumos-gate/usr/src/uts/sparc/v9/vm/
H A Dseg_nf.c66 size_t len, uint_t prot);
68 size_t len, uint_t prot);
179 uint_t prot; local
230 prot = PROT_READ;
233 prot |= PROT_USER;
235 prot | HAT_NOFAULT, HAT_LOAD);
390 segnf_setprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) argument
398 segnf_checkprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) argument
404 return ((prot & sprot) == prot
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dsmbios.c173 uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred)
187 if ((prot & PROT_WRITE) && (flags & MAP_SHARED))
172 smb_segmap(dev_t dev, off_t off, struct as *as, caddr_t *addrp, off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred) argument

Completed in 388 milliseconds

12345