Searched refs:VM_MAP_REGION_FLAG_PERM_READ (Results 1 – 9 of 9) sorted by relevance
203 *flags |= VM_MAP_REGION_FLAG_PERM_READ; in OsCvtPte2AttsToFlags()342 …switch (flags & (VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_… in OsCvtSecAccessFlagsToMMUFlags()346 case VM_MAP_REGION_FLAG_PERM_READ: in OsCvtSecAccessFlagsToMMUFlags()350 case VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ: in OsCvtSecAccessFlagsToMMUFlags()354 case VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE: in OsCvtSecAccessFlagsToMMUFlags()358 … case VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE: in OsCvtSecAccessFlagsToMMUFlags()418 *flags |= VM_MAP_REGION_FLAG_PERM_READ; in OsCvtSecAttsToFlags()679 …switch (flags & (VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_… in OsCvtPte2AccessFlagsToMMUFlags()683 case VM_MAP_REGION_FLAG_PERM_READ: in OsCvtPte2AccessFlagsToMMUFlags()687 case VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ: in OsCvtPte2AccessFlagsToMMUFlags()[all …]
142 #define VM_MAP_REGION_FLAG_PERM_READ (1<<3) macro167 regionFlags |= (prot & PROT_READ) ? VM_MAP_REGION_FLAG_PERM_READ : 0; in OsCvtProtFlagsToRegionFlags()168 …regionFlags |= (prot & PROT_WRITE) ? (VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE… in OsCvtProtFlagsToRegionFlags()169 …regionFlags |= (prot & PROT_EXEC) ? (VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_EXECUT… in OsCvtProtFlagsToRegionFlags()207 (VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ)); in LOS_IsRegionPermUserReadOnly()
181 permFlags |= ((fileFlags & O_ACCMODE) ^ O_RDONLY) ? 0 : VM_MAP_REGION_FLAG_PERM_READ; in OsProtMprotectPermCheck()183 …permFlags |= (fileFlags & O_RDWR) ? (VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE)… in OsProtMprotectPermCheck()184 protFlags |= (prot & PROT_READ) ? VM_MAP_REGION_FLAG_PERM_READ : 0; in OsProtMprotectPermCheck()240 VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE | in LOS_DoBrk()
60 if ((region->regionFlags & VM_MAP_REGION_FLAG_PERM_READ) != VM_MAP_REGION_FLAG_PERM_READ) { in OsVmRegionPermissionCheck()
354 [__builtin_ffsl(VM_MAP_REGION_FLAG_PERM_READ) - 1] = " RD\0", in OsArchFlagsToStr()
1044 …region = LOS_RegionAlloc(space, 0, size, VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WR…
78 …UINT32 flag = VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PER… in OsVdsoLoad()
1660 VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | in OsUserInitStackAlloc()1858 … initSize, VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE | in OsLoadUserInit()
158 UINT32 uflags = VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_USER; in DoIpcMmap()