Searched refs:prot (Results 1 - 25 of 180) sorted by path

12345678

/external/blktrace/
H A Dblktrace.c709 static void *my_mmap(void *addr, size_t length, int prot, int flags, int fd, argument
715 new = mmap(addr, length, prot, flags, fd, offset);
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_memory.cc19 int prot = 0; local
24 prot |= PROT_READ;
26 prot |= PROT_WRITE;
28 prot |= PROT_EXEC;
29 return prot;
48 int IrtMMap(void** addr, size_t len, int prot, int flags, argument
50 const int host_prot = NaClProtToProt(prot);
73 int IrtMProtect(void* addr, size_t len, int prot) { argument
74 return CheckError(mprotect(addr, len, NaClProtToProt(prot)));
H A Dnonsfi_sandbox.cc116 const Arg<int> prot(2);
117 return If((prot & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS());
127 const Arg<int> prot(2), flags(3);
128 return If((prot & ~kAllowedProtMask) == 0 && (flags & ~kAllowedFlagMask) == 0,
/external/chromium_org/content/common/gpu/media/
H A Dexynos_v4l2_video_device.cc75 int prot,
78 return mmap(addr, len, prot, flags, device_fd_, offset);
73 Mmap(void* addr, unsigned int len, int prot, int flags, unsigned int offset) argument
H A Dexynos_v4l2_video_device.h27 int prot,
H A Dtegra_v4l2_video_device.cc30 int prot,
120 int prot,
123 return TegraV4L2_Mmap(addr, len, prot, flags, device_fd_, offset);
118 Mmap(void* addr, unsigned int len, int prot, int flags, unsigned int offset) argument
H A Dtegra_v4l2_video_device.h30 int prot,
H A Dv4l2_video_device.h65 int prot,
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_intercept.cc359 int prot,
364 return s_state.kp->mmap(addr, length, prot, flags, fd, offset);
357 ki_mmap(void* addr, size_t length, int prot, int flags, int fd, off_t offset) argument
H A Dkernel_intercept.h113 int prot,
H A Dkernel_proxy.cc910 int prot,
926 error = handle->node()->MMap(addr, length, prot, flags, offset, &new_addr);
908 mmap(void* addr, size_t length, int prot, int flags, int fd, size_t offset) argument
H A Dkernel_proxy.h145 int prot,
H A Dkernel_wrap.h97 void* mmap(void* addr, size_t length, int prot, int flags, int fd,
H A Dkernel_wrap_bionic.cc248 int prot,
253 return REAL(mmap)(addr, length, prot, flags, fd, offset);
255 *addr = ki_mmap(*addr, length, prot, flags, fd, offset);
456 int prot,
461 return REAL(mmap)(addr, length, prot, flags, fd, offset);
H A Dkernel_wrap_dummy.cc40 int prot,
38 _real_mmap(void** addr, size_t length, int prot, int flags, int fd, off_t offset) argument
H A Dkernel_wrap_glibc.cc263 int prot,
268 return REAL(mmap)(addr, length, prot, flags, fd, offset);
270 *addr = ki_mmap(*addr, length, prot, flags, fd, offset);
602 int prot,
607 return REAL(mmap)(addr, length, prot, flags, fd, offset);
H A Dkernel_wrap_newlib.cc169 int prot,
174 return REAL(mmap)(addr, length, prot, flags, fd, offset);
176 *addr = ki_mmap(*addr, length, prot, flags, fd, offset);
324 int prot,
329 return REAL(mmap)(addr, length, prot, flags, fd, offset);
H A Dkernel_wrap_real.h24 int prot,
H A Dnode.cc131 int prot,
140 if (prot & PROT_EXEC)
147 &new_addr, length, prot | PROT_WRITE, flags | MAP_ANONYMOUS, -1, 0);
129 MMap(void* addr, size_t length, int prot, int flags, size_t offset, void** out_addr) argument
H A Dnode.h84 int prot,
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/passthroughfs/
H A Dreal_node.cc107 int prot,
112 int err = _real_mmap(out_addr, length, prot, flags, real_fd_, offset);
105 MMap(void* addr, size_t length, int prot, int flags, size_t offset, void** out_addr) argument
H A Dreal_node.h40 int prot,
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dsocket_node.cc63 int prot,
61 MMap(void* addr, size_t length, int prot, int flags, size_t offset, void** out_addr) argument
H A Dsocket_node.h59 int prot,
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dkernel_proxy_test.cc685 int prot,
683 MMap(void* addr, size_t length, int prot, int flags, size_t offset, void** out_addr) argument

Completed in 343 milliseconds

12345678