summaryrefslogtreecommitdiff
path: root/Kernel/DiskBackedFileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
commitffab6897aa1bc668f98130b4bb485a4602509938 (patch)
treea4d1933fc390ea0803bb3826353262fbf06b885f /Kernel/DiskBackedFileSystem.h
parent27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff)
downloadserenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'Kernel/DiskBackedFileSystem.h')
-rw-r--r--Kernel/DiskBackedFileSystem.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Kernel/DiskBackedFileSystem.h b/Kernel/DiskBackedFileSystem.h
index 0a9f35f51f..58de06f924 100644
--- a/Kernel/DiskBackedFileSystem.h
+++ b/Kernel/DiskBackedFileSystem.h
@@ -10,20 +10,20 @@ public:
DiskDevice& device() { return *m_device; }
const DiskDevice& device() const { return *m_device; }
- size_t blockSize() const { return m_blockSize; }
+ size_t block_size() const { return m_block_size; }
protected:
explicit DiskBackedFS(RetainPtr<DiskDevice>&&);
- void setBlockSize(unsigned);
+ void set_block_size(unsigned);
- ByteBuffer readBlock(unsigned index) const;
- ByteBuffer readBlocks(unsigned index, unsigned count) const;
+ ByteBuffer read_block(unsigned index) const;
+ ByteBuffer read_blocks(unsigned index, unsigned count) const;
- bool writeBlock(unsigned index, const ByteBuffer&);
- bool writeBlocks(unsigned index, unsigned count, const ByteBuffer&);
+ bool write_block(unsigned index, const ByteBuffer&);
+ bool write_blocks(unsigned index, unsigned count, const ByteBuffer&);
private:
- size_t m_blockSize { 0 };
+ size_t m_block_size { 0 };
RetainPtr<DiskDevice> m_device;
};