Home
last modified time | relevance | path

Searched refs:VM_MAP_REGION_FLAG_PERM_READ (Results 1 – 9 of 9) sorted by relevance

/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c203 *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 …]
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h142 #define VM_MAP_REGION_FLAG_PERM_READ (1<<3) macro
167 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()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_syscall.c181 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()
Dlos_vm_fault.c60 if ((region->regionFlags & VM_MAP_REGION_FLAG_PERM_READ) != VM_MAP_REGION_FLAG_PERM_READ) { in OsVmRegionPermissionCheck()
Dlos_vm_dump.c354 [__builtin_ffsl(VM_MAP_REGION_FLAG_PERM_READ) - 1] = " RD\0", in OsArchFlagsToStr()
Dlos_vm_map.c1044 …region = LOS_RegionAlloc(space, 0, size, VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WR…
/kernel/liteos_a/kernel/extended/vdso/src/
Dlos_vdso.c78 …UINT32 flag = VM_MAP_REGION_FLAG_PERM_USER | VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PER… in OsVdsoLoad()
/kernel/liteos_a/kernel/base/core/
Dlos_process.c1660 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()
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c158 UINT32 uflags = VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_USER; in DoIpcMmap()