/freebsd-11-stable/tools/bus_space/ |
H A D | bus.c | 126 r->ptr = mmap(NULL, r->size, PROT_READ | PROT_WRITE,
|
/freebsd-11-stable/tools/tools/ncpus/ |
H A D | acpi.c | 199 map->va = mmap(0, size, PROT_READ, MAP_SHARED, acpi_mem_fd, pa);
|
/freebsd-11-stable/tools/tools/netrate/http/ |
H A D | http.c | 281 pagebuffer = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0);
|
/freebsd-11-stable/tools/tools/netrate/httpd/ |
H A D | httpd.c | 225 pagebuffer = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0);
|
/freebsd-11-stable/tools/tools/pciroms/ |
H A D | pciroms.c | 316 map_addr = mmap(NULL, romsize, PROT_READ, MAP_SHARED|MAP_NOCORE,
|
/freebsd-11-stable/tools/tools/pirtool/ |
H A D | pirtool.c | 94 map_addr = mmap(NULL, PIR_SIZE, PROT_READ, MAP_SHARED, mem_fd,
|
/freebsd-11-stable/usr.bin/look/ |
H A D | look.c | 156 if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED)
|
/freebsd-11-stable/usr.bin/xlint/lint1/ |
H A D | mem1.c | 180 prot = PROT_READ | PROT_WRITE;
|
/freebsd-11-stable/usr.sbin/rpc.statd/ |
H A D | file.c | 191 mmap(NULL, 0x10000000, PROT_READ | PROT_WRITE, MAP_SHARED, status_fd, 0);
|
/freebsd-11-stable/contrib/netbsd-tests/net/bpf/ |
H A D | t_bpf.c | 132 iov[0].iov_base = mmap(NULL, sz, PROT_READ, MAP_ANON, -1, 0);
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_spec.c | 181 PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
|
/freebsd-11-stable/sbin/ldconfig/ |
H A D | elfhints.c | 212 mapbase = mmap(NULL, s.st_size, PROT_READ|PROT_WRITE,
|
/freebsd-11-stable/usr.sbin/cpucontrol/ |
H A D | amd10h.c | 170 fw_image = (uint8_t *)mmap(NULL, st.st_size, PROT_READ,
|
H A D | intel.c | 172 fw_image = (uint32_t *)mmap(NULL, st.st_size, PROT_READ,
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | inout.c | 146 prot = in ? PROT_WRITE : PROT_READ;
|
/freebsd-11-stable/usr.bin/ktrdump/ |
H A D | ktrdump.c | 186 buf = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, in, 0);
|
/freebsd-11-stable/usr.bin/grep/ |
H A D | file.c | 297 buffer = mmap(NULL, fsiz, PROT_READ, flags,
|
/freebsd-11-stable/usr.bin/locate/locate/ |
H A D | locate.c | 305 PROT_READ, MAP_SHARED,
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_mac.cpp | 53 val = (void *)internal_mmap(nullptr, size, PROT_READ | PROT_WRITE,
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 93 void *addr = Mmap(nullptr, size + guard, PROT_READ | PROT_WRITE,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Path.inc | 780 int prot = (Mode == readonly) ? PROT_READ : (PROT_READ | PROT_WRITE); 789 // with PROT_READ, so take care not to specify them otherwise.
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.c | 610 stream.ibuf = mmap(NULL, *size, PROT_READ | PROT_WRITE, 647 mprotect(stream.ibuf, *size, PROT_READ | PROT_EXEC) != 0) {
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | configfile.c | 126 char * txt = text_mmap(fname, PROT_READ, MAP_PRIVATE, &cfgfile); 420 text_mmap(fname, PROT_READ|PROT_WRITE, MAP_PRIVATE, &cfgfile);
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | bpf_jit_machdep.c | 639 stream.ibuf = mmap(NULL, *size, PROT_READ | PROT_WRITE, 676 mprotect(stream.ibuf, *size, PROT_READ | PROT_EXEC) != 0) {
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_instruction_emul.c | 808 PROT_READ, seg, VM_REG_GUEST_RSI, &srcaddr, &fault); 812 error = vm_copy_setup(vm, vcpuid, paging, srcaddr, opsize, PROT_READ, 869 PROT_READ, &srcgpa, &fault); 1483 rsp, size, stackaddrsize, pushop ? PROT_WRITE : PROT_READ, 1500 pushop ? PROT_WRITE : PROT_READ, copyinfo, nitems(copyinfo), 1799 KASSERT((prot & ~(PROT_READ | PROT_WRITE)) == 0, 1835 if (prot & PROT_READ) { 2151 prot = PROT_READ | PROT_EXEC;
|