Searched refs:prot (Results 1 - 5 of 5) sorted by relevance
/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/ |
H A D | ashmem_fuzzer.cpp | 56 int prot = dataProvider->ConsumeIntegral<int>(); in AshmemTestFunc() local 57 ashmem->SetProtection(prot); in AshmemTestFunc()
|
/commonlibrary/memory_utils/libpurgeablemem/common/src/ |
H A D | ux_page_table_c.c | 149 int prot = PROT_READ | PROT_WRITE; in CheckUxpt() local 153 void *dataPtr = mmap(NULL, dataSize, prot, type, -1, 0); in CheckUxpt() 162 void *ptes = mmap(NULL, uptSize, prot, type, -1, UxptePageNo((uint64_t)dataPtr) * PAGE_SIZE); in CheckUxpt() 421 int prot = PROT_READ | PROT_WRITE; in MapUxptePages() local 424 uxpte_t *ptes = (uxpte_t*)mmap(NULL, size, prot, type, -1, UxptePageNo(dataAddr) * PAGE_SIZE); in MapUxptePages()
|
/commonlibrary/c_utils/base/src/ |
H A D | ashmem.cpp | 138 int AshmemSetProt(int fd, int prot) in AshmemSetProt() argument 140 return TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_SET_PROT_MASK, prot)); in AshmemSetProt()
|
/commonlibrary/c_utils/base/include/ |
H A D | ashmem.h | 58 * @param prot Indicates the value of the protection flag. 62 int AshmemSetProt(int fd, int prot);
|
/commonlibrary/c_utils/base/src/rust/ |
H A D | ashmem.rs | 43 pub fn AshmemSetProt(fd: i32, prot: i32) -> i32; in AshmemSetProt()
|
Completed in 3 milliseconds