Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 3 of 3) sorted by relevance

/hardware/google/av/codec2/vndk/
DC2AllocatorIon.cpp244 int prot = PROT_NONE; in map() local
247 prot |= PROT_READ; in map()
250 prot |= PROT_WRITE; in map()
260 int ret = ion_map(mIonFd, mBuffer, mapSize, prot, in map()
264 mIonFd, mBuffer, mapSize, prot, flags, mapOffset, ret); in map()
273 map.addr = mmap(nullptr, mapSize, prot, flags, mMapFd, mapOffset); in map()
276 mapSize, prot, flags, mMapFd, mapOffset, errno); in map()
/hardware/intel/common/libwsbm/src/
Dwsbm_ttmpool.c343 static void* _temp_mmap(void *addr, size_t size, int prot, int flags, int fd, long long offset) in _temp_mmap() argument
345 return __mmap2(addr, size, prot, flags, fd, (unsigned long)(offset >> MMAP2_SHIFT)); in _temp_mmap()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drvi.c752 int prot = PROT_READ | PROT_WRITE; in ipa_nati_update_cache() local
819 prot, flags, in ipa_nati_update_cache()
824 prot, flags, in ipa_nati_update_cache()