Home
last modified time | relevance | path

Searched refs:VM_MAP_REGION_FLAG_PERM_WRITE (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c209 *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/
Dlos_vm_syscall.c182 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()
Dlos_vm_fault.c66 … 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()
Dlos_vm_map.c303 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);
Dlos_vm_dump.c355 [__builtin_ffsl(VM_MAP_REGION_FLAG_PERM_WRITE) - 1] = " WR\0", in OsArchFlagsToStr()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h143 #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/
Dlos_process.c1661 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()