Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_fault.c112 if (region->unTypeData.rf.vmFOps == NULL || region->unTypeData.rf.vmFOps->fault == NULL) { in OsDoReadFault()
113 VM_ERR("region args invalid, file path: %s", region->unTypeData.rf.vnode->filePath); in OsDoReadFault()
117 (VOID)LOS_MuxAcquire(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
118 ret = region->unTypeData.rf.vmFOps->fault(region, vmPgFault); in OsDoReadFault()
131 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
135 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
138 (VOID)LOS_MuxRelease(&region->unTypeData.rf.vnode->mapping.mux_lock); in OsDoReadFault()
152 LOS_SpinLockSave(&region->unTypeData.rf.vnode->mapping.list_lock, &intSave); in OsCowUnmapOrg()
153 fpage = OsFindGetEntry(&region->unTypeData.rf.vnode->mapping, vmf->pgoff); in OsCowUnmapOrg()
166 LOS_SpinUnlockRestore(&region->unTypeData.rf.vnode->mapping.list_lock, intSave); in OsCowUnmapOrg()
[all …]
Dlos_vm_filemap.c181 if (!LOS_IsRegionFileValid(region) || (region->unTypeData.rf.vnode == NULL)) { in OsVmmFileRemove()
184 vnode = region->unTypeData.rf.vnode; in OsVmmFileRemove()
339 if (!LOS_IsRegionFileValid(region) || (region->unTypeData.rf.vnode == NULL) || (vmf == NULL)) { in OsDelMapInfo()
343 mapping = &region->unTypeData.rf.vnode->mapping; in OsDelMapInfo()
377 if (!LOS_IsRegionFileValid(region) || (region->unTypeData.rf.vnode == NULL) || (vmf == NULL)) { in OsVmmFileFault()
381 vnode = region->unTypeData.rf.vnode; in OsVmmFileFault()
503 region->unTypeData.rf.vmFOps = &g_commVmOps; in OsVfsFileMmap()
504 region->unTypeData.rf.vnode = filep->f_vnode; in OsVfsFileMmap()
505 region->unTypeData.rf.f_oflags = filep->f_oflags; in OsVfsFileMmap()
Dlos_vm_map.c312 LOS_SpinLockSave(&oldRegion->unTypeData.rf.vnode->mapping.list_lock, &intSave); in LOS_VmSpaceClone()
313 … fpage = OsFindGetEntry(&oldRegion->unTypeData.rf.vnode->mapping, newRegion->pgOff + i); in LOS_VmSpaceClone()
317 LOS_SpinUnlockRestore(&oldRegion->unTypeData.rf.vnode->mapping.list_lock, intSave); in LOS_VmSpaceClone()
441 (region->unTypeData.rf.vnode != NULL)) { in LOS_IsRegionFileValid()
599 if ((space == NULL) || (region == NULL) || (region->unTypeData.rf.vmFOps == NULL)) { in OsFilePagesRemove()
606 region->unTypeData.rf.vmFOps->remove(region, &space->archMmu, offset); in OsFilePagesRemove()
626 region->unTypeData.rf.vnode->useCount--;
678 newRegion->unTypeData.rf.vmFOps = oldRegion->unTypeData.rf.vmFOps;
679 newRegion->unTypeData.rf.vnode = oldRegion->unTypeData.rf.vnode;
680 newRegion->unTypeData.rf.f_oflags = oldRegion->unTypeData.rf.f_oflags;
[all …]
Dlos_vm_syscall.c180 UINT32 fileFlags = region->unTypeData.rf.f_oflags; in OsProtMprotectPermCheck()
Dlos_vm_dump.c64 vnode = region->unTypeData.rf.vnode; in OsGetRegionNameOrFilePath()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h108 } unTypeData; member
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c303 curVnode = curRegion->unTypeData.rf.vnode; in OsGetTextRegionBase()
304 lastVnode = lastRegion->unTypeData.rf.vnode; in OsGetTextRegionBase()