/haiku/src/system/kernel/vm/ |
H A D | VMNullCache.h | 13 #include <vm/VMCache.h> 16 class VMNullCache : public VMCache {
|
H A D | VMNullCache.cpp | 15 return VMCache::Init(CACHE_TYPE_NULL, allocationFlags);
|
H A D | VMCache.cpp | 11 #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 D | PageCacheLocker.cpp | 9 #include <vm/VMCache.h> 31 VMCache* cache = vm_cache_acquire_locked_page_cache(page, dontWait);
|
H A D | VMDeviceCache.h | 13 #include <vm/VMCache.h> 16 class VMDeviceCache : public VMCache {
|
H A D | VMAnonymousNoSwapCache.h | 13 #include <vm/VMCache.h> 16 class VMAnonymousNoSwapCache : public VMCache { 42 virtual void MergeStore(VMCache* source);
|
H A D | VMDeviceCache.cpp | 19 return VMCache::Init(CACHE_TYPE_DEVICE, allocationFlags);
|
H A D | VMAnonymousCache.h | 13 #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 D | VMAnonymousNoSwapCache.cpp | 48 status_t error = VMCache::Init(CACHE_TYPE_RAM, allocationFlags); 166 VMAnonymousNoSwapCache::MergeStore(VMCache* _source)
|
H A D | VMAddressSpaceLocking.h | 17 struct VMCache; 99 VMArea*& _area, VMCache** _cache = NULL);
|
H A D | VMAddressSpaceLocking.cpp | 15 #include <vm/VMCache.h> 483 VMCache** _cache) 497 VMCache* cache; 540 VMCache* oldCache = cache;
|
H A D | vm.cpp | 56 #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 D | VMCache.h | 75 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 D | vm_page.h | 37 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 D | vm_types.h | 36 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 D | vm.h | 24 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 D | DataContainer.h | 12 class VMCache; 28 VMCache* GetCache(); 52 VMCache* fCache;
|
H A D | DataContainer.cpp | 12 #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 D | file_cache.h | 40 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 D | vnode_store.h | 10 #include <vm/VMCache.h> 16 class VMVnodeCache : public VMCache {
|
H A D | vnode_store.cpp | 23 status_t error = VMCache::Init(CACHE_TYPE_VNODE, allocationFlags); 163 VMCache::Dump(showPages);
|
H A D | file_cache.cpp | 26 #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 D | IOCache.h | 16 struct VMCache; 78 VMCache* fCache;
|
/haiku/src/system/kernel/fs/ |
H A D | Vnode.h | 21 struct VMCache; 28 VMCache* cache;
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | CachedDataReader.cpp | 14 #include <vm/VMCache.h> 116 AutoLocker<VMCache> locker(fCache); 177 AutoLocker<VMCache> cacheLocker(fCache); 304 AutoLocker<VMCache> cacheLocker(fCache); 336 AutoLocker<VMCache> cacheLocker(fCache);
|