/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | CachedBlock.h | 27 CachedBlock(CachedBlock *cached); 63 CachedBlock::CachedBlock(CachedBlock *cached) argument 65 fBlock(cached->fBlock), 66 fBlockNumber(cached->BlockNumber()), 67 fVolume(cached->fVolume) 69 cached->Keep();
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | CachedBlock.h | 27 CachedBlock(CachedBlock* cached); 79 CachedBlock::CachedBlock(CachedBlock* cached) argument 81 fVolume(cached->fVolume), 82 fBlockNumber(cached->BlockNumber()), 83 fBlock(cached->fBlock) 85 cached->Keep();
|
H A D | BPlusTree.cpp | 491 CachedNode cached(fTree); 492 bplustree_header* header = cached.SetToWritableHeader(transaction); 535 CachedNode cached(fTree); 536 header = cached.SetToWritableHeader(transaction); 554 CachedNode cached(fTree); 555 header = cached.SetToWritableHeader(transaction); 565 cached.Unset(); 649 CachedNode cached(this); 650 bplustree_header* header = cached.SetToWritableHeader(transaction); 657 header = cached 1156 _FindFreeDuplicateFragment(Transaction& transaction, const bplustree_node* node, CachedNode& cached, off_t* _offset, bplustree_node** _fragment, uint32* _index) argument 1198 _InsertDuplicate(Transaction& transaction, CachedNode& cached, const bplustree_node* node, uint16 index, off_t value) argument 1828 _RemoveDuplicate(Transaction& transaction, const bplustree_node* node, CachedNode& cached, uint16 index, off_t value) argument 2521 _ValidateChild(TreeCheck& check, CachedNode& cached, uint32 level, off_t offset, off_t lastOffset, off_t nextOffset, const uint8* key, uint16 keyLength) argument [all...] |
H A D | BlockAllocator.cpp | 418 AllocationBlock cached(volume); 421 if (cached.SetToWritable(transaction, *this, block) < B_OK) { 427 if (start + numBlocks > cached.NumBlockBits()) 428 numBlocks = cached.NumBlockBits() - start; 430 cached.Allocate(start, numBlocks); 479 AllocationBlock cached(volume); 482 if (cached.SetToWritable(transaction, *this, block) < B_OK) 485 T(Block("free-1", block, cached.Block(), volume->BlockSize())); 487 if (uint32(start + length) > cached.NumBlockBits()) 488 freeLength = cached [all...] |
H A D | CheckVisitor.cpp | 121 AllocationBlock cached(fVolume); 123 cached.SetTo(fGroups[i], j); 124 for (uint32 k = 0; k < cached.NumBlockBits(); k++) { 125 if (cached.IsUsed(k) != _CheckBitmapIsUsedAt(block)) { 501 CachedBlock cached(GetVolume()); 513 status = cached.SetTo(block + i); 517 block_run* runs = (block_run*)cached.Block(); 554 status = cached.SetTo(GetVolume()->ToBlock(data->double_indirect) 559 block_run* array = (block_run*)cached.Block();
|
H A D | Inode.cpp | 1426 could be cached in the inode structure or Inode object, though). 1483 CachedBlock cached(fVolume); 1496 status_t status = cached.SetTo(fVolume->ToBlock( 1501 block_run* indirect = (block_run*)cached.Block(); 1504 status = cached.SetTo(fVolume->ToBlock(indirect[ 1509 indirect = (block_run*)cached.Block(); 1522 CachedBlock cached(fVolume); 1526 status_t status = cached.SetTo(block + i); 1530 block_run* indirect = (block_run*)cached.Block(); 1537 << cached [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | cache.h | 72 typedef int (*cache_compare)(const struct CACHED_GENERIC *cached, 74 typedef void (*cache_free)(const struct CACHED_GENERIC *cached); 75 typedef int (*cache_hash)(const struct CACHED_GENERIC *cached);
|
H A D | security.c | 1490 static int compare(const struct CACHED_SECURID *cached, argument 1498 csize = (cached->variable ? 1500 + (((struct POSIX_SECURITY*)cached->variable)->acccnt 1501 + ((struct POSIX_SECURITY*)cached->variable)->defcnt) 1510 return ((cached->uid != item->uid) 1511 || (cached->gid != item->gid) 1512 || (cached->dmode != item->dmode) 1516 && memcmp(&((struct POSIX_SECURITY*)cached->variable)->acl, 1519 return ((cached->uid != item->uid) 1520 || (cached 1525 leg_compare(const struct CACHED_PERMISSIONS_LEGACY *cached, const struct CACHED_PERMISSIONS_LEGACY *item) argument 2086 const struct CACHED_PERMISSIONS *cached; local 2188 const struct CACHED_PERMISSIONS *cached; local 2319 const struct CACHED_PERMISSIONS *cached; local 2459 const struct CACHED_PERMISSIONS *cached; local 2571 const struct CACHED_PERMISSIONS *cached; local 2666 const struct CACHED_SECURID *cached; local 2810 const struct CACHED_SECURID *cached; local 2893 const struct CACHED_SECURID *cached; local 3023 const struct CACHED_PERMISSIONS *cached; local 3093 const struct CACHED_PERMISSIONS *cached; local 3269 const struct CACHED_PERMISSIONS *cached; local 3646 const struct CACHED_PERMISSIONS *cached; local 3769 const struct CACHED_PERMISSIONS *cached; local 4046 struct CACHED_PERMISSIONS *cached; local [all...] |
H A D | dir.h | 127 extern int ntfs_dir_inode_hash(const struct CACHED_GENERIC *cached); 128 extern int ntfs_dir_lookup_hash(const struct CACHED_GENERIC *cached);
|
H A D | dir.c | 101 int ntfs_dir_inode_hash(const struct CACHED_GENERIC *cached) argument 106 path = (const char*)cached->variable; 122 static int inode_cache_compare(const struct CACHED_GENERIC *cached, argument 125 return (!cached->variable 126 || strcmp(cached->variable, wanted->variable)); 140 static int inode_cache_inv_compare(const struct CACHED_GENERIC *cached, argument 149 c = (const struct CACHED_INODE*)cached; 152 different = !cached->variable 171 static int lookup_cache_compare(const struct CACHED_GENERIC *cached, argument 174 const struct CACHED_LOOKUP *c = (const struct CACHED_LOOKUP*) cached; 190 lookup_cache_inv_compare(const struct CACHED_GENERIC *cached, const struct CACHED_GENERIC *wanted) argument 206 ntfs_dir_lookup_hash(const struct CACHED_GENERIC *cached) argument 556 struct CACHED_LOOKUP *cached; local 611 struct CACHED_LOOKUP *cached; local 664 struct CACHED_INODE *cached; local [all...] |
/haiku/headers/private/package/hpkg/ |
H A D | PoolBuffer.h | 38 void SetCached(bool cached) { fCached = cached; } argument
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | HTreeEntryIterator.cpp | 85 CachedBlock cached(fVolume); 86 const uint8* block = cached.SetTo(fBlockNum); 143 CachedBlock cached(fVolume); 144 const uint8* block = cached.SetTo(fBlockNum); 261 CachedBlock cached(fVolume); 262 const uint8* block = cached.SetTo(fBlockNum); 285 CachedBlock cached(fVolume); 287 const uint8* blockData = cached.SetTo(fBlockNum); 321 CachedBlock cached(fVolume); 323 uint8* blockData = cached [all...] |
H A D | ExtentStream.cpp | 65 CachedBlock cached(fVolume); 76 stream = (ext2_extent_stream *)cached.SetTo( 185 CachedBlock cached(fVolume); 195 stream = (ext2_extent_stream *)cached.SetTo(path[level]); 209 stream = (ext2_extent_stream *)cached.SetToWritable( 210 transaction, cached.BlockNumber()); 230 stream = (ext2_extent_stream *)cached.SetTo(path[level]); 255 stream = (ext2_extent_stream *)cached.SetToWritable( 303 stream = (ext2_extent_stream *)cached.SetToWritable( 347 stream = (ext2_extent_stream *)cached [all...] |
H A D | DataStream.cpp | 81 CachedBlock cached(fVolume); 82 uint32* indirectBlocks = (uint32*)cached.SetTo(B_LENDIAN_TO_HOST_INT32( 98 CachedBlock cached(fVolume); 99 uint32* indirectBlocks = (uint32*)cached.SetTo(B_LENDIAN_TO_HOST_INT32( 110 indirectBlocks = (uint32*)cached.SetTo(indirectIndex); 128 CachedBlock cached(fVolume); 129 uint32* indirectBlocks = (uint32*)cached.SetTo(B_LENDIAN_TO_HOST_INT32( 140 indirectBlocks = (uint32*)cached.SetTo(indirectIndex); 150 indirectBlocks = (uint32*)cached.SetTo(indirectIndex); 462 CachedBlock cached(fVolum [all...] |
H A D | Volume.cpp | 493 CachedBlock cached(this); 494 const uint8* block = cached.SetTo(_GroupDescriptorBlock(blockIndex)); 544 CachedBlock cached(this); 545 uint8* block = cached.SetToWritable(transaction, 605 CachedBlock cached(this); 612 uint8* block = cached.SetToWritable(transaction, blockNum); 638 block = cached.SetToWritable(transaction, blockNum); 748 CachedBlock cached(this); 749 const uint8* block = cached.SetTo(fFirstDataBlock); 783 CachedBlock cached(thi [all...] |
H A D | DirectoryIterator.cpp | 97 CachedBlock cached(fVolume); 98 const uint8* block = cached.SetTo(fPhysicalBlock); 161 TRACE("DirectoryIterator::Next(): Creating cached block\n"); 163 CachedBlock cached(fVolume); 166 TRACE("DirectoryIterator::Next(): Loading cached block\n"); 167 const uint8* block = cached.SetTo(fPhysicalBlock); 208 block = cached.SetTo(fPhysicalBlock); 355 CachedBlock cached(fVolume); 357 uint8* block = cached.SetToWritable(transaction, fPhysicalBlock); 428 CachedBlock cached(fVolum [all...] |
H A D | HTree.cpp | 92 CachedBlock cached(fDirectory->GetVolume()); 93 HTreeRoot* root = (HTreeRoot*)cached.SetTo(blockNum); 120 CachedBlock cached(fDirectory->GetVolume()); 121 HTreeRoot* root = (HTreeRoot*)cached.SetTo(blockNum);
|
H A D | Journal.cpp | 938 CachedBlock cached(fJournalVolume); 948 header = (JournalHeader*)cached.SetTo(nextBlockPos); 981 header = (JournalHeader*)cached.SetTo(nextBlockPos); 998 CachedBlock cached(fJournalVolume); 1008 header = (JournalHeader*)cached.SetTo(nextBlockPos); 1040 header = (JournalHeader*)cached.SetTo(nextBlockPos); 1070 CachedBlock cached(fJournalVolume); 1071 JournalHeader* header = (JournalHeader*)cached.SetTo(nextBlockPos); 1152 header = (JournalHeader*)cached.SetTo(nextBlockPos);
|
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | Stream.cpp | 207 CachedBlock cached(fVolume); 213 cached.BlockSize(), runsPerBlock, directSize, indirectSize); 218 block_run* indirect = (block_run*)cached.SetTo( 228 indirect = (block_run*)cached.SetTo(fVolume.ToBlock(indirect[ 243 CachedBlock cached(fVolume); 247 block_run* indirect = (block_run *)cached.SetTo(block + i); 257 += (uint32)indirect[current].Length() << cached.BlockShift(); 261 - ((uint32)run.Length() << cached.BlockShift()); 334 CachedBlock cached(fVolume, run); 335 if ((block = cached [all...] |
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/ |
H A D | NW80xCamDevice.h | 40 virtual ssize_t ReadReg(uint16 address, uint8 *data, size_t count=1, bool cached=false);
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/quickcam/ |
H A D | QuickCamDevice.h | 40 virtual ssize_t ReadReg(uint16 address, uint8 *data, size_t count=1, bool cached=false);
|
H A D | QuickCamDevice.cpp | 112 QuickCamDevice::ReadReg(uint16 address, uint8 *data, size_t count, bool cached) argument 115 cached));
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamSensor.h | 54 virtual status_t ReadReg(uint16 address, uint8 *data, size_t count=1, bool cached=false);
|
/haiku/src/system/boot/loader/file_systems/fat/ |
H A D | Stream.cpp | 279 CachedBlock cached(fVolume, num); 280 if ((block = cached.Block()) == NULL) { 312 CachedBlock cached(fVolume, num); 313 if ((block = cached.Block()) == NULL) {
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Volume.cpp | 240 CachedBlock cached(this); 241 const uint8* block = cached.SetTo(EXFAT_SUPER_BLOCK_OFFSET / fBlockSize); 310 TRACE("Volume::GetIno() cached cluster %" B_PRIu32 " offset %" B_PRIu32
|