DataContainer
status_t error = DataContainer::WriteAt(offset, buffer, size, bytesWritten);
: DataContainer(volume),
info.AddAttributeAllocation(DataContainer::GetCommittedSize());
off_t oldSize = DataContainer::GetSize();
status_t error = DataContainer::Resize(newSize);
class Attribute : public DataContainer,
off_t GetSize() const { return DataContainer::GetSize(); }
DataContainer::InitCheck() const
DataContainer::GetCache(struct vnode* vnode)
DataContainer::Resize(off_t newSize)
DataContainer::ReadAt(off_t offset, void *_buffer, size_t size,
DataContainer::WriteAt(off_t offset, const void *_buffer, size_t size,
DataContainer::GetCommittedSize() const
DataContainer::_RequiresCacheMode(size_t size)
DataContainer::_IsCacheMode() const
DataContainer::_CountBlocks() const
DataContainer::_SwitchToCacheMode()
DataContainer::_DoCacheIO(off_t offset, uint8* buffer, ssize_t length,
friend class DataContainer;
DataContainer::DataContainer(Volume *volume)
DataContainer::~DataContainer()
class DataContainer {
DataContainer(Volume *volume);
virtual ~DataContainer();
status_t error = DataContainer::ReadAt(offset, buffer, size, bytesRead);
off_t oldSize = DataContainer::GetSize();
status_t error = DataContainer::WriteAt(offset, buffer, size,
if (oldSize != DataContainer::GetSize()) {
off_t oldSize = DataContainer::GetSize();
error = DataContainer::Resize(newSize);
return DataContainer::GetSize();
info.AddFileAllocation(DataContainer::GetCommittedSize());
class File : public Node, public DataContainer {