Searched refs:VMCache (Results 1 - 25 of 47) sorted by relevance

12

/haiku/src/system/kernel/vm/
H A DVMNullCache.h13 #include <vm/VMCache.h>
16 class VMNullCache : public VMCache {
H A DVMNullCache.cpp15 return VMCache::Init(CACHE_TYPE_NULL, allocationFlags);
H A DVMCache.cpp11 #include <vm/VMCache.h>
53 VMCache* gDebugCacheList;
55 static mutex sCacheListLock = MUTEX_INITIALIZER("global VMCache list");
68 struct VMCache::PageEventWaiter {
82 VMCacheTraceEntry(VMCache* cache)
101 VMCache* Cache() const
107 VMCache* fCache;
116 Create(VMCache* cache)
132 Delete(VMCache* cache)
148 SetMinimalCommitment(VMCache* cach
635 VMCache::VMCache() function in class:VMCache
[all...]
H A DPageCacheLocker.cpp9 #include <vm/VMCache.h>
31 VMCache* cache = vm_cache_acquire_locked_page_cache(page, dontWait);
H A DVMDeviceCache.h13 #include <vm/VMCache.h>
16 class VMDeviceCache : public VMCache {
H A DVMAnonymousNoSwapCache.h13 #include <vm/VMCache.h>
16 class VMAnonymousNoSwapCache : public VMCache {
42 virtual void MergeStore(VMCache* source);
H A DVMDeviceCache.cpp19 return VMCache::Init(CACHE_TYPE_DEVICE, allocationFlags);
H A DVMAnonymousCache.h13 #include <vm/VMCache.h>
34 class VMAnonymousCache : public VMCache {
47 virtual status_t Adopt(VMCache* source, off_t offset,
77 virtual void Merge(VMCache* source);
H A DVMAnonymousNoSwapCache.cpp48 status_t error = VMCache::Init(CACHE_TYPE_RAM, allocationFlags);
166 VMAnonymousNoSwapCache::MergeStore(VMCache* _source)
H A DVMAddressSpaceLocking.h17 struct VMCache;
99 VMArea*& _area, VMCache** _cache = NULL);
H A DVMAddressSpaceLocking.cpp15 #include <vm/VMCache.h>
483 VMCache** _cache)
497 VMCache* cache;
540 VMCache* oldCache = cache;
H A Dvm.cpp56 #include <vm/VMCache.h>
82 inline bool Lock(VMCache* lockable)
87 inline void Unlock(VMCache* lockable)
93 class AreaCacheLocker : public AutoLocker<VMCache, AreaCacheLocking> {
95 inline AreaCacheLocker(VMCache* cache = NULL)
96 : AutoLocker<VMCache, AreaCacheLocking>(cache, true)
101 : AutoLocker<VMCache, AreaCacheLocking>()
106 inline void SetTo(VMCache* cache, bool alreadyLocked)
108 AutoLocker<VMCache, AreaCacheLocking>::SetTo(cache, alreadyLocked);
113 return AutoLocker<VMCache, AreaCacheLockin
[all...]
/haiku/headers/private/kernel/vm/
H A DVMCache.h75 struct VMCache : public DoublyLinkedListLinkImpl<VMCache> { struct in inherits:DoublyLinkedListLinkImpl
77 typedef DoublyLinkedList<VMCache> ConsumerList;
80 VMCache();
81 virtual ~VMCache();
115 void MoveAllPages(VMCache* fromCache);
123 void AddConsumer(VMCache* consumer);
127 void TransferAreas(VMCache* fromCache);
135 virtual status_t Adopt(VMCache* source, off_t offset, off_t size,
175 virtual void Merge(VMCache* sourc
[all...]
H A Dvm_page.h37 void vm_page_free_etc(VMCache* cache, vm_page* page,
51 status_t vm_page_write_modified_page_range(struct VMCache *cache,
53 status_t vm_page_write_modified_pages(struct VMCache *cache);
55 void vm_page_schedule_write_page_range(struct VMCache *cache,
78 vm_page_free(struct VMCache *cache, struct vm_page *page)
H A Dvm_types.h36 struct VMCache;
109 VMCache* cache;
112 VMCacheRef(VMCache* cache);
163 VMCache* Cache() const
176 // both implemented in VMCache.h to avoid inclusion here
H A Dvm.h24 struct VMCache;
111 struct VMCache *vm_area_get_locked_cache(struct VMArea *area);
112 void vm_area_put_locked_cache(struct VMCache *cache);
121 status_t vm_create_vnode_cache(struct vnode *vnode, struct VMCache **_cache);
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDataContainer.h12 class VMCache;
28 VMCache* GetCache();
52 VMCache* fCache;
H A DDataContainer.cpp12 #include <vm/VMCache.h>
76 VMCache*
96 // resize the VMCache, which will automatically free pages
97 AutoLocker<VMCache> _(fCache);
108 AutoLocker<VMCache> _(fCache);
225 // as there may be other consumers of our VMCache
345 AutoLocker<VMCache> locker(fCache);
399 AutoLocker<VMCache> locker(fCache);
/haiku/headers/private/kernel/
H A Dfile_cache.h40 extern void cache_node_opened(struct vnode *vnode, int32 fdType, VMCache *cache,
42 extern void cache_node_closed(struct vnode *vnode, int32 fdType, VMCache *cache,
/haiku/src/system/kernel/cache/
H A Dvnode_store.h10 #include <vm/VMCache.h>
16 class VMVnodeCache : public VMCache {
H A Dvnode_store.cpp23 status_t error = VMCache::Init(CACHE_TYPE_VNODE, allocationFlags);
163 VMCache::Dump(showPages);
H A Dfile_cache.cpp26 #include <vm/VMCache.h>
45 VMCache *cache;
86 VMCache* fCache;
191 AutoLocker<VMCache> locker(fCache);
289 VMCache* cache = ref->cache;
382 VMCache* cache = ref->cache;
736 VMCache* cache = ref->cache;
764 AutoLocker<VMCache> locker(cache);
959 VMCache* cache;
1056 cache_node_opened(struct vnode* vnode, int32 fdType, VMCache* cach
[all...]
/haiku/src/system/kernel/device_manager/
H A DIOCache.h16 struct VMCache;
78 VMCache* fCache;
/haiku/src/system/kernel/fs/
H A DVnode.h21 struct VMCache;
28 VMCache* cache;
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DCachedDataReader.cpp14 #include <vm/VMCache.h>
116 AutoLocker<VMCache> locker(fCache);
177 AutoLocker<VMCache> cacheLocker(fCache);
304 AutoLocker<VMCache> cacheLocker(fCache);
336 AutoLocker<VMCache> cacheLocker(fCache);

Completed in 301 milliseconds

12