Lines Matching refs:PROT_READ
794 int result = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE);
798 void* ptr = ::mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
802 result = ashmem_set_prot_region(fd, PROT_READ);
1193 void* ptr = ::mmap(NULL, len, PROT_READ, MAP_SHARED, fd, 0);