Searched refs:current_data (Results 1 – 2 of 2) sorted by relevance
/haiku/src/tools/fs_shell/ |
H A D | block_cache.cpp | 67 void* current_data; member 537 Free(block->current_data); in FreeBlock() 569 block->current_data = Allocate(); in NewBlock() 570 if (block->current_data == NULL) { in NewBlock() 637 if (block->parent_data != NULL && block->parent_data != block->current_data) in DiscardBlock() 664 && memcmp(block->current_data, block->compare, cache->block_size)) { in put_cached_block() 666 fssh_dump_block((const char*)block->current_data, 256, " "); in put_cached_block() 746 if (fssh_read_pos(cache->fd, blockNumber * blockSize, block->current_data, in get_cached_block() 801 fssh_memset(block->current_data, 0, cache->block_size); in get_writable_cached_block() 806 *_block = block->current_data; in get_writable_cached_block() [all …]
|
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 75 void* current_data; member 546 _Allocate(fCurrent, block->current_data); in BlockData() 1317 ? block->original_data : block->current_data; in _Data() 1371 if (_Data(block) == block->current_data) in _BlockDone() 1542 vecs[i].base = reinterpret_cast<generic_addr_t>(fBlocks[i]->current_data); in ReadAsync() 1728 Free(block->current_data); in FreeBlock() 1757 block->current_data = Allocate(); in NewBlock() 1758 if (block->current_data == NULL) { in NewBlock() 1804 if (block->parent_data != block->current_data) in FreeBlockParentData() 2071 && memcmp(block->current_data, block->compare, cache->block_size)) { in put_cached_block() [all …]
|