summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-21 18:58:45 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-21 18:58:45 +0200
commitd343fb24296cdd027fd9f8051906fce49db75e0b (patch)
tree1a65318731c00a4ad5d444b7ac96b6b4718cb967 /Kernel
parent550b0b062b457d49fd30981378d00e0b47250608 (diff)
downloadserenity-d343fb24296cdd027fd9f8051906fce49db75e0b.zip
AK: Rename Retainable.h => RefCounted.h.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Devices/DiskDevice.h2
-rw-r--r--Kernel/File.h2
-rw-r--r--Kernel/FileSystem/Custody.h2
-rw-r--r--Kernel/FileSystem/Ext2FileSystem.h2
-rw-r--r--Kernel/FileSystem/FileDescription.h2
-rw-r--r--Kernel/FileSystem/FileSystem.h2
-rw-r--r--Kernel/FileSystem/Inode.h2
-rw-r--r--Kernel/Net/Socket.h2
-rw-r--r--Kernel/SharedMemory.h2
-rw-r--r--Kernel/VM/MemoryManager.h2
-rw-r--r--Kernel/VM/PageDirectory.h2
-rw-r--r--Kernel/VM/PhysicalRegion.h2
-rw-r--r--Kernel/VM/VMObject.h2
13 files changed, 13 insertions, 13 deletions
diff --git a/Kernel/Devices/DiskDevice.h b/Kernel/Devices/DiskDevice.h
index a8b7246e84..78290cfd3f 100644
--- a/Kernel/Devices/DiskDevice.h
+++ b/Kernel/Devices/DiskDevice.h
@@ -1,6 +1,6 @@
#pragma once
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/Types.h>
// FIXME: Support 64-bit DiskOffset
diff --git a/Kernel/File.h b/Kernel/File.h
index 870b4fbb6c..9c160428cb 100644
--- a/Kernel/File.h
+++ b/Kernel/File.h
@@ -1,7 +1,7 @@
#pragma once
#include <AK/AKString.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/NonnullRefPtr.h>
#include <AK/Types.h>
#include <Kernel/KResult.h>
diff --git a/Kernel/FileSystem/Custody.h b/Kernel/FileSystem/Custody.h
index 287d099a30..dd6ad7cf32 100644
--- a/Kernel/FileSystem/Custody.h
+++ b/Kernel/FileSystem/Custody.h
@@ -3,7 +3,7 @@
#include <AK/AKString.h>
#include <AK/Badge.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
class Inode;
class VFS;
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h
index 64349ee1a2..ac460a2daf 100644
--- a/Kernel/FileSystem/Ext2FileSystem.h
+++ b/Kernel/FileSystem/Ext2FileSystem.h
@@ -20,7 +20,7 @@ public:
size_t size() const { return m_raw_inode.i_size; }
bool is_symlink() const { return ::is_symlink(m_raw_inode.i_mode); }
- // ^Inode (Retainable magic)
+ // ^Inode (RefCounted magic)
virtual void one_ref_left() override;
private:
diff --git a/Kernel/FileSystem/FileDescription.h b/Kernel/FileSystem/FileDescription.h
index b856eff045..3da0b99512 100644
--- a/Kernel/FileSystem/FileDescription.h
+++ b/Kernel/FileSystem/FileDescription.h
@@ -3,7 +3,7 @@
#include <AK/Badge.h>
#include <AK/ByteBuffer.h>
#include <AK/CircularQueue.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <Kernel/FileSystem/FIFO.h>
#include <Kernel/FileSystem/Inode.h>
#include <Kernel/FileSystem/InodeMetadata.h>
diff --git a/Kernel/FileSystem/FileSystem.h b/Kernel/FileSystem/FileSystem.h
index 78d86b1e45..58f839faef 100644
--- a/Kernel/FileSystem/FileSystem.h
+++ b/Kernel/FileSystem/FileSystem.h
@@ -9,7 +9,7 @@
#include <AK/HashMap.h>
#include <AK/OwnPtr.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/WeakPtr.h>
#include <AK/kstdio.h>
#include <Kernel/Devices/DiskDevice.h>
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h
index f3b769710f..28696fc311 100644
--- a/Kernel/FileSystem/Inode.h
+++ b/Kernel/FileSystem/Inode.h
@@ -2,7 +2,7 @@
#include <AK/AKString.h>
#include <AK/Function.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/WeakPtr.h>
#include <Kernel/FileSystem/FileSystem.h>
#include <Kernel/FileSystem/InodeIdentifier.h>
diff --git a/Kernel/Net/Socket.h b/Kernel/Net/Socket.h
index e506cd0c18..7ff1fe7506 100644
--- a/Kernel/Net/Socket.h
+++ b/Kernel/Net/Socket.h
@@ -2,7 +2,7 @@
#include <AK/HashTable.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/Vector.h>
#include <Kernel/File.h>
#include <Kernel/KResult.h>
diff --git a/Kernel/SharedMemory.h b/Kernel/SharedMemory.h
index 39e8864ea9..7cc36e1f00 100644
--- a/Kernel/SharedMemory.h
+++ b/Kernel/SharedMemory.h
@@ -2,7 +2,7 @@
#include <AK/AKString.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <Kernel/File.h>
#include <Kernel/KResult.h>
#include <Kernel/UnixTypes.h>
diff --git a/Kernel/VM/MemoryManager.h b/Kernel/VM/MemoryManager.h
index 0da536448c..4475866259 100644
--- a/Kernel/VM/MemoryManager.h
+++ b/Kernel/VM/MemoryManager.h
@@ -6,7 +6,7 @@
#include <AK/ByteBuffer.h>
#include <AK/HashTable.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/Types.h>
#include <AK/Vector.h>
#include <AK/Weakable.h>
diff --git a/Kernel/VM/PageDirectory.h b/Kernel/VM/PageDirectory.h
index 4d2c14438e..06698f75c5 100644
--- a/Kernel/VM/PageDirectory.h
+++ b/Kernel/VM/PageDirectory.h
@@ -2,7 +2,7 @@
#include <AK/HashMap.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <Kernel/VM/PhysicalPage.h>
#include <Kernel/VM/RangeAllocator.h>
diff --git a/Kernel/VM/PhysicalRegion.h b/Kernel/VM/PhysicalRegion.h
index 762f6a9edb..d3ec98d90a 100644
--- a/Kernel/VM/PhysicalRegion.h
+++ b/Kernel/VM/PhysicalRegion.h
@@ -1,7 +1,7 @@
#pragma once
#include <AK/Bitmap.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/NonnullRefPtr.h>
#include <Kernel/PhysicalAddress.h>
#include <Kernel/VM/PhysicalPage.h>
diff --git a/Kernel/VM/VMObject.h b/Kernel/VM/VMObject.h
index d91a37614a..aff8e2af7c 100644
--- a/Kernel/VM/VMObject.h
+++ b/Kernel/VM/VMObject.h
@@ -3,7 +3,7 @@
#include <AK/AKString.h>
#include <AK/Badge.h>
#include <AK/RefPtr.h>
-#include <AK/Retainable.h>
+#include <AK/RefCounted.h>
#include <AK/Vector.h>
#include <AK/Weakable.h>
#include <Kernel/Lock.h>