Searched refs:prot (Results 1 - 25 of 94) sorted by relevance

1234

/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/llvm/lib/Support/Windows/
H A DMemory.inc85 DWORD prot = getProtection(Addr);
86 if (!prot)
89 if (prot == PAGE_EXECUTE || prot == PAGE_EXECUTE_READ) {
90 prot = PAGE_EXECUTE_READWRITE;
91 } else if (prot == PAGE_NOACCESS || prot == PAGE_READONLY) {
92 prot = PAGE_READWRITE;
97 return ::VirtualProtect(const_cast<LPVOID>(Addr), Size, prot, &oldProt)
102 DWORD prot
[all...]
/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/valgrind/main/helgrind/tests/
H A Dtc06_two_races.c9 int unprot1 = 0, unprot2 = 0, prot = 0; variable
16 prot ++;
33 prot ++;
/external/kernel-headers/original/linux/
H A Dvmalloc.h44 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
46 pgprot_t prot);
48 pgprot_t prot, int node);
52 unsigned long flags, pgprot_t prot);
68 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
/external/grub/stage2/
H A Dvstafs.h58 struct prot struct
73 struct prot pprot;
/external/valgrind/main/coregrind/
H A Dpub_core_aspacemgr.h79 client with at least the permissions 'prot' ? To find out
81 VKI_PROT_NONE as 'prot'. Will return False if any part of the
86 // ( Addr start, SizeT len, UInt prot );
93 ( Addr start, SizeT len, UInt prot );
159 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset );
162 ( Addr a, SizeT len, UInt prot, UInt flags, HChar* fileName, Off64T offset );
168 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot );
179 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot );
195 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset);
209 ( Addr start, SizeT length, UInt prot, In
377 UInt prot; // Not used for removed segs. member in struct:__anon14383
[all...]
H A Dpub_core_debuginfo.h70 extern void VG_(di_notify_mprotect)( Addr a, SizeT len, UInt prot );
78 extern void VG_(di_notify_vm_protect)( Addr a, SizeT len, UInt prot );
/external/tcpdump/
H A Dprint-gre.c122 u_int16_t flags, prot; local
134 prot = EXTRACT_16BITS(bp);
197 tok2str(ethertype_values,"unknown",prot),
198 prot);
207 switch (prot) {
229 printf("gre-proto-0x%x", prot);
241 u_int16_t flags, prot; local
253 prot = EXTRACT_16BITS(bp);
290 tok2str(ethertype_values,"unknown",prot),
291 prot);
[all...]
/external/oprofile/module/x86/
H A Dop_fixmap.c43 pgprot_t prot; local
51 prot = PAGE_KERNEL;
53 pgprot_val(prot) |= _PAGE_PCD;
55 pgprot_val(prot) |= _PAGE_GLOBAL;
56 set_pte(pte, mk_pte_phys(phys, prot));
H A Dop_syscalls.c29 unsigned long prot; member in struct:mmap_arg_struct
144 static void out_mmap(ulong addr, ulong len, ulong prot, ulong flags, ulong fd, argument
167 ulong prot, ulong flags, ulong fd, ulong pgoff)
173 ret = old_sys_mmap2(addr, len, prot, flags, fd, pgoff);
175 if ((prot & PROT_EXEC) && ret >= 0)
176 out_mmap(ret, len, prot, flags, fd, pgoff << PAGE_SHIFT);
199 if (a.prot&PROT_EXEC)
200 out_mmap(ret, a.len, a.prot, a.flags, a.fd, a.offset);
166 my_sys_mmap2(ulong addr, ulong len, ulong prot, ulong flags, ulong fd, ulong pgoff) argument
/external/kernel-headers/original/asm-arm/
H A Dpgtable.h222 #define pfn_pte(pfn,prot) (__pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)))
271 * Mark the prot value as uncacheable and unbufferable.
273 #define pgprot_noncached(prot) __pgprot(pgprot_val(prot) & ~(L_PTE_CACHEABLE | L_PTE_BUFFERABLE))
274 #define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~L_PTE_CACHEABLE)
315 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page),prot)
373 * remap a physical page `pfn' of size `size' with page protection `prot'
[all...]
/external/kernel-headers/original/asm-x86/
H A Dpgtable-2level.h56 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
57 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
H A Dcacheflush.h28 int change_page_attr(struct page *page, int numpages, pgprot_t prot);
29 int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot);
/external/valgrind/main/coregrind/m_aspacemgr/
H A Daspacemgr-linux.c349 void (*record_mapping)( Addr addr, SizeT len, UInt prot,
877 static void sync_check_mapping_callback ( Addr addr, SizeT len, UInt prot, argument
976 if (sloppyXcheck && (prot & VKI_PROT_EXEC) != 0) {
981 && seg_prot == prot
1004 prot & VKI_PROT_READ ? 'r' : '-',
1005 prot & VKI_PROT_WRITE ? 'w' : '-',
1006 prot & VKI_PROT_EXEC ? 'x' : '-',
1285 least the "prot" protection permissions by examining the underlying
1289 Bool is_valid_for_client( Addr start, SizeT len, UInt prot, Bool freeOk ) argument
1299 needR = toBool(prot
1550 read_maps_callback( Addr addr, SizeT len, UInt prot, ULong dev, ULong ino, Off64T offset, const UChar* filename ) argument
2008 am_notify_client_mmap( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ) argument
2050 am_notify_fake_client_mmap( Addr a, SizeT len, UInt prot, UInt flags, HChar* fileName, Off64T offset ) argument
2231 am_mmap_file_fixed_client( Addr start, SizeT length, UInt prot, Int fd, Off64T offset ) argument
2237 am_mmap_named_file_fixed_client( Addr start, SizeT length, UInt prot, Int fd, Off64T offset, const HChar *name ) argument
2543 am_mmap_file_float_valgrind_flags( SizeT length, UInt prot, UInt flags, Int fd, Off64T offset ) argument
2616 am_mmap_file_float_valgrind( SizeT length, UInt prot, Int fd, Off64T offset ) argument
2624 am_shared_mmap_file_float_valgrind( SizeT length, UInt prot, Int fd, Off64T offset ) argument
2855 UInt prot; local
3237 parse_procselfmaps( void (*record_mapping)( Addr addr, SizeT len, UInt prot, ULong dev, ULong ino, Off64T offset, const UChar* filename ), void (*record_gap)( Addr addr, SizeT len ) ) argument
3248 UInt prot; local
3444 parse_procselfmaps( void (*record_mapping)( Addr addr, SizeT len, UInt prot, ULong dev, ULong ino, Off64T offset, const UChar* filename ), void (*record_gap)( Addr addr, SizeT len ) ) argument
3500 add_mapping_callback(Addr addr, SizeT len, UInt prot, ULong dev, ULong ino, Off64T offset, const UChar *filename) argument
[all...]
/external/openssh/openbsd-compat/
H A Dxcrypt.c37 # include <prot.h>
43 # include <prot.h>
/external/qemu/target-mips/
H A Dhelper.c38 int no_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, argument
42 *prot = PAGE_READ | PAGE_WRITE;
47 int fixed_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, argument
60 *prot = PAGE_READ | PAGE_WRITE;
65 int r4k_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, argument
96 *prot = PAGE_READ;
98 *prot |= PAGE_WRITE;
109 int *prot, target_ulong address,
131 *prot = PAGE_READ | PAGE_WRITE;
133 ret = env->tlb->map_address(env, physical, prot, addres
108 get_physical_address(CPUState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type) argument
378 int prot = PAGE_READ; local
403 int prot; local
449 int prot; local
[all...]
/external/kernel-headers/original/asm-mips/
H A Dpgtable.h309 unsigned long prot = pgprot_val(_prot); local
311 prot = (prot & ~_CACHE_MASK) | _CACHE_UNCACHED;
313 return __pgprot(prot);
354 extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);
360 pgprot_t prot)
363 return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot);
366 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
367 remap_pfn_range(vma, vaddr, pfn, size, prot)
356 io_remap_pfn_range(struct vm_area_struct *vma, unsigned long vaddr, unsigned long pfn, unsigned long size, pgprot_t prot) argument
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
H A DSecurityAgreeHeader.java74 * Set Protocol (prot paramater)
75 * @param prot - protocol value
78 public void setProtocol(String prot) throws ParseException; argument
145 * @return prot parameter value
/external/qemu/android/utils/
H A Dmapfile.h94 * prot - Determines whether read, write, execute, or some combination of
114 int prot,
H A Dmapfile.c154 int prot,
192 if (prot != PROT_NONE) {
193 if ((prot & (PROT_WRITE | PROT_EXEC)) == 0) {
196 } else if ((prot & (PROT_WRITE | PROT_EXEC)) ==
200 } else if ((prot & PROT_WRITE) == PROT_WRITE) {
203 } else if ((prot & PROT_EXEC) == PROT_EXEC) {
151 mapfile_map(MapFile* handle, size_t offset, size_t size, int prot, void** mapped_offset, size_t* mapped_size) argument
/external/valgrind/main/include/
H A Dpub_tool_aspacemgr.h144 UInt prot );
/external/libffi/src/
H A Dclosures.c353 dlmmap_locked (void *start, size_t length, int prot, int flags, off_t offset) argument
374 ptr = mmap (NULL, length, (prot & ~PROT_WRITE) | PROT_EXEC,
390 start = mmap (start, length, prot, flags, execfd, offset);
409 dlmmap (void *start, size_t length, int prot, argument
415 && prot == (PROT_READ | PROT_WRITE)
425 ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset);
432 with ((prot & ~PROT_WRITE) | PROT_EXEC) and mremap with
433 MREMAP_DUP and prot at this point. */
439 ptr = dlmmap_locked (start, length, prot, flags, offset);
445 return dlmmap_locked (start, length, prot, flag
[all...]
/external/oprofile/module/ia64/
H A Dop_syscalls.c36 unsigned long prot; member in struct:mmap_arg_struct
182 static void out_mmap(ulong addr, ulong len, ulong prot, ulong flags, argument
210 ulong prot, ulong flags, ulong fd, ulong pgoff)
215 if ((prot & PROT_EXEC) && ret >= 0)
216 out_mmap(ret, len, prot, flags, fd, pgoff << PAGE_SHIFT);
223 ulong prot, ulong flags, ulong fd, ulong off)
228 if ((prot & PROT_EXEC) && ret >= 0)
229 out_mmap(ret, len, prot, flags, fd, off);
209 post_sys_mmap2(ulong ret, ulong addr, ulong len, ulong prot, ulong flags, ulong fd, ulong pgoff) argument
222 post_sys_mmap(ulong ret, ulong addr, ulong len, ulong prot, ulong flags, ulong fd, ulong off) argument
/external/clang/test/CXX/class.access/
H A Dp4.cpp63 void test(A &a, Public &pub, Protected &prot, Private &priv) { argument
65 a + prot; // expected-error {{'operator+' is a protected member}} local
68 a[prot]; // expected-error {{'operator[]' is a protected member}}
71 a(prot); // expected-error {{'operator()' is a protected member}}
77 ca + prot; local
82 ca(prot); // expected-error {{'operator void (*)(class Protected &)' is a protected member}}

Completed in 2938 milliseconds

1234