Home
last modified time | relevance | path

Searched refs:LosFilePage (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_filemap.c72 STATIC VOID OsPageCacheAdd(LosFilePage *page, struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsPageCacheAdd()
74 LosFilePage *fpage = NULL; in OsPageCacheAdd()
76 LOS_DL_LIST_FOR_EACH_ENTRY(fpage, &mapping->page_list, LosFilePage, node) { in OsPageCacheAdd()
89 VOID OsAddToPageacheLru(LosFilePage *page, struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsAddToPageacheLru()
95 VOID OsPageCacheDel(LosFilePage *fpage) in OsPageCacheDel()
111 VOID OsAddMapInfo(LosFilePage *page, LosArchMmu *archMmu, VADDR_T vaddr) in OsAddMapInfo()
128 LosMapInfo *OsGetMapInfo(const LosFilePage *page, const LosArchMmu *archMmu, VADDR_T vaddr) in OsGetMapInfo()
142 VOID OsDeletePageCacheLru(LosFilePage *page) in OsDeletePageCacheLru()
150 STATIC VOID OsPageCacheUnmap(LosFilePage *fpage, LosArchMmu *archMmu, VADDR_T vaddr) in OsPageCacheUnmap()
177 LosFilePage *fpage = NULL; in OsVmmFileRemove()
[all …]
Dlos_vm_scan.c40 VOID OsUnmapPageLocked(LosFilePage *page, LosMapInfo *info) in OsUnmapPageLocked()
53 VOID OsUnmapAllLocked(LosFilePage *page) in OsUnmapAllLocked()
65 VOID OsLruCacheAdd(LosFilePage *fpage, enum OsLruList lruType) in OsLruCacheAdd()
81 VOID OsLruCacheDel(LosFilePage *fpage) in OsLruCacheDel()
97 STATIC INLINE VOID OsMoveToActiveList(LosFilePage *fpage) in OsMoveToActiveList()
108 STATIC INLINE VOID OsMoveToInactiveList(LosFilePage *fpage) in OsMoveToInactiveList()
119 STATIC INLINE VOID OsMoveToActiveHead(LosFilePage *fpage) in OsMoveToActiveHead()
127 STATIC INLINE VOID OsMoveToInactiveHead(LosFilePage *fpage) in OsMoveToInactiveHead()
141 VOID OsPageRefIncLocked(LosFilePage *fpage) in OsPageRefIncLocked()
185 VOID OsPageRefDecNoLock(LosFilePage *fpage) in OsPageRefDecNoLock()
[all …]
Dlos_vm_fault.c149 LosFilePage *fpage = NULL; in OsCowUnmapOrg()
264 LosFilePage *fpage = NULL; in OsDoSharedFault()
Dlos_vm_map.c311 LosFilePage *fpage = NULL; in LOS_VmSpaceClone()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_filemap.h66 } LosFilePage; typedef
71 LosFilePage *page;
165 STATIC INLINE BOOL OsIsPageMapped(LosFilePage *page) in OsIsPageMapped()
194 LosFilePage *OsPageCacheAlloc(struct page_mapping *mapping, VM_OFFSET_T pgoff);
195 LosFilePage *OsFindGetEntry(struct page_mapping *mapping, VM_OFFSET_T pgoff);
196 LosMapInfo *OsGetMapInfo(const LosFilePage *page, const LosArchMmu *archMmu, VADDR_T vaddr);
197 VOID OsAddMapInfo(LosFilePage *page, LosArchMmu *archMmu, VADDR_T vaddr);
201 VOID OsUnmapPageLocked(LosFilePage *page, LosMapInfo *info);
202 VOID OsUnmapAllLocked(LosFilePage *page);
203 VOID OsLruCacheAdd(LosFilePage *fpage, enum OsLruList lruType);
[all …]
/kernel/liteos_a/fs/proc/os_adapt/
Dfs_cache_proc.c105 LosFilePage *fpage = NULL; in PageCacheEntryProcess()
112 LOS_DL_LIST_FOR_EACH_ENTRY(fpage, &mapping->page_list, LosFilePage, node) { in PageCacheEntryProcess()