/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 95 inline AreaCacheLocker(VMCache* cache = NULL) 96 : AutoLocker<VMCache, AreaCacheLocking>(cache, true) 106 inline void SetTo(VMCache* cache, bool alreadyLocked) argument 108 AutoLocker<VMCache, AreaCacheLocking>::SetTo(cache, alreadyLocked); 176 // avoid double-locking and a reversal of locking order in case a cache 178 VMCache* cache = fBottomCache; 179 while (cache != NULL) { 180 VMCache* nextCache = (VMCache*)cache->UserData(); 181 if (cache != exceptCache) 182 cache 200 VMCache* cache = NULL; local 216 VMCache* cache = NULL; local 261 VMCache* cache; member in struct:cache_info 381 PageFaultDone(area_id area, VMCache* topCache, VMCache* cache, vm_page* page) argument 696 VMCache* cache = vm_area_get_locked_cache(area); local 1051 map_backing_store(VMAddressSpace* addressSpace, VMCache* cache, off_t offset, const char* areaName, addr_t size, int wiring, int protection, int protectionMax, int mapping, uint32 flags, const virtual_address_restrictions* addressRestrictions, bool kernel, VMArea** _area, void** _virtualAddress) argument 1394 VMCache* cache; local 1466 VMCache* cache; local 1845 VMCache* cache; local 1983 VMCache* cache; local 2067 VMCache* cache; local 2102 vm_create_vnode_cache(struct vnode* vnode, struct VMCache** cache) argument 2111 pre_map_area_pages(VMArea* area, VMCache* cache, vm_page_reservation* reservation) argument 2259 VMCache* cache; local 2318 VMCache* cache = area->cache; local 2341 vm_area_put_locked_cache(VMCache* cache) argument 2734 VMCache* cache; local 2894 VMCache* cache; local 3375 dump_cache_tree_recursively(VMCache* cache, int level, VMCache* highlightCache) argument 3441 update_cache_info_recursively(VMCache* cache, cache_info& info) argument 3478 dump_caches_recursively(VMCache* cache, cache_info& info, int level) argument 3543 VMCache* cache = gDebugCacheList; local 3592 VMCache* cache; local 4724 VMCache* cache = context.topCache; local 5318 VMCache* cache = vm_area_get_locked_cache(area); local 5336 VMCache* cache; local 5568 VMCache* cache = area->cache; local 5774 VMCache* cache = vm_area_get_locked_cache(area); local 5804 VMCache* cache = vm_area_get_locked_cache(area); local [all...] |
H A D | VMAddressSpaceLocking.cpp | 475 /*! Adds all address spaces of the areas associated with the given area's cache, 476 locks them, and locks the cache (including a reference to it). It retries 477 until the situation is stable (i.e. the neither cache nor cache's areas 496 // get the cache 497 VMCache* cache; local 506 cache = vm_area_get_locked_cache(area); 511 VMArea* firstArea = cache->areas; 517 vm_area_put_locked_cache(cache); 522 // unlock the cache an [all...] |
/haiku/src/apps/haikudepot/server/ |
H A D | LocalRepositoryUpdateProcess.cpp | 77 BRepositoryCache cache; local 84 roster, &cache); 103 BPackageKit::BRepositoryCache* cache) 106 HDINFO("[%s] am refreshing cache for repo [%s] as it was forced", 111 if (roster.GetRepositoryCache(repoName, cache) != B_OK) { 112 HDINFO("[%s] am updating cache for repo [%s] as there was no cache", 118 HDINFO("[%s] am updating cache for repo [%s] as this is the first" 123 HDDEBUG("[%s] skipped update local repo [%s] cache", Name(), 133 BPackageKit::BRepositoryCache* cache) 101 _ShouldRunForRepositoryName( const BString& repoName, BPackageKit::BPackageRoster& roster, BPackageKit::BRepositoryCache* cache) argument 131 _RunForRepositoryName(const BString& repoName, BPackageKit::BContext& context, BPackageKit::BPackageRoster& roster, BPackageKit::BRepositoryCache* cache) argument [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | cache.h | 3 /* cache - emulation for the B+Tree torture test 18 extern status_t cached_write(void* cache, off_t num, const void* _data,
|
/haiku/src/system/kernel/slab/ |
H A D | allocator.cpp | 86 // If we're not using an object cache, make sure that the memory 92 // allocate from the respective object cache, if any 124 // A small allocation, but no object cache yet. Use the bootstrap memory. 152 ObjectCache* cache = MemoryManager::FreeRawOrReturnCache(block, flags); 153 if (cache != NULL) { 155 ASSERT(cache->object_size >= kBlockSizes[0]); 156 ASSERT(cache->object_size <= kBlockSizes[kNumBlockSizes - 1]); 157 ASSERT(cache == sBlockCaches[size_to_index(cache->object_size)]); 158 object_cache_free(cache, bloc 270 ObjectCache* cache = MemoryManager::GetAllocationInfo(address, oldSize); local [all...] |
H A D | ObjectCache.h | 156 check_cache_quota(ObjectCache* cache) argument 158 if (cache->maximum == 0) 161 return (cache->usage + cache->slab_size) <= cache->maximum;
|
H A D | ObjectCache.cpp | 29 ObjectCache* cache = (ObjectCache*)cookie; local 31 MutexLocker _(cache->lock); 32 cache->ReturnObjectToSlab(cache->ObjectSlab(object), object, flags); 182 panic("cache: destroying a slab which isn't empty."); 265 panic("object_cache: to be freed object %p: slab not part of cache!", 274 panic("object_cache: double free of %p (slab %p, cache %p)",
|
/haiku/headers/private/kernel/ |
H A D | file_cache.h | 14 // temporary/optional cache syscall API 15 #define CACHE_SYSCALLS "cache" 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/headers/private/debugger/debug_info/ |
H A D | GlobalTypeLookup.h | 38 // cache must be locked 46 // cache locked by method 68 virtual status_t GetType(GlobalTypeCache* cache, 74 virtual bool HasType(GlobalTypeCache* cache,
|
H A D | TeamDebugInfo.h | 49 virtual status_t GetType(GlobalTypeCache* cache, 53 virtual bool HasType(GlobalTypeCache* cache,
|
H A D | ImageDebugInfo.h | 43 status_t GetType(GlobalTypeCache* cache,
|
/haiku/src/tools/get_package_dependencies/ |
H A D | get_package_dependencies.cpp | 101 BRepositoryCache cache; local 102 error = cache.SetTo(repositories[i]); 105 BRepositoryBuilder(*repository, cache) 107 if (cache.Info().BaseURL().IsEmpty()) { 111 repositoryInfos[repository] = cache.Info();
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | mbuf.c | 71 object_cache *cache; local 77 cache = sChunkCache; 80 cache = sJumbo9ChunkCache; 83 cache = sJumboPageSizeCache; 89 return object_cache_alloc(cache, m_to_oc_flags(how)); 275 object_cache *cache = NULL; local 278 cache = sChunkCache; 280 cache = sJumbo9ChunkCache; 282 cache = sJumboPageSizeCache; 286 object_cache_free(cache, memoryBuffe [all...] |
H A D | usb.cpp | 441 usb_page_cache* cache = &xfer->buffers[frindex]; local 442 if (cache->buffer == NULL) { 443 cache->buffer = malloc(xfer->max_data_length); 444 cache->length = xfer->max_data_length; 447 xfer->frames[frindex].iov_base = cache->buffer; 448 return cache; 453 usbd_frame_zero(struct usb_page_cache* cache, argument 456 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow")); 457 memset((uint8*)cache->buffer + offset, 0, len); 462 usbd_copy_in(struct usb_page_cache* cache, usb_frlength_ argument 471 usbd_copy_out(struct usb_page_cache* cache, usb_frlength_t offset, void *ptr, usb_frlength_t len) argument 480 usbd_m_copy_in(struct usb_page_cache* cache, usb_frlength_t dst_offset, struct mbuf *m, usb_size_t src_offset, usb_frlength_t src_len) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Inode.cpp | 279 DirectoryCache* cache = type != NF4NAMEDATTR ? fCache : fAttrCache; 280 cache->Lock(); 281 if (cache->Valid()) { 284 cache->RemoveEntry(name); 285 cache->SetChangeInfo(changeInfo.fAfter); 286 } else if (cache->ChangeInfo() != changeInfo.fBefore) 287 cache->Trash(); 289 cache->Unlock(); 357 DirectoryCache* cache = attribute ? from->fAttrCache : from->fCache; local 358 cache 451 bool cache = fFileSystem->GetConfiguration().fCacheMetadata; local [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Transaction.cpp | 125 void* cache = GetVolume()->BlockCache(); local 129 void* block = block_cache_get_empty(cache, blockNumber + i, ID()); 136 block_cache_put(cache, blockNumber + i);
|
/haiku/src/kits/package/solver/ |
H A D | SolverRepository.cpp | 146 BRepositoryCache cache; local 147 status_t error = roster.GetRepositoryCache(config.Name(), &cache); 153 BRepositoryCache::Iterator it = cache.GetIterator(); 167 BSolverRepository::SetTo(const BRepositoryCache& cache) argument 171 const BRepositoryInfo& info = cache.Info(); 178 BRepositoryCache::Iterator it = cache.GetIterator();
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Journal.h | 168 void* cache = GetVolume()->BlockCache(); local 172 void* block = block_cache_get_empty(cache, blockNumber + i, 180 block_cache_put(cache, blockNumber + i);
|
/haiku/headers/private/kernel/vm/ |
H A D | VMCache.h | 192 // list of caches that use this cache as a source 240 static status_t CreateAnonymousCache(VMCache*& cache, 244 static status_t CreateVnodeCache(VMCache*& cache, 246 static status_t CreateDeviceCache(VMCache*& cache, 248 static status_t CreateNullCache(int priority, VMCache*& cache); 372 cache_ref->cache->IncrementWiredPagesCount(); 382 cache_ref->cache->DecrementWiredPagesCount();
|
/haiku/src/system/runtime_loader/ |
H A D | runtime_loader_private.h | 89 SymbolLookupCache* cache, addr_t* sym_addr, image_t** symbolImage = NULL); 110 SymbolLookupCache* cache);
|
/haiku/headers/os/package/solver/ |
H A D | SolverRepository.h | 46 status_t SetTo(const BRepositoryCache& cache);
|
/haiku/headers/private/package/manager/ |
H A D | RepositoryBuilder.h | 43 const BRepositoryCache& cache,
|
/haiku/src/system/runtime_loader/arch/m68k/ |
H A D | arch_relocate.cpp | 76 SymbolLookupCache* cache) 104 status = resolve_symbol(rootImage, image, sym, cache, &S); 276 SymbolLookupCache* cache) 299 cache); 75 relocate_rela(image_t *rootImage, image_t *image, Elf32_Rela *rel, int rel_len, SymbolLookupCache* cache) argument 275 arch_relocate_image(image_t *rootImage, image_t *image, SymbolLookupCache* cache) argument
|
/haiku/src/kits/debugger/debug_info/ |
H A D | DebuggerImageDebugInfo.h | 32 virtual status_t GetType(GlobalTypeCache* cache,
|
/haiku/src/kits/package/hpkg/ |
H A D | PackageFileHeapAccessorBase.cpp | 225 object_cache* cache; member in struct:BPackageKit::BHPKG::BPrivate::ObjectCacheDeleter 229 : cache(c) 236 if (cache != NULL && object != NULL) 237 object_cache_free(cache, object, 0);
|