1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

Kernel: Rename "vmo" to "vmobject" everywhere

This commit is contained in:
Andreas Kling 2019-09-04 11:27:14 +02:00
parent e5500e2a22
commit e25ade7579
12 changed files with 54 additions and 54 deletions

View file

@ -20,7 +20,7 @@ private:
public:
SharedBuffer(int id, int size)
: m_shared_buffer_id(id)
, m_vmo(AnonymousVMObject::create_with_size(size))
, m_vmobject(AnonymousVMObject::create_with_size(size))
{
#ifdef SHARED_BUFFER_DEBUG
dbgprintf("Created shared buffer %d of size %d\n", m_shared_buffer_id, size);
@ -41,7 +41,7 @@ public:
void share_globally() { m_global = true; }
void deref_for_process(Process& process);
void disown(pid_t pid);
size_t size() const { return m_vmo->size(); }
size_t size() const { return m_vmobject->size(); }
void destroy_if_unused();
void seal();
int id() const { return m_shared_buffer_id; }
@ -49,7 +49,7 @@ public:
int m_shared_buffer_id { -1 };
bool m_writable { true };
bool m_global { false };
NonnullRefPtr<AnonymousVMObject> m_vmo;
NonnullRefPtr<AnonymousVMObject> m_vmobject;
Vector<Reference, 2> m_refs;
unsigned m_total_refs { 0 };
};