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

12345

/external/clang/test/CodeGen/
H A D2003-11-18-CondExprLValue.c5 void split_large_page(unsigned long addr, pgprot_t prot) argument
7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
/external/strace/tests/
H A Dremap_file_pages.c44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local
48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
/external/strace/tests-m32/
H A Dremap_file_pages.c44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local
48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
/external/strace/tests-mx32/
H A Dremap_file_pages.c44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local
48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
/external/valgrind/helgrind/tests/
H A Dtc06_two_races.c9 int unprot1 = 0, unprot2 = 0, prot = 0; variable
16 prot ++;
33 prot ++;
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_mman.h61 static inline void *os_mmap(void *addr, size_t length, int prot, int flags, argument
70 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12));
78 # define os_mmap(addr, length, prot, flags, fd, offset) \
79 mmap(addr, length, prot, flags, fd, offset)
/external/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cc19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, argument
21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset);
27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, argument
29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.cc59 uptr b, e, off, prot; local
60 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) {
61 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
H A Dsanitizer_linux_s390.cc30 uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, argument
35 unsigned long prot; member in struct:__sanitizer::s390_mmap_params
42 (unsigned long)prot,
H A Dsanitizer_procmaps_mac.cc161 uptr cur_beg, cur_end, prot; local
164 module_name.size(), &prot);
178 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_posix.cc118 uptr p, end, prot; local
119 while (proc_maps.Next(&p, &end, 0, 0, 0, &prot)) {
125 if (prot == 0) // Zero page or mprotected.
/external/libdrm/
H A Dlibdrm_macros.h49 static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, argument
58 return mmap64(addr, length, prot, flags, fd, offset);
68 # define drm_mmap(addr, length, prot, flags, fd, offset) \
69 mmap(addr, length, prot, flags, fd, offset)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D5-1.c9 * The prot shall be either PROT_NONE or the bitwise-inclusive OR of
17 * specified by prot, the call to mmap() shall fail.
37 int prot; member in struct:testcase
42 {.flags = MAP_SHARED,.prot = PROT_NONE},
43 {.flags = MAP_SHARED,.prot = PROT_READ},
44 {.flags = MAP_SHARED,.prot = PROT_WRITE},
45 {.flags = MAP_SHARED,.prot = PROT_EXEC},
46 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE},
47 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC},
48 {.flags = MAP_SHARED,.prot
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
H A D3-1.c43 int prot; local
72 prot = PROT_READ | PROT_WRITE;
73 pa = mmap(addr, len, prot, flag, fd, off);
H A D4-1.c52 int prot; local
74 prot = PROT_READ | PROT_WRITE;
76 pa = mmap(addr, size, prot, flag, fd, off);
97 pa = mmap(addr, size, prot, flag, fd, off);
H A D9-1.c40 int prot; local
67 prot = PROT_READ | PROT_WRITE;
68 pa = mmap(addr, len, prot, flag, fd, off);
H A D1-1.c56 int prot; local
91 prot = PROT_READ | PROT_WRITE;
92 pa = mmap(addr, len, prot, flag, fd, off);
H A D1-2.c56 int prot; local
91 prot = PROT_READ | PROT_WRITE;
92 pa = mmap(addr, len, prot, flag, fd, off);
/external/syslinux/gpxe/src/interface/efi/
H A Defi_init.c59 struct efi_protocol *prot; local
85 for_each_table_entry ( prot, EFI_PROTOCOLS ) {
86 if ( ( efirc = bs->LocateProtocol ( &prot->u.guid, NULL,
87 prot->protocol ) ) == 0 ) {
89 uuid_ntoa ( &prot->u.uuid ), *(prot->protocol));
92 uuid_ntoa ( &prot->u.uuid ) );
/external/clang/test/CXX/class.access/class.access.base/
H A Dp1.cpp12 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in class:test0::Base
20 prot++;
27 Base::prot++; member in class:test0::Test::Base
37 t->prot++; // expected-error {{protected member}}
44 t->Base::prot++; // expected-error {{protected member}}
61 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in class:test1::Base
69 prot++;
76 Base::prot++; member in class:test1::Test::Base
86 t->prot++; // expected-error {{protected member}} expected-error {{protected base class}}
94 t->Base::prot
112 int prot; // expected-note {{declared protected here}} \\ member in class:test2::Base
133 Base::prot++; member in class:test2::Test::Base
[all...]
/external/compiler-rt/lib/profile/
H A DWindowsMMap.c32 void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
34 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC))
43 if (prot & PROT_WRITE) {
44 if (prot & PROT_EXEC)
48 } else if (prot & PROT_EXEC) {
49 if (prot & PROT_READ)
51 else if (prot & PROT_EXEC)
67 if (prot & PROT_WRITE)
71 if (prot & PROT_EXEC)
/external/valgrind/coregrind/
H A Dpub_core_aspacemgr.h82 valgrind with at least the permissions 'prot' ? To find out
84 VKI_PROT_NONE as 'prot'. Will return False if any part of the
88 ( Addr start, SizeT len, UInt prot );
95 ( Addr start, SizeT len, UInt prot );
173 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset );
179 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot );
190 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot );
206 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset);
220 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset );
222 ( Addr start, SizeT length, UInt prot, UIn
371 UInt prot; // Not used for removed segs. member in struct:__anon24789
[all...]
/external/ltp/testcases/kernel/mem/vma/
H A Dvma03.c63 static void *mmap2(void *addr, size_t length, int prot,
121 static void *mmap2(void *addr, size_t length, int prot, argument
124 return (void *)syscall(SYS_mmap2, addr, length, prot,
/external/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect01.c53 int prot; member in struct:test_case
99 TEST(mprotect(TC[i].addr, TC[i].len, TC[i].prot));
/external/strace/
H A Dmem.c63 const kernel_ulong_t prot = u_arg[2]; local
69 printflags64(mmap_prot, prot, "PROT_???");
312 const kernel_ulong_t prot = tcp->u_arg[2]; local
318 printflags64(mmap_prot, prot, "PROT_???");

Completed in 601 milliseconds

12345