Searched refs:physSeg (Results 1 – 4 of 4) sorted by relevance
68 LosVmPhysSeg *physSeg = fpage->physSeg; in OsLruCacheAdd() local71 LOS_SpinLockSave(&physSeg->lruLock, &intSave); in OsLruCacheAdd()74 physSeg->lruSize[lruType]++; in OsLruCacheAdd()75 LOS_ListTailInsert(&physSeg->lruList[lruType], &fpage->lru); in OsLruCacheAdd()77 LOS_SpinUnlockRestore(&physSeg->lruLock, intSave); in OsLruCacheAdd()83 LosVmPhysSeg *physSeg = fpage->physSeg; in OsLruCacheDel() local86 physSeg->lruSize[type]--; in OsLruCacheDel()90 BOOL OsInactiveListIsLow(LosVmPhysSeg *physSeg) in OsInactiveListIsLow() argument92 return (physSeg->lruSize[VM_LRU_ACTIVE_FILE] > in OsInactiveListIsLow()93 physSeg->lruSize[VM_LRU_INACTIVE_FILE]) ? TRUE : FALSE; in OsInactiveListIsLow()[all …]
155 LOS_SpinLockSave(&fpage->physSeg->lruLock, &intSave); in OsPageCacheUnmap()167 LOS_SpinUnlockRestore(&fpage->physSeg->lruLock, intSave); in OsPageCacheUnmap()323 SPIN_LOCK_S *lruLock = &fpage->physSeg->lruLock; in OsReleaseFpage()447 LOS_SpinLockSave(&fpage->physSeg->lruLock, &lruLock); in OsFileCacheFlush()454 LOS_SpinUnlockRestore(&fpage->physSeg->lruLock, lruLock); in OsFileCacheFlush()475 lruLock = &fpage->physSeg->lruLock; in OsFileCacheRemove()562 LosVmPhysSeg *physSeg = NULL; in OsPageCacheAlloc() local571 physSeg = OsVmPhysSegGet(vmPage); in OsPageCacheAlloc()573 if ((physSeg == NULL) || (kvaddr == NULL)) { in OsPageCacheAlloc()594 fpage->physSeg = physSeg; in OsPageCacheAlloc()
546 LosVmPhysSeg *physSeg = NULL; in OsVmPhysUsedInfoGet() local555 physSeg = &g_vmPhysSeg[index]; in OsVmPhysUsedInfoGet()556 if (physSeg->size > 0) { in OsVmPhysUsedInfoGet()557 *totalCount += physSeg->size >> PAGE_SHIFT; in OsVmPhysUsedInfoGet()558 segFreePages = OsVmPhySegPagesGet(physSeg); in OsVmPhysUsedInfoGet()
59 struct VmPhysSeg *physSeg; /* physical memory that file page belongs to */ member