SetToWritable
bplustree_node* duplicate = cachedDuplicate.SetToWritable(
if ((other = cachedOther.SetToWritable(transaction,
bplustree_node* duplicate = cachedDuplicate.SetToWritable(transaction,
duplicate = cachedDuplicate.SetToWritable(transaction, duplicateOffset,
&& (duplicate = cachedDuplicate.SetToWritable(transaction, left,
&& (duplicate = cachedDuplicate.SetToWritable(transaction,
bplustree_node* other = otherCached.SetToWritable(transaction,
if ((other = otherCached.SetToWritable(transaction, node->RightLink()))
if (SetToWritable(transaction, fTree->fHeader.FreeNode(), false) != NULL) {
if (SetToWritable(transaction, offset, false) == NULL)
cached.SetToWritable(transaction, fHeader.RootNode(), false);
bplustree_node* node = cached.SetToWritable(transaction, NodeSize(), false);
bplustree_node* node = cached.SetToWritable(transaction, offset, false);
bplustree_node* SetToWritable(Transaction& transaction,
if (cached.SetToWritable(transaction, group, block) != B_OK)
status_t SetToWritable(Transaction& transaction, AllocationGroup& group,
return CachedBlock::SetToWritable(transaction, group.Start() + block);
if (cached.SetToWritable(transaction, *this, block) < B_OK) {
if (cached.SetToWritable(transaction, *this, block) < B_OK)
return SetToWritable(transaction, fVolume->ToBlock(run), empty);
inline status_t SetToWritable(Transaction& transaction,
inline status_t SetToWritable(Transaction& transaction,
status = node.SetToWritable(transaction, this);
status = node.SetToWritable(transaction, this);
status = cached.SetToWritable(transaction, block + i, true);
status = cachedDirect.SetToWritable(transaction,
status_t status = cached.SetToWritable(transaction, blockNumber + i);
status = cached.SetToWritable(transaction, block + i);
status_t status = target.SetToWritable(transaction, targetBlock, true);
status_t status = node.SetToWritable(transaction, this, true);
status_t status = node.SetToWritable(transaction, this);
status_t status = node.SetToWritable(transaction, this);
status_t SetToWritable(Transaction& transaction, const Inode* inode, bool empty = false)
return CachedBlock::SetToWritable(transaction, fVolume->VnodeToBlock(inode->ID()), empty);
status_t status = cached.SetToWritable(transaction, run);
fNodes[level]->SetToWritable(block, transaction.ID(), true);
void SetToWritable(off_t block, int32 transactionId, bool empty);
uint8* SetToWritable(off_t block, int32 transactionId,
fData = (uint32*)CachedBlock::SetToWritable(transaction, block, empty);
bool SetToWritable(Transaction& transaction,
if (!block.SetToWritable(transaction, fBitmapBlock))
if (!block.SetToWritable(transaction, fBitmapBlock))
if (!blockBitmap.SetToWritable(transaction, fBitmapBlock))
uint8* SetToWritable(Transaction& transaction,
uint32* childBlock = (uint32*)cached.SetToWritable(transaction, blockNum,
uint32* childBlock = (uint32*)cached.SetToWritable(transaction, blockNum);
uint8* block = cached.SetToWritable(transaction, fPhysicalBlock);
uint8* block = cached.SetToWritable(transaction, fPhysicalBlock);
uint8* block = cached.SetToWritable(transaction, fPhysicalBlock);
uint8* firstBlock = cachedFirst.SetToWritable(transaction, fPhysicalBlock);
secondBlock = cachedFirst.SetToWritable(transaction,
secondBlock = cachedSecond.SetToWritable(transaction,
stream = (ext2_extent_stream *)cached.SetToWritable(
stream = (ext2_extent_stream *)cached.SetToWritable(
stream = (ext2_extent_stream *)cached.SetToWritable(
stream = (ext2_extent_stream *)cached.SetToWritable(
stream = (ext2_extent_stream *)cached.SetToWritable(
stream = (ext2_extent_stream *)cached.SetToWritable(transaction,
stream = (ext2_extent_stream *)cached.SetToWritable(
uint8* blockData = cached.SetToWritable(transaction, fBlockNum);
uint8* secondBlockData = secondCached.SetToWritable(transaction,
uint8* inodeBlockData = cached.SetToWritable(transaction, blockNum);
uint8* block = cached.SetToWritable(transaction, blockNum, true);
if (!inodeBitmap.SetToWritable(transaction, bitmapBlock)) {
if (!inodeBitmap.SetToWritable(transaction, bitmapBlock)) {
if (!inodeBitmap.SetToWritable(transaction, bitmapBlock))
uint8* block = cached.SetToWritable(transaction,
uint8* block = cached.SetToWritable(transaction, fFirstDataBlock);
uint8* block = cached.SetToWritable(transaction, blockNum);