Searched refs:fVolume (Results 1 - 25 of 165) sorted by relevance

1234567

/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInodeAllocator.cpp34 fVolume(volume)
64 uint32 numInodes = fVolume->InodesPerGroup();
68 status_t status = fVolume->GetBlockGroup(blockGroup, &group);
75 if (blockGroup == fVolume->NumGroups() - 1)
76 numInodes = fVolume->NumInodes() - blockGroup * numInodes;
79 group->SetFreeInodes(group->FreeInodes(fVolume->Has64bitFeature()) + 1,
80 fVolume->Has64bitFeature());
83 group->UsedDirectories(fVolume->Has64bitFeature()) - 1,
84 fVolume->Has64bitFeature());
89 group->InodeBitmap(fVolume
[all...]
H A DCachedBlock.h43 Volume* fVolume; member in class:CachedBlock
55 fVolume(volume),
65 fVolume(volume),
91 block_cache_put(fVolume->BlockCache(), fBlockNumber);
102 return fBlock = (uint8 *)block_cache_get(fVolume->BlockCache(), block);
126 fBlock = (uint8*)block_cache_get_empty(fVolume->BlockCache(),
129 fBlock = (uint8*)block_cache_get_writable(fVolume->BlockCache(),
H A DInode.cpp41 fVolume(volume),
53 "\n", sizeof(ext2_inode), fVolume->InodeSize());
54 fNodeSize = sizeof(ext2_inode) > fVolume->InodeSize()
55 ? fVolume->InodeSize() : sizeof(ext2_inode);
75 fVolume(volume),
87 sizeof(ext2_inode), fVolume->InodeSize());
88 fNodeSize = sizeof(ext2_inode) > fVolume->InodeSize()
89 ? fVolume->InodeSize() : sizeof(ext2_inode);
113 acquire_vnode(fVolume->FSVolume(), ID());
127 status_t status = fVolume
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelVolume.cpp49 fVolume.id = id;
50 fVolume.partition = -1;
51 fVolume.layer = 0;
52 fVolume.private_volume = NULL; // filled in by the FS
53 fVolume.ops = NULL; // filled in by the FS
54 fVolume.sub_volume = NULL;
55 fVolume.super_volume = NULL;
56 fVolume.file_system = fFSModule;
57 fVolume.file_system_name = const_cast<char*>(fileSystem->GetName());
58 fVolume
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DFileSystemVisitor.cpp21 fVolume(volume),
61 vnode.SetTo(fVolume, fCurrent);
66 put_vnode(fVolume->FSVolume(), fVolume->ToVnode(fCurrent));
72 status = OpenInodeFailed(status, fVolume->ToBlock(fCurrent),
112 put_vnode(fVolume->FSVolume(),
113 fVolume->ToVnode(fCurrent));
133 vnode.SetTo(fVolume, id);
170 Vnode attrNode(fVolume, inode->Attributes());
209 Vnode vnode(fVolume, fVolum
[all...]
H A DCachedBlock.h49 { return fVolume->BlockSize(); }
51 { return fVolume->BlockShift(); }
59 Volume* fVolume; member in class:CachedBlock
71 fVolume(volume),
81 fVolume(cached->fVolume),
107 block_cache_put(fVolume->BlockCache(), fBlockNumber);
118 return block_cache_get_etc(fVolume->BlockCache(), block, base, length,
133 return SetTo(fVolume->ToBlock(run));
145 fBlock = (uint8*)block_cache_get_empty(fVolume
[all...]
H A DJournal.cpp403 fVolume(volume),
451 int32 maxRuns = run_array::MaxRuns(fVolume->BlockSize()) - 1;
464 if (fVolume->ValidateBlockRun(array->RunAt(i)) != B_OK)
482 off_t logOffset = fVolume->ToBlock(fVolume->Log());
485 CachedBlock cachedArray(fVolume);
497 CachedBlock cached(fVolume);
501 int32 blockSize = fVolume->BlockSize();
506 off_t offset = fVolume->ToOffset(run);
538 off_t offset = fVolume
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DNode.h17 Volume* GetVolume() const { return fVolume; }
24 Volume* fVolume; member in class:ONLY_OBJECT_TRACKABLE_BASE_CLASS
H A DVolumeManager.h74 : fVolume(volume)
85 if (fVolume) {
86 fVolume->PutVolume();
87 fVolume = NULL;
93 fVolume = NULL;
97 Volume* fVolume; member in class:VolumePutter
H A DNode.cpp7 : fVolume(volume),
/haiku/src/system/boot/loader/file_systems/fat/
H A DStream.cpp35 fVolume(volume),
44 fClusterCount = (fSize + fVolume.ClusterSize() - 1) / fVolume.ClusterSize();
49 fClusterMapCache[i].cluster = fVolume.InvalidClusterID();
63 if (fSize && !fVolume.IsValidCluster(fFirstCluster))
81 uint32 next = fVolume.InvalidClusterID();
86 runs[i].block = fVolume.ToBlock(cluster);
87 runs[i].len = fVolume.ClusterSize();
89 next = fVolume.NextCluster(cluster);
92 runs[i].len += fVolume
[all...]
H A DCachedBlock.h39 uint32 BlockSize() const { return fVolume.BlockSize(); }
40 uint32 BlockShift() const { return fVolume.BlockShift(); }
43 Volume &fVolume; member in class:FATFS::CachedBlock
/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioVolumeConverter.cpp58 fVolume(volume),
93 if (fPreviousVolume == 1.0 && fVolume == 1.0) {
104 if (fVolume != fPreviousVolume) {
106 fPreviousVolume, fVolume, 0.0);
108 convert((float*)buffer, samples, fVolume, 0.0);
111 if (fVolume != fPreviousVolume) {
113 fPreviousVolume, fVolume, 0.5);
115 convert((int32*)buffer, samples, fVolume, 0.5);
118 if (fVolume != fPreviousVolume) {
120 fPreviousVolume, fVolume, 0.
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DBlock.cpp20 fVolume = other.fVolume;
25 other.fVolume = NULL;
75 if (fVolume == NULL)
84 error = block_cache_make_writable(fVolume->BlockCache(), fIndex,
99 if (fVolume != NULL) {
103 block_cache_put(fVolume->BlockCache(), fIndex);
104 fVolume = NULL;
117 fVolume = volume;
H A DTransaction.cpp36 fVolume(volume),
74 fVolume->TransactionStarted();
76 fID = cache_start_transaction(fVolume->BlockCache());
78 fVolume->TransactionFinished();
82 fOldFreeBlockCount = fVolume->GetBlockAllocator()->FreeBlocks();
120 status_t error = block_cache_sync(fVolume->BlockCache());
134 error = cache_end_transaction(fVolume->BlockCache(), fID, NULL, NULL);
151 fVolume->TransactionFinished();
165 cache_abort_transaction(fVolume->BlockCache(), fID);
185 block_cache_put(fVolume
[all...]
H A DBlock.h41 Volume* fVolume; member in class:Block
50 fVolume(NULL),
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DCachedBlock.h46 Volume* fVolume; member in class:CachedBlock
59 fVolume(volume),
70 fVolume(volume),
97 block_cache_put(fVolume->BlockCache(), fBlockNumber);
108 return fBlock = (uint8*)block_cache_get(fVolume->BlockCache(), block);
119 fBlock = (uint8*)block_cache_get_empty(fVolume->BlockCache(),
122 fBlock = (uint8*)block_cache_get_writable(fVolume->BlockCache(),
/haiku/src/add-ons/kernel/file_systems/udf/
H A DCachedBlock.h32 uint32 BlockSize() const { return fVolume->BlockSize(); }
33 uint32 BlockShift() const { return fVolume->BlockShift(); }
48 Volume *fVolume; member in class:CachedBlock
57 fVolume(volume)
67 fVolume(cached->fVolume)
91 block_cache_put(fVolume->BlockCache(), fBlockNumber);
109 return block_cache_get_etc(fVolume->BlockCache(), block, base, length,
118 if (fVolume->MapBlock(address, &block) == B_OK)
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DCachedBlock.h35 Volume* fVolume; member in class:CachedBlock
47 fVolume(volume),
57 fVolume(volume),
83 block_cache_put(fVolume->BlockCache(), fBlockNumber);
94 return fBlock = (uint8 *)block_cache_get(fVolume->BlockCache(), block);
/haiku/src/servers/index/
H A DCatchUpManager.h35 const BVolume& Volume() { return fVolume; }
41 BVolume fVolume; member in class:CatchUpAnalyser
71 BVolume fVolume; member in class:CatchUpManager
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DEntry.cpp17 : fVolume(volume),
41 return fVolume;
55 return NoAllocEntryRef(fVolume->GetID(), fDirectory->GetID(),
63 return fVolume->GetID();
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DJournal.h41 fVolume(volume),
57 return fVolume;
63 return cached_write(fVolume->Device(), blockNumber, buffer,
103 Volume* fVolume; member in class:Transaction
/haiku/src/system/boot/loader/file_systems/amiga_ffs/
H A DDirectory.cpp26 fVolume(volume)
39 fVolume(volume)
63 HashIterator *iterator = new(nothrow) HashIterator(fVolume.Device(), fNode);
95 HashIterator iterator(fVolume.Device(), fNode);
99 iterator.Goto(fNode.HashIndexFor(fVolume.Type(), name));
108 return new(nothrow) File(fVolume, block);
110 return new(nothrow) Directory(fVolume, block);
/haiku/src/system/boot/loader/file_systems/bfs/
H A DStream.cpp37 uint32 BlockSize() const { return fVolume.BlockSize(); }
39 { return fVolume.BlockShift(); }
42 Volume& fVolume; member in class:CachedBlock
50 fVolume(volume),
59 fVolume(volume),
92 if (read_pos(fVolume.Device(), block << BlockShift(), fBlock, BlockSize())
103 return SetTo(fVolume.ToBlock(run));
112 fVolume(volume)
122 fVolume(volume)
138 return bfs_inode::InitCheck(&fVolume);
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DInode.cpp22 fVolume(volume),
29 int fd = fVolume->Device();
30 ufs2_super_block* superblock = (ufs2_super_block* )&fVolume->SuperBlock();
44 fCache = file_cache_create(fVolume->ID(), ID(), Size());
45 fMap = file_map_create(fVolume->ID(), ID(), Size());
53 fVolume(volume),
61 fCache = file_cache_create(fVolume->ID(), ID(), Size());
62 fMap = file_map_create(fVolume->ID(), ID(), Size());
69 fVolume(volume),
98 int fd = fVolume
[all...]

Completed in 217 milliseconds

1234567