Searched refs:VM_MAP_REGION_FLAG_PERM_WRITE (Results 1 – 7 of 7) sorted by relevance
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_arch_mmu.c | 209 *flags |= VM_MAP_REGION_FLAG_PERM_WRITE; in OsCvtPte2AttsToFlags() 215 *flags |= VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_WRITE; in OsCvtPte2AttsToFlags() 342 … & (VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE)) { in OsCvtSecAccessFlagsToMMUFlags() 353 case VM_MAP_REGION_FLAG_PERM_WRITE: in OsCvtSecAccessFlagsToMMUFlags() 354 case VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE: in OsCvtSecAccessFlagsToMMUFlags() 357 case VM_MAP_REGION_FLAG_PERM_USER | 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() 424 *flags |= VM_MAP_REGION_FLAG_PERM_WRITE; in OsCvtSecAttsToFlags() 430 *flags |= VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_WRITE; in OsCvtSecAttsToFlags() 679 … & (VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE)) { in OsCvtPte2AccessFlagsToMMUFlags() [all …]
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_syscall.c | 182 permFlags |= (fileFlags & O_WRONLY) ? VM_MAP_REGION_FLAG_PERM_WRITE : 0; in OsProtMprotectPermCheck() 183 …Flags |= (fileFlags & O_RDWR) ? (VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE) : 0; in OsProtMprotectPermCheck() 185 protFlags |= (prot & PROT_WRITE) ? VM_MAP_REGION_FLAG_PERM_WRITE : 0; in OsProtMprotectPermCheck() 240 VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE | in LOS_DoBrk()
|
D | los_vm_fault.c | 66 … if ((region->regionFlags & VM_MAP_REGION_FLAG_PERM_WRITE) != VM_MAP_REGION_FLAG_PERM_WRITE) { in OsVmRegionPermissionCheck() 127 region->regionFlags & (~VM_MAP_REGION_FLAG_PERM_WRITE)); in OsDoReadFault()
|
D | los_vm_map.c | 303 if (flags & VM_MAP_REGION_FLAG_PERM_WRITE) { in LOS_VmSpaceClone() 305 … LOS_ArchMmuMap(&oldVmSpace->archMmu, vaddr, paddr, 1, flags & ~VM_MAP_REGION_FLAG_PERM_WRITE); in LOS_VmSpaceClone() 307 … LOS_ArchMmuMap(&newVmSpace->archMmu, vaddr, paddr, 1, flags & ~VM_MAP_REGION_FLAG_PERM_WRITE); in LOS_VmSpaceClone() 1044 …= LOS_RegionAlloc(space, 0, size, VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE, 0);
|
D | los_vm_dump.c | 355 [__builtin_ffsl(VM_MAP_REGION_FLAG_PERM_WRITE) - 1] = " WR\0", in OsArchFlagsToStr()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_map.h | 143 #define VM_MAP_REGION_FLAG_PERM_WRITE (1<<4) macro 168 …nFlags |= (prot & PROT_WRITE) ? (VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE) : 0; in OsCvtProtFlagsToRegionFlags()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 1661 VM_MAP_REGION_FLAG_PERM_WRITE, 0); in OsUserInitStackAlloc() 1858 … initSize, VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE | in OsLoadUserInit()
|