Home
last modified time | relevance | path

Searched refs:PROT_WRITE (Results 1 – 25 of 225) sorted by relevance

123456789

/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dxmmap.c37 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, in xmmap()
40 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap()
55 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap()
/titanic_41/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, in main()
72 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, in main()
90 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
99 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
H A Dinz_region.c40 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, in main()
H A Darc4random_fork.c50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in main()
H A Darc4random_forkall.c50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in main()
H A Dinz_mlock.c40 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, in main()
H A Dinz_child.c42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, in main()
H A Dinz_split.c42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, in main()
/titanic_41/usr/src/uts/common/sys/
H A Dmman.h67 #define PROT_WRITE 0x2 /* pages can be written */ macro
72 #define PROT_ZFOD (PROT_READ | PROT_WRITE | PROT_EXEC | PROT_USER)
73 #define PROT_ALL (PROT_READ | PROT_WRITE | PROT_EXEC | PROT_USER)
102 #define PROC_DATA (PROT_READ | PROT_WRITE | PROT_EXEC)
105 #define VALID_ATTR (PROT_READ|PROT_WRITE|PROT_EXEC|SHARED|PRIVATE)
/titanic_41/usr/src/lib/libast/common/features/
H A Dmmap69 mm = mmap((caddr_t)0, sizeof(buf), (PROT_READ|PROT_WRITE),
73 mm = mmap(mm, sizeof(buf), (PROT_READ|PROT_WRITE),
97 (PROT_READ|PROT_WRITE),
105 (PROT_READ|PROT_WRITE),
168 if (!(s = mmap64((caddr_t)0, (size_t)n, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, off)))
198 addr = mmap(0,1024*1024,PROT_READ|PROT_WRITE,MAP_ANON|MAP_PRIVATE,-1,0);
217 addr = mmap(0,1024*1024,PROT_READ|PROT_WRITE,MAP_PRIVATE,fd,0);
295 (PROT_READ|PROT_WRITE),
/titanic_41/usr/src/uts/i86pc/os/
H A Dppage.c80 HAT_STORECACHING_OK | PROT_READ | PROT_WRITE | HAT_NOSYNC, in i86_pp_map()
95 HAT_STORECACHING_OK | PROT_READ | PROT_WRITE | HAT_NOSYNC, in i86_va_map()
/titanic_41/usr/src/uts/common/os/
H A Durw.c149 (PROT_READ | PROT_WRITE) : PROT_READ, (caddr_t)-1); in mapin()
162 writing ? (PROT_READ | PROT_WRITE) : PROT_READ, HAT_LOAD_LOCK); in mapin()
190 uint_t prot_rw = writing ? PROT_WRITE : PROT_READ; in urw()
/titanic_41/usr/src/cmd/sgs/link_audit/common/
H A Ddumpbind.c169 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0)) == MAP_FAILED) { in main()
191 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0)) == MAP_FAILED) { in main()
H A Dbindings.c121 if ((new_bhp = mmap(0, bhp->bh_size, PROT_READ | PROT_WRITE, in remap_buffer()
255 PROT_READ | PROT_WRITE, in la_version()
291 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)) == in la_version()
/titanic_41/usr/src/lib/libbc/csu/common/
H A Dalloc_pbuf.c41 buf = (char*) mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dmman.h42 #define PROT_WRITE 0x2 /* pages can be written */ macro
/titanic_41/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c114 base = (Void_t*)mmap(mm->base, mm->size, PROT_READ|PROT_WRITE,
128 base = (Void_t*)mmap(addr, (size_t)size, PROT_READ|PROT_WRITE,
194 caddr = (Void_t*)mmap(caddr, csize, PROT_READ|PROT_WRITE,
/titanic_41/usr/src/uts/sun4v/vm/
H A Dmach_kpm.c65 PROT_READ | PROT_WRITE, in mach_kpm_init()
247 mmu_ptob(end - base), base, PROT_READ | PROT_WRITE, in hat_kpm_addmem_mseg_update()
/titanic_41/usr/src/lib/libctf/common/
H A Dctf_subr.c37 return (mmap(NULL, size, PROT_READ | PROT_WRITE, in ctf_data_alloc()
/titanic_41/usr/src/uts/sun4v/os/
H A Dppage.c280 to_va = ppmapin(to_pp, PROT_READ | PROT_WRITE, fm_va); in ppcopy()
343 va = ppmapin(pp, PROT_READ | PROT_WRITE, (caddr_t)-1); in pagezero()
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Doutput.c60 (p = mmap((char *)0, sz, PROT_READ+PROT_WRITE, in _elf_outmap()
/titanic_41/usr/src/lib/libmtmalloc/tests/
H A Dexhaust.c65 stacks[ncpus] = mmap(0, 1<<23, PROT_READ|PROT_WRITE, in main()
/titanic_41/usr/src/lib/libtnfctl/
H A Dprb_shmem.c64 PROT_READ | PROT_WRITE, MAP_SHARED, in prb_shmem_init()
/titanic_41/usr/src/lib/libc/port/threads/
H A Dalloc.c116 PROT_READ | PROT_WRITE | PROT_EXEC, in initial_allocation()
193 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in lmalloc()
/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c339 PROT_READ | PROT_WRITE, in update_fabric_wwn_list()
458 if ((t_repbuf = (char *)mmap(0, size, PROT_READ|PROT_WRITE, in update_fabric_wwn_list()
555 PROT_READ|PROT_WRITE, in update_fabric_wwn_list()

123456789