Home
last modified time | relevance | path

Searched refs:is_dirty (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/system/kernel/cache/
H A Dblock_cache_test.cpp49 bool is_dirty; member
201 if (block->is_dirty != gBlocks[number].is_dirty) { in test_blocks()
203 number, block->is_dirty, gBlocks[number].is_dirty); in test_blocks()
268 gBlocks[1].is_dirty = true; in basic_test_discard_in_sub()
280 gBlocks[2].is_dirty = true; in basic_test_discard_in_sub()
293 gBlocks[0].is_dirty = true; in basic_test_discard_in_sub()
314 gBlocks[0].is_dirty = false; in basic_test_discard_in_sub()
316 gBlocks[1].is_dirty = false; in basic_test_discard_in_sub()
320 gBlocks[2].is_dirty = false; in basic_test_discard_in_sub()
337 gBlocks[0].is_dirty = true; in test_abort_transaction()
[all …]
/haiku/src/tools/fs_shell/
H A Dblock_cache.cpp77 bool is_dirty : 1; member
583 block->is_dirty = false; in NewBlock()
610 if (block->is_dirty && !block->discard) in RemoveUnusedBlocks()
663 if (!block->is_dirty && block->compare != NULL in put_cached_block()
803 block->is_dirty = true; in get_writable_cached_block()
875 block->is_dirty = true; in get_writable_cached_block()
911 block->is_dirty = false; in write_cached_block()
1551 || (block->transaction == NULL && block->is_dirty)) { in fssh_block_cache_sync()
1587 || (block->transaction == NULL && block->is_dirty)) { in fssh_block_cache_sync_etc()
1760 if (block->is_dirty == dirty) { in fssh_block_cache_set_dirty()
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp99 bool is_dirty : 1; member
406 fIsDirty(block->is_dirty), in Action()
1128 || (transaction == NULL && is_dirty && !is_writing)); in CanBeWritten()
1372 block->is_dirty = false; in _BlockDone()
1619 ASSERT(fBlocks[i]->is_dirty == false && fBlocks[i]->unused == true); in _RemoveAllocated()
1787 block->is_dirty = false; in NewBlock()
1829 if (block->is_dirty && !block->discard) { in RemoveUnusedBlocks()
1936 if (block->is_dirty && !block->busy_writing && !block->discard) in _GetUnusedBlock()
2070 if (!block->is_dirty && block->compare != NULL in put_cached_block()
2256 if (!block->is_dirty) { in get_writable_cached_block()
[all …]