/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | DeviceOpener.cpp | 18 fBlockCache(NULL) 26 fBlockCache(NULL) 86 return fBlockCache = block_cache_create(fDevice, numBlocks, blockSize, 94 if (fBlockCache == NULL) 97 block_cache_delete(fBlockCache, allowWrites); 98 fBlockCache = NULL;
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Tree.cpp | 49 fBlockCache(NULL), 75 fBlockCache = fVolume->GetBlockCache(); 87 return (fBlockCache && fRootNode && fTreeHeight ? B_OK : B_NO_INIT); 101 if (fBlockCache) 102 return fBlockCache->GetBlockSize(); 111 return fBlockCache; 127 error = fBlockCache->GetBlock(blockNumber, block); 138 error = fBlockCache->GetBlock(blockNumber, &block);
|
H A D | Volume.h | 59 BlockCache *GetBlockCache() const { return fBlockCache; } 97 BlockCache *fBlockCache; member in class:Volume
|
H A D | Volume.cpp | 72 fBlockCache(NULL), 142 fBlockCache = new(nothrow) BlockCache; 143 if (fBlockCache) 144 error = fBlockCache->Init(fDevice, CountBlocks(), GetBlockSize()); 157 error = fBlockCache->GetBlock(fSuperBlock->GetRootBlock(), &rootBlock); 210 if (fBlockCache) { 211 delete fBlockCache; 212 fBlockCache = NULL;
|
H A D | Tree.h | 66 BlockCache *fBlockCache; member in class:Tree
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | Volume.h | 49 void *BlockCache() {return fBlockCache; } 64 void *fBlockCache; member in class:Volume
|
H A D | Volume.cpp | 22 fBlockCache(NULL), 96 fBlockCache = block_cache_create(device, length, blockSize, IsReadOnly()); 365 block_cache_delete(fBlockCache, true); 368 fBlockCache = NULL;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | iter.cpp | 117 status = block_cache_get_etc(csi->vol->fBlockCache, 131 block_cache_put(csi->vol->fBlockCache, csi_to_block(csi)); 142 return block_cache_make_writable(csi->vol->fBlockCache, csi_to_block(csi), 177 char *blockData = (char *)block_cache_get(csi->vol->fBlockCache, i); 180 block_cache_put(csi->vol->fBlockCache, i); 220 status_t status = block_cache_get_writable_etc(csi->vol->fBlockCache, 227 block_cache_put(csi->vol->fBlockCache, i); 252 status = block_cache_get_writable_etc(csi->vol->fBlockCache, block, 0, 1, 258 block_cache_put(csi->vol->fBlockCache, block);
|
H A D | fat.cpp | 39 status = block_cache_get_writable_etc(vol->fBlockCache, 46 block_cache_put(vol->fBlockCache, sector + i * vol->sectors_per_fat); 65 block = (uint8 *)block_cache_get(vol->fBlockCache, cur_sector); 75 block_cache_put(vol->fBlockCache, cur_sector); 140 block1 = (uint8 *)block_cache_get(vol->fBlockCache, sector); 142 block1 = (uint8 *)block_cache_get_writable(vol->fBlockCache, sector, 160 block2 = (uint8 *)block_cache_get(vol->fBlockCache, 163 block2 = (uint8 *)block_cache_get_writable(vol->fBlockCache, 216 block_cache_put(vol->fBlockCache, sector - 1); 286 block_cache_put(vol->fBlockCache, secto [all...] |
H A D | dosfs.cpp | 401 vol->fBlockCache = block_cache_create(vol->fd, vol->total_sectors, 403 if (vol->fBlockCache == NULL) { 439 block_cache_delete(vol->fBlockCache, false); 849 block_cache_delete(vol->fBlockCache, false); 863 status_t status = block_cache_get_writable_etc(vol->fBlockCache, 880 block_cache_set_dirty(vol->fBlockCache, vol->fsinfo_sector, 883 block_cache_put(vol->fBlockCache, vol->fsinfo_sector); 901 result = block_cache_get_etc(vol->fBlockCache, vol->fsinfo_sector, 0, 918 block_cache_put(vol->fBlockCache, vol->fsinfo_sector); 938 block_cache_delete(vol->fBlockCache, tru [all...] |
H A D | dosfs.h | 111 void *fBlockCache; member in struct:_nspace
|
/haiku/headers/private/file_systems/ |
H A D | DeviceOpener.h | 47 void* fBlockCache; member in class:DeviceOpener
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Volume.h | 68 void* BlockCache() { return fBlockCache; } 90 void* fBlockCache; member in class:Volume
|
H A D | Volume.cpp | 178 fBlockCache = opener.InitCache(fSuperBlock.TotalSize() / fBlockSize, 180 if (fBlockCache == NULL) 183 TRACE("Volume::Mount(): Initialized block cache: %p\n", fBlockCache); 384 fBlockCache = opener.InitCache(fSuperBlock.TotalSize() / fBlockSize, 386 if (fBlockCache == NULL) 433 block_cache_delete(fBlockCache, !IsReadOnly());
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Volume.h | 67 inline void* BlockCache() const { return fBlockCache; } 85 void* fBlockCache; member in class:Volume
|
H A D | Volume.cpp | 41 fBlockCache(NULL), 57 if (fBlockCache != NULL) 58 block_cache_delete(fBlockCache, false); 179 status_t error = block_cache_sync(fBlockCache); 229 return block_cache_sync(fBlockCache); 469 fBlockCache = block_cache_create(fFD, fTotalBlocks, B_PAGE_SIZE, 471 if (fBlockCache == NULL)
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Volume.cpp | 184 fBlockCache = opener.InitCache(fSuperBlock.NumBlocks(), fBlockSize); 185 if (fBlockCache == NULL) 188 TRACE("Volume::Mount(): Initialized block cache: %p\n", fBlockCache); 228 block_cache_delete(fBlockCache, !IsReadOnly());
|
H A D | Volume.h | 137 void* BlockCache() { return fBlockCache; } 164 void* fBlockCache; member in class:Volume
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Volume.h | 137 void* BlockCache() { return fBlockCache; } 189 void* fBlockCache; member in class:Volume
|
H A D | Volume.cpp | 249 fBlockCache = opener.InitCache(NumBlocks(), fBlockSize); 250 if (fBlockCache == NULL) 253 TRACE("Volume::Mount(): Initialized block cache: %p\n", fBlockCache); 353 block_cache_delete(fBlockCache, !IsReadOnly()); 831 TRACE("Volume::FlushDevice(): %p, %p\n", this, fBlockCache); 832 return block_cache_sync(fBlockCache);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Volume.h | 145 void* BlockCache() { return fBlockCache; } 180 void* fBlockCache; member in class:Volume 238 return block_cache_sync(fBlockCache);
|
H A D | Volume.cpp | 214 if ((fBlockCache = opener.InitCache(NumBlocks(), fBlockSize)) == NULL) 305 block_cache_delete(fBlockCache, !IsReadOnly()); 599 if ((fBlockCache = opener.InitCache(NumBlocks(), fBlockSize)) == NULL)
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | kernel_interface.cpp | 177 block_cache_delete(volume->fBlockCache, false); 197 block_cache_delete(volume->fBlockCache, false); 281 char* blockData = (char*)block_cache_get(volume->fBlockCache, block); 339 block_cache_put(volume->fBlockCache, cachedBlock); 369 char* data = (char*)block_cache_get(volume->fBlockCache, block); 376 block_cache_put(volume->fBlockCache, block);
|
H A D | iso9660.h | 169 void *fBlockCache; member in struct:iso9660_volume
|
H A D | iso9660.cpp | 545 char* buffer = (char*)block_cache_get(volume->fBlockCache, 551 block_cache_put(volume->fBlockCache, 695 volume->fBlockCache = block_cache_create(volume->fd, maxBlocks, 766 = (char*)block_cache_get(volume->fBlockCache, cookie->block); 769 block_cache_put(volume->fBlockCache, cookie->block); 834 block_cache_put(volume->fBlockCache, cacheBlock);
|