Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/
H A Dashmem_fuzzer.cpp56 int prot = dataProvider->ConsumeIntegral<int>(); in AshmemTestFunc() local
57 ashmem->SetProtection(prot); in AshmemTestFunc()
/commonlibrary/memory_utils/libpurgeablemem/common/src/
H A Dux_page_table_c.c149 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 Dashmem.cpp138 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 Dashmem.h58 * @param prot Indicates the value of the protection flag.
62 int AshmemSetProt(int fd, int prot);
/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs43 pub fn AshmemSetProt(fd: i32, prot: i32) -> i32; in AshmemSetProt()

Completed in 3 milliseconds