/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 77 vm_cache_ref *cache; member in struct:FSShell::vnode 628 * Will also make sure that any cache modifications are written back. 636 // write back any changes in this vnode's cache -- but only 2278 // We don't implement an entry cache in the FS shell. 2287 // We don't implement an entry cache in the FS shell. 2295 // We don't implement an entry cache in the FS shell.
|
H A D | block_cache.cpp | 166 static fssh_status_t write_cached_block(block_cache* cache, cached_block* block, 215 flush_pending_notifications(block_cache* cache) argument 220 cache_notification* notification = cache->pending_notifications.Head(); 228 cache->pending_notifications.Remove(notification); 286 add_notification(block_cache* cache, cache_notification* notification, argument 298 cache->pending_notifications.Add(notification); 312 notify_transaction_listeners(block_cache* cache, cache_transaction* transaction, argument 328 add_notification(cache, listener, event, remove); 335 flush_pending_notifications(cache); 343 remove_transaction_listeners(block_cache* cache, cache_transactio argument 356 add_transaction_listener(block_cache* cache, cache_transaction* transaction, int32_t events, fssh_transaction_notification_hook hookFunction, void* data) argument 420 delete_transaction(block_cache* cache, cache_transaction* transaction) argument 431 lookup_transaction(block_cache* cache, int32_t id) argument 660 put_cached_block(block_cache* cache, cached_block* block) argument 697 put_cached_block(block_cache* cache, fssh_off_t blockNumber) argument 720 get_cached_block(block_cache* cache, fssh_off_t blockNumber, bool* _allocated, bool readBlock, cached_block** _block) argument 776 get_writable_cached_block(block_cache* cache, fssh_off_t blockNumber, fssh_off_t base, fssh_off_t length, int32_t transactionID, bool cleared, void** _block) argument 889 write_cached_block(block_cache* cache, cached_block* block, bool deleteTransaction) argument 951 wait_for_notifications(block_cache* cache) argument 977 block_cache* cache = (block_cache*)_cache; local 1003 block_cache* cache = (block_cache*)_cache; local 1045 block_cache* cache = (block_cache*)_cache; local 1107 block_cache* cache = (block_cache*)_cache; local 1159 block_cache* cache = (block_cache*)_cache; local 1252 block_cache* cache = (block_cache*)_cache; local 1305 block_cache* cache = (block_cache*)_cache; local 1388 block_cache* cache = (block_cache*)_cache; local 1431 block_cache* cache = (block_cache*)_cache; local 1445 block_cache* cache = (block_cache*)_cache; local 1459 block_cache* cache = (block_cache*)_cache; local 1474 block_cache* cache = (block_cache*)_cache; local 1490 block_cache* cache = (block_cache*)_cache; local 1522 block_cache* cache = new(std::nothrow) block_cache(fd, numBlocks, blockSize, local 1539 block_cache* cache = (block_cache*)_cache; local 1567 block_cache* cache = (block_cache*)_cache; local 1602 block_cache* cache = (block_cache*)_cache; local 1635 block_cache* cache = (block_cache*)_cache; local 1658 block_cache* cache = (block_cache*)_cache; local 1689 block_cache* cache = (block_cache*)_cache; local 1710 block_cache* cache = (block_cache*)_cache; local 1754 block_cache* cache = (block_cache*)_cache; local 1777 block_cache* cache = (block_cache*)_cache; local [all...] |
/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);
|
H A D | elf.cpp | 284 SymbolLookupCache cache(image); 286 status_t status = arch_relocate_image(rootImage, image, &cache);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 69 #include "../cache/vnode_store.h" 970 Will also make sure that any cache modifications are written back. 979 // write back any changes in this vnode's cache -- but only 986 // Note: If this vnode has a cache attached, there will still be two 987 // references to that cache at this point. The last one belongs to the vnode 989 // cache. Each but the last reference to a cache also includes a reference 990 // to the vnode. The file cache, however, released its reference (cf. 992 // ever drop to 0. Deleting the file cache now, will cause the next to last 993 // cache referenc [all...] |
/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 | vm_page.cpp | 436 fCache(page->cache), 444 out.Print("page activated: %p, cache: %p", fPage, fCache); 457 fCache(page->cache), 465 out.Print("page deactivated: %p, cache: %p", fPage, fCache); 478 fCache(page->cache), 486 out.Print("page swap freed: %p, cache: %p", fPage, fCache); 519 out.Print("page write: %p, cache: %p", fPage, fCache); 963 kprintf("cache: %p\n", page->Cache()); 1061 kprintf("page cache type state wired usage\n"); 1558 panic("to be freed page %p has cache", pag 1659 VMCache* cache = page->Cache(); local 2304 struct VMCache* cache = transfer.Cache(); local 2414 VMCache *cache = page->Cache(); local 2675 VMCache* cache = vm_cache_acquire_locked_page_cache(page, true); local 2776 VMCache* cache = vm_cache_acquire_locked_page_cache(page, true); local 2905 VMCache* cache = vm_cache_acquire_locked_page_cache(page, true); local 3125 vm_page_write_modified_page_range(struct VMCache* cache, uint32 firstPage, uint32 endPage) argument 3234 vm_page_write_modified_pages(VMCache *cache) argument 3259 vm_page_schedule_write_page_range(struct VMCache *cache, uint32 firstPage, uint32 endPage) argument 4019 vm_page_free_etc(VMCache* cache, vm_page* page, vm_page_reservation* reservation) argument [all...] |
H A D | VMCache.cpp | 41 #include "../cache/vnode_store.h" 82 VMCacheTraceEntry(VMCache* cache) argument 84 fCache(cache) 116 Create(VMCache* cache) argument 118 VMCacheTraceEntry(cache) 125 out.Print("vm cache create: -> cache: %p", fCache); 132 Delete(VMCache* cache) argument 134 VMCacheTraceEntry(cache) 141 out.Print("vm cache delet 148 SetMinimalCommitment(VMCache* cache, off_t commitment) argument 172 Resize(VMCache* cache, off_t size) argument 195 Rebase(VMCache* cache, off_t base) argument 218 AddConsumer(VMCache* cache, VMCache* consumer) argument 244 RemoveConsumer(VMCache* cache, VMCache* consumer) argument 265 Merge(VMCache* cache, VMCache* consumer) argument 286 InsertArea(VMCache* cache, VMArea* area) argument 312 RemoveArea(VMCache* cache, VMArea* area) argument 340 InsertPage(VMCache* cache, vm_page* page, off_t offset) argument 363 RemovePage(VMCache* cache, vm_page* page) argument 421 cache_stack_find_consumer(const TraceEntryIterator& baseIterator, void* cache) argument 570 VMCache* cache = cacheRef->cache; local 593 VMCache* cache = cacheRef->cache; local 616 VMCacheRef(VMCache* cache) argument 1598 VMAnonymousCache* cache local 1617 VMAnonymousNoSwapCache* cache local 1644 VMVnodeCache* cache local 1669 VMDeviceCache* cache local 1695 VMNullCache* cache local [all...] |
/haiku/src/servers/app/font/ |
H A D | GlyphLayoutEngine.h | 136 // and store them in the main font cache (not just transfer them from 137 // one cache to the other). So we need both to be write-locked. 249 FontCache* cache = FontCache::Default(); local 250 FontCacheEntry* entry = cache->FontCacheEntryFor(font, forceVector);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.cpp | 173 file_cache_delete(node->cache); 264 file_cache_set_size(node->cache, node->st_size); 382 result = file_cache_read(node->cache, cookie, pos, buf, len); 460 file_cache_set_size(node->cache, node->st_size); 471 result = file_cache_write(node->cache, cookie, pos, buf, len); 1063 /* remove vnode id from the cache */ 1223 if (node->cache == NULL) 1265 if (node->cache == NULL)
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BPlusTree.cpp | 255 void* cache = fTree->fStream->GetVolume()->BlockCache(); local 257 block_cache_set_dirty(cache, fBlockNumber, false, transaction.ID()); 258 block_cache_put(cache, fBlockNumber);
|
/haiku/src/apps/haikudepot/build/scripts/ |
H A D | ustache.py | 299 Default template cache mapping, keeping the 1024 most recently used 302 If `xxhash`_ is available, template data won't be included in cache. 591 cache: CompiledTemplateCache = default_cache, 602 :param cache: mutable mapping for compiled template cache 612 cached = cache.get(tokenization_key) 766 cache[tokenization_key] = (*recording, token) 781 cache: CompiledTemplateCache = default_cache, 795 :param cache: mutable mapping for compiled template cache [all...] |
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfImageDebugInfo.cpp | 468 DwarfImageDebugInfo::GetType(GlobalTypeCache* cache, const BString& name, argument 526 DwarfTypeFactory typeFactory(typeContext, fTypeLookup, cache);
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | RISCV64VMTranslationMap.cpp | 358 // the entry was not present and the TLB doesn't cache those entries. 569 VMCache* cache = page->Cache(); local 577 if (unmapPages || cache != area->cache) { 607 if (cache->temporary) {
|
/haiku/src/system/kernel/debug/ |
H A D | core_dump.cpp | 35 #include "../cache/vnode_store.h" 999 VMCache* cache = vm_area_get_locked_cache(area); local 1000 size_t ramSize = (size_t)cache->page_count * B_PAGE_SIZE; 1003 // iterate to the root cache and, if it is a mapped file, get 1005 while (VMCache* source = cache->source) { 1008 cache->ReleaseRefAndUnlock(); 1009 cache = source; 1014 if (cache->type == CACHE_TYPE_VNODE) { 1015 VMVnodeCache* vnodeCache = (VMVnodeCache*)cache; 1020 cache [all...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | pages_io_test.cpp | 57 vm_cache_ref *cache; member in struct:file_cache_ref 355 //mutex_lock(&ref->cache->lock); 365 //mutex_unlock(&ref->cache->lock); 384 //mutex_unlock(&ref->cache->lock);
|
/haiku/src/system/kernel/cache/ |
H A D | file_cache.cpp | 45 VMCache *cache; member in struct:file_cache_ref 122 fCache(ref->cache), 156 // allocate pages for the cache and mark them busy 289 VMCache* cache = ref->cache; local 290 cache->Lock(); 292 if (cache->consumers.IsEmpty() && cache->areas == NULL 305 vm_page_write_modified_page_range(cache, 309 // free some pages from our cache 382 VMCache* cache = ref->cache; local 736 VMCache* cache = ref->cache; local 1056 cache_node_opened(struct vnode* vnode, int32 fdType, VMCache* cache, dev_t mountID, ino_t parentID, ino_t vnodeID, const char* name) argument 1075 cache_node_closed(struct vnode* vnode, int32 fdType, VMCache* cache, dev_t mountID, ino_t vnodeID) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | kernel_interface.cpp | 393 newNode->cache = file_cache_create(volume->id, vnodeID, 412 if (node->cache != NULL) 413 file_cache_delete(node->cache); 532 return file_cache_read(node->cache, NULL, pos, buffer, _length); 715 /* cache file access */
|
H A D | iso9660.cpp | 693 /* Initialize access to the cache so that we can do cached i/o */ 694 TRACE(("ISO9660: cache init: dev %d, max blocks %lld\n", volume->fd, maxBlocks)); 862 node->cache = NULL;
|
/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...] |
/haiku/src/system/kernel/ |
H A D | guarded_heap.cpp | 1020 delete_object_cache(object_cache* cache) argument 1026 object_cache_set_minimum_reserve(object_cache* cache, size_t objectCount) argument 1033 object_cache_alloc(object_cache* cache, uint32 flags) argument 1035 return memalign_etc(0, (size_t)cache, flags); 1040 object_cache_free(object_cache* cache, void* object, uint32 flags) argument 1047 object_cache_reserve(object_cache* cache, size_t objectCount, uint32 flags) argument 1054 object_cache_get_usage(object_cache* cache, size_t* _allocatedMemory) argument
|
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMVMTranslationMap32Bit.cpp | 219 // the entry was not present and the TLB doesn't cache those entries. 336 /*! Caller must have locked the cache of the page to be unmapped. 548 VMCache* cache = page->Cache(); local 556 if (unmapPages || cache != area->cache) { 599 if (cache->temporary)
|
/haiku/src/libs/compat/freebsd_network/ |
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/kits/package/manager/ |
H A D | PackageManager.cpp | 784 BRepositoryCache cache; local 785 error = _GetRepositoryCache(roster, config, refresh, cache); 788 "Failed to get cache for repository \"%s\". Skipping."), name); 798 BRepositoryBuilder(*repository, cache, config.Name())
|
/haiku/src/apps/deskbar/ |
H A D | BarApp.cpp | 857 // create a new cache entry if not found 1056 // first look in the icon cache 1065 // icon wasn't in cache, get it from be_roster and cache it 1079 // fetch the generic 3 boxes icon and cache it 1127 // first look in the icon cache 1136 // icon wasn't in cache, get vector icon from resource and cache it 1221 WindowIconCache::WindowIconCache(const WindowIconCache &cache) argument 1223 id(cache [all...] |