/haiku/src/apps/deskbar/ |
H A D | BarApp.h | 123 WindowIconCache(const WindowIconCache &cache);
|
/haiku/src/system/kernel/device_manager/ |
H A D | IOCache.cpp | 58 panic("Invalid cache line size (%" B_PRIuSIZE "). Must be a power of 2 " 62 mutex_init(&fSerializationLock, "I/O cache request serialization"); 95 // create the area for mapping cache lines 96 fArea = vm_create_null_area(B_SYSTEM_TEAM, "I/O cache line", &fAreaBase, 101 // reserve pages for mapping a complete cache line 109 // get the area's cache 115 fCache = area->cache; 244 // the start of the current cache line 247 // intersection of request and cache line 252 // transfer the data of the cache lin [all...] |
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 285 BlockWriter(block_cache* cache, 300 static status_t WriteBlock(block_cache* cache, 330 inline bool Lock(block_cache* cache) argument 332 mutex_lock(&cache->lock); 334 while (cache->busy_writing_count != 0) { 337 cache->busy_writing_condition.Add(&entry); 338 cache->busy_writing_waiters = true; 340 mutex_unlock(&cache->lock); 344 mutex_lock(&cache->lock); 350 inline void Unlock(block_cache* cache) argument 366 Action(block_cache* cache, cached_block* block) argument 404 Get(block_cache* cache, cached_block* block) argument 416 Put(block_cache* cache, cached_block* block) argument 428 Read(block_cache* cache, cached_block* block) argument 440 Write(block_cache* cache, cached_block* block) argument 452 Flush(block_cache* cache, cached_block* block, bool getUnused = false) argument 469 Error(block_cache* cache, uint64 blockNumber, const char* message, status_t status = B_OK) argument 503 BlockData(block_cache* cache, cached_block* block, const char* message) argument 637 Action(const char* label, block_cache* cache, cache_transaction* transaction) argument 670 Detach(block_cache* cache, cache_transaction* transaction, cache_transaction* newTransaction) argument 702 Abort(block_cache* cache, cache_transaction* transaction) argument 820 flush_pending_notifications(block_cache* cache) argument 867 block_cache* cache = iterator.Next(); local 911 add_notification(block_cache* cache, cache_notification* notification, int32 event, bool deleteNotification) argument 941 notify_transaction_listeners(block_cache* cache, cache_transaction* transaction, int32 event) argument 970 remove_transaction_listeners(block_cache* cache, cache_transaction* transaction) argument 983 add_transaction_listener(block_cache* cache, cache_transaction* transaction, int32 events, transaction_notification_hook hookFunction, void* data) argument 1024 delete_transaction(block_cache* cache, cache_transaction* transaction) argument 1035 lookup_transaction(block_cache* cache, int32 id) argument 1063 write_blocks_in_previous_transaction(block_cache* cache, cache_transaction* transaction) argument 1095 BlockWriter(block_cache* cache, size_t max) argument 1255 WriteBlock(block_cache* cache, cached_block* block) argument 1643 block_cache* cache = (block_cache*)data; local 1724 mark_block_busy_reading(block_cache* cache, cached_block* block) argument 1734 mark_block_unbusy_reading(block_cache* cache, cached_block* block) argument 1751 wait_for_busy_reading_block(block_cache* cache, cached_block* block) argument 1771 wait_for_busy_reading_blocks(block_cache* cache) argument 1791 wait_for_busy_writing_block(block_cache* cache, cached_block* block) argument 1811 wait_for_busy_writing_blocks(block_cache* cache) argument 1834 put_cached_block(block_cache* cache, cached_block* block) argument 1878 put_cached_block(block_cache* cache, off_t blockNumber) argument 1906 get_cached_block(block_cache* cache, off_t blockNumber, bool* _allocated, bool readBlock, cached_block** _block) argument 1982 get_writable_cached_block(block_cache* cache, off_t blockNumber, off_t base, off_t length, int32 transactionID, bool cleared, void** _block) argument 2237 block_cache* cache = (struct block_cache*)(addr_t)parse_expression(argv[i]); local 2350 block_cache* cache = (block_cache*)(addr_t)parse_expression(argv[i]); local 2411 block_cache* cache = i.Next(); local 2541 block_cache* cache; local 2589 block_cache* cache = NULL; local 2677 block_cache* cache = (block_cache*)_cache; local 2685 is_valid_cache(block_cache* cache) argument 2704 wait_for_notifications(block_cache* cache) argument 2804 block_cache* cache = (block_cache*)_cache; local 2831 block_cache* cache = (block_cache*)_cache; local 2882 block_cache* cache = (block_cache*)_cache; local 2948 block_cache* cache = (block_cache*)_cache; local 3001 block_cache* cache = (block_cache*)_cache; local 3104 block_cache* cache = (block_cache*)_cache; local 3189 block_cache* cache = (block_cache*)_cache; local 3254 block_cache* cache = (block_cache*)_cache; local 3269 block_cache* cache = (block_cache*)_cache; local 3301 block_cache* cache = (block_cache*)_cache; local 3343 block_cache* cache = (block_cache*)_cache; local 3361 block_cache* cache = (block_cache*)_cache; local 3378 block_cache* cache = (block_cache*)_cache; local 3394 block_cache* cache = (block_cache*)_cache; local 3410 block_cache* cache = (block_cache*)_cache; local 3450 block_cache* cache = new(std::nothrow) block_cache(fd, numBlocks, blockSize, local 3470 block_cache* cache = (block_cache*)_cache; local 3500 block_cache* cache = (block_cache*)_cache; local 3544 block_cache* cache = (block_cache*)_cache; local 3589 block_cache* cache = (block_cache*)_cache; local 3614 block_cache* cache = (block_cache*)_cache; local 3642 block_cache* cache = (block_cache*)_cache; local 3663 block_cache* cache = (block_cache*)_cache; local 3709 block_cache* cache = (block_cache*)_cache; local 3731 block_cache* cache = (block_cache*)_cache; local [all...] |
/haiku/src/system/kernel/vm/ |
H A D | VMArea.cpp | 32 cache(NULL), 65 The area's top cache must be locked. 81 The area's top cache must be locked. 95 The area's top cache must be locked. 121 The area's top cache must be locked.
|
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...] |
H A D | VMAnonymousCache.cpp | 74 // number of free swap blocks the object cache shall minimally have 101 VMAnonymousCache *cache; member in struct:swap_hash_key 102 off_t page_index; // page index in the cache 106 // SWAP_BLOCK_PAGES continuous pages from the same cache 123 VMAnonymousCache* cache = key.cache; local 124 return blockIndex ^ (size_t)(int*)cache; 136 && key.cache == value->key.cache; 167 SwapTraceEntry(VMAnonymousCache* cache) argument 180 ReadPage(VMAnonymousCache* cache, page_num_t pageIndex, swap_addr_t swapSlotIndex) argument 204 WritePage(VMAnonymousCache* cache, page_num_t pageIndex, swap_addr_t swapSlotIndex) argument 402 WriteCallback(VMAnonymousCache* cache, AsyncIOCallback* callback) argument 1768 VMAnonymousCache* cache = dynamic_cast<VMAnonymousCache*>(page->Cache()); local [all...] |
/haiku/src/system/kernel/slab/ |
H A D | MemoryManager.cpp | 85 Allocate(ObjectCache* cache, uint32 flags) argument 88 fCache(cache), 96 out.Print("slab memory manager alloc: cache: %p, flags: %#" B_PRIx32, 523 MemoryManager::Allocate(ObjectCache* cache, uint32 flags, void*& _pages) argument 527 T(Allocate(cache, flags)); 529 size_t chunkSize = cache->slab_size; 532 B_PRIuSIZE "\n", cache, flags, chunkSize); 556 chunk->reference = (addr_t)cache; 802 ObjectCache* cache = (ObjectCache*)reference; local 803 _size = cache 1471 VMCache* cache = vm_area_get_locked_cache(vmArea); local 1517 VMCache* cache = vm_area_get_locked_cache(vmArea); local 1862 ObjectCache* cache = (ObjectCache*)reference; local [all...] |
H A D | Slab.cpp | 48 static mutex sObjectCacheListLock = MUTEX_INITIALIZER("object cache list"); 51 = MUTEX_INITIALIZER("object cache resize requests"); 107 ObjectCacheTraceEntry(ObjectCache* cache) argument 110 fCache(cache) 123 ObjectCache* cache) 125 ObjectCacheTraceEntry(cache), 138 out.Print("object cache create: name: \"%s\", object size: " 140 "%" B_PRIuSIZE ", flags: 0x%" B_PRIx32 ", cookie: %p -> cache: %p", 157 Delete(ObjectCache* cache) argument 159 ObjectCacheTraceEntry(cache) 121 Create(const char* name, size_t objectSize, size_t alignment, size_t maxByteUsage, uint32 flags, void* cookie, ObjectCache* cache) argument 173 Alloc(ObjectCache* cache, uint32 flags, void* object) argument 196 Free(ObjectCache* cache, void* object) argument 217 Reserve(ObjectCache* cache, size_t count, uint32 flags) argument 268 ObjectCache* cache = it.Next(); local 288 ObjectCache* cache = (ObjectCache*)parse_expression(argv[1]); local 544 analyze_allocation_callers(ObjectCache* cache, slab* slab, AllocationTrackingCallback& callback) argument 559 analyze_allocation_callers(ObjectCache* cache, const SlabList& slabList, AllocationTrackingCallback& callback) argument 573 analyze_allocation_callers(ObjectCache* cache, AllocationTrackingCallback& callback) argument 586 ObjectCache* cache = NULL; local 712 ObjectCache* cache = NULL; local 827 add_alloc_tracing_entry(ObjectCache* cache, uint32 flags, void* object) argument 855 delete_object_cache_internal(object_cache* cache) argument 877 increase_object_reserve(ObjectCache* cache) argument 894 object_cache_reserve_internal(ObjectCache* cache, size_t objectCount, uint32 flags) argument 974 ObjectCache* cache; local 1073 ObjectCache* cache = sMaintenanceQueue.RemoveHead(); local 1137 ObjectCache* cache; local 1162 delete_object_cache(object_cache* cache) argument 1195 object_cache_set_minimum_reserve(object_cache* cache, size_t objectCount) argument 1211 object_cache_alloc(object_cache* cache, uint32 flags) argument 1273 object_cache_free(object_cache* cache, void* object, uint32 flags) argument 1314 object_cache_reserve(object_cache* cache, size_t objectCount, uint32 flags) argument 1327 object_cache_get_usage(object_cache* cache, size_t* _allocatedMemory) argument [all...] |
/haiku/headers/private/kernel/vm/ |
H A D | VMArea.h | 115 VMCache* cache; member in struct:VMArea
|
H A D | vm_types.h | 109 VMCache* cache; member in struct:VMCacheRef 112 VMCacheRef(VMCache* cache); 164 { return cache_ref != NULL ? cache_ref->cache : NULL; } 234 "accessed by: %" B_PRId32 "@! page -m %p; sc %" B_PRId32 "; cache _cache", 249 "sc %" B_PRId32 "; cache _cache", page->physical_page_number * B_PAGE_SIZE, 261 "accessed by: %" B_PRId32 "@! page -m %p; sc %" B_PRId32 "; cache _cache",
|
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/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);
|
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | TwoKeyAVLTree.h | 184 static void* operator new(size_t size, object_cache* cache) { argument 185 if (size != sizeof(Node) || !cache) 187 return object_cache_alloc(cache, 0);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dosfs.cpp | 69 kprintf("last fake vnid %" B_PRIdINO ", vnid cache %" B_PRIu32 400 // initialize block cache 404 dprintf("dosfs error: error initializing block cache\n"); 585 // Initialize the vnode cache 587 dprintf("dosfs error: error initializing vnode cache\n"); 591 // and the dlist cache 593 dprintf("dosfs error: error initializing dlist cache\n"); 620 // now that the block cache has been initialised, we can figure 839 add_debugger_command("dfvnid", debug_dfvnid, "find a vnid in the vnid cache"); 840 add_debugger_command("dfloc", debug_dfloc, "find a loc in the vnid cache"); [all...] |
H A D | dosfs.h | 63 void *cache; member in struct:vnode 75 * on the disk (or at least in the cache) so that get_next_dirent continues
|
H A D | dir.cpp | 1021 entry->cache = file_cache_create(vol->id, vnid, entry->st_size);
|
/haiku/src/system/kernel/arch/x86/paging/pae/ |
H A D | X86VMTranslationMapPAE.cpp | 433 // the entry was not present and the TLB doesn't cache those entries. 559 /*! Caller must have locked the cache of the page to be unmapped. 776 VMCache* cache = page->Cache(); local 784 if (unmapPages || cache != area->cache) { 832 if (cache->temporary)
|
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/ |
H A D | usbdi.h | 370 void usbd_frame_zero(struct usb_page_cache *cache, usb_frlength_t offset, 372 void usbd_copy_in(struct usb_page_cache *cache, usb_frlength_t offset, 374 void usbd_copy_out(struct usb_page_cache *cache, usb_frlength_t offset, 376 void usbd_m_copy_in(struct usb_page_cache *cache, usb_frlength_t dst_offset,
|
/haiku/src/system/runtime_loader/ |
H A D | elf_symbol_lookup.cpp | 480 SymbolLookupCache* cache, addr_t* symAddress, image_t** symbolImage) 484 // check the cache first 485 if (cache->IsSymbolValueCached(index)) { 486 *symAddress = cache->SymbolValueAt(index, symbolImage); 589 cache->SetSymbolValueAt(index, (addr_t)location, sharedImage); 479 resolve_symbol(image_t* rootImage, image_t* image, elf_sym* sym, SymbolLookupCache* cache, addr_t* symAddress, image_t** symbolImage) argument
|
/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...] |
/haiku/3rdparty/docker/bootstrap/ |
H A D | Makefile | 11 ${ENGINE} build . --no-cache -t docker.io/haiku/bootstrap:${VER}
|
/haiku/src/system/runtime_loader/arch/riscv64/ |
H A D | arch_relocate.cpp | 20 size_t relLength, SymbolLookupCache* cache) 32 status_t status = resolve_symbol(rootImage, image, sym, cache, 79 SymbolLookupCache* cache) 86 cache); 94 image->pltrel_len, cache); 19 relocate_rela(image_t* rootImage, image_t* image, Elf64_Rela* rel, size_t relLength, SymbolLookupCache* cache) argument 78 arch_relocate_image(image_t* rootImage, image_t* image, SymbolLookupCache* cache) argument
|
/haiku/src/system/runtime_loader/arch/arm/ |
H A D | arch_relocate.cpp | 27 SymbolLookupCache* cache) 42 status_t status = resolve_symbol(rootImage, image, sym, cache, &S, 82 SymbolLookupCache* cache) 89 cache); 96 image->pltrel_len, cache); 26 relocate_rel(image_t *rootImage, image_t *image, Elf32_Rel *rel, int rel_len, SymbolLookupCache* cache) argument 81 arch_relocate_image(image_t *rootImage, image_t *image, SymbolLookupCache* cache) argument
|
/haiku/src/kits/package/manager/ |
H A D | RepositoryBuilder.cpp | 100 const BRepositoryCache& cache, const BString& errorName) 103 fErrorName(errorName.IsEmpty() ? cache.Info().Name() : errorName), 106 status_t error = fRepository.SetTo(cache); 99 BRepositoryBuilder(BSolverRepository& repository, const BRepositoryCache& cache, const BString& errorName) argument
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | InodeDir.cpp | 317 DirectoryCache* cache = cookie->fAttrDir ? fAttrCache : fCache; local 319 cache->Lock(); 320 result = cache->Revalidate(); 322 cache->Unlock(); 327 result = cache->GetSnapshot(&snapshot); 329 cache->Unlock(); 334 cache->Unlock();
|