/illumos-gate/usr/src/uts/i86xpv/vm/ |
H A D | seg_mf.h | 41 uchar_t prot; member in struct:segmf_crargs
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 66 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 D | pr_mmap.c | 40 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/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/uts/common/vm/ |
H A D | seg_kpm.h | 49 uint_t prot; member in struct:segkpm_crargs
|
H A D | seg_dev.h | 53 int (*mapfunc)(dev_t dev, off_t off, int prot); /* map function */ 56 uchar_t prot; /* protection */ member in struct:segdev_crargs 85 int (*mapfunc)(dev_t dev, off_t off, int prot); 88 uchar_t prot; /* current segment prot if pageprot == 0 */ member in struct:segdev_data
|
H A D | seg_spt.h | 47 uint_t prot; member in struct:segspt_crargs 102 uint_t prot, uint_t flags, uint_t szc);
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_segmap.c | 61 off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred, 65 int (*mapfunc)(dev_t dev, off_t off, int prot); 145 dev_a.prot = (uchar_t)prot; 60 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 D | ipft_ef.c | 77 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 D | fds.c | 180 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/cmd/rpcbind/ |
H A D | pmap_svc.c | 145 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/intel/os/ |
H A D | ddi_arch.c | 274 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 D | ddi_arch.c | 147 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/uts/i86pc/vm/ |
H A D | hat_kdi.c | 155 uint_t prot; local 165 if (kbm_probe(&vaddr, &len, &pfn, &prot) == 0)
|
H A D | i86_mmu.c | 65 i86devmap(pfn_t pf, pgcnt_t pgcnt, uint_t prot) argument 77 prot | HAT_NOSYNC, HAT_LOAD_LOCK); 80 prot | HAT_NOSYNC, HAT_LOAD_LOCK); 168 uint_t prot; local 174 if (kbm_probe(&va, &len, &pfn, &prot) == 0) 317 uint_t prot; local 407 while (kbm_probe(&va, &size, &pfn, &prot) != 0) {
|
H A D | kboot_mmu.c | 248 kbm_probe(uintptr_t *va, size_t *len, pfn_t *pfn, uint_t *prot) argument 260 *prot = 0; 312 *prot = PROT_READ | PROT_EXEC; 314 *prot |= PROT_WRITE; 320 *prot &= ~PROT_EXEC;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | urw.c | 189 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 D | vm_subr.c | 312 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 D | alloc.c | 194 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/grub/grub-0.97/stage2/ |
H A D | vstafs.h | 58 struct prot struct 73 struct prot pprot;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/ |
H A D | sppptun.c | 63 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/cmd/lms/ |
H A D | main.cpp | 93 Protocol prot; variable 99 prot.Deinit(); 100 prot.DestroySockets(); 335 if (!prot.IsInitialized()) { 343 if (!prot.Init(log, NULL)) { 366 if (!prot.SocketsCreated()) { 367 if (!prot.CreateSockets()) { 380 prot.Select();
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | smbios.c | 167 uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred) 181 if ((prot & PROT_WRITE) && (flags & MAP_SHARED)) 166 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
|
/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) argument 284 if (prot & TTE_HWWR_INT) { 339 TTE_CV_INT | TTE_PRIV_INT | TTE_LCK_INT | prot;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_implfuncs.c | 205 psm_map_phys_new(paddr_t addr, size_t len, int prot) argument 235 prot, HAT_LOAD_LOCK); 257 psm_map_new(paddr_t addr, size_t len, int prot) argument 261 ASSERT(prot == (prot & (PSM_PROT_WRITE | PSM_PROT_READ))); 262 if (prot & PSM_PROT_WRITE) 272 psm_map_phys(uint32_t addr, size_t len, int prot) argument 274 return (psm_map_phys_new((paddr_t)(addr & 0xffffffff), len, prot)); 278 psm_map(uint32_t addr, size_t len, int prot) argument 280 return (psm_map_new((paddr_t)(addr & 0xffffffff), len, prot)); [all...] |