ladybird/Kernel/Devices
Andreas Kling d1371d66f7 Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription
This patch switches away from {Nonnull,}LockRefPtr to the non-locking
smart pointers throughout the kernel.

I've looked at the handful of places where these were being persisted
and I don't see any race situations.

Note that the process file descriptor table (Process::m_fds) was already
guarded via MutexProtected.
2023-03-07 00:30:12 +01:00
..
Audio Kernel/PCI: Hold a reference to DeviceIdentifier in the Device class 2023-01-26 23:04:26 +01:00
HID Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
AsyncDeviceRequest.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
AsyncDeviceRequest.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
BlockDevice.cpp Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
BlockDevice.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
CharacterDevice.cpp Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
CharacterDevice.h Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
ConsoleDevice.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ConsoleDevice.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Device.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
Device.h Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
DeviceControlDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DeviceControlDevice.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DeviceManagement.cpp Kernel: Add DeviceManagement::try_for_each() for fallible iteration 2022-02-27 20:37:57 +01:00
DeviceManagement.h Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
FullDevice.cpp Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
FullDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
KCOVDevice.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
KCOVDevice.h Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
KCOVInstance.cpp Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
KCOVInstance.h Kernel+Userland: Unify declarations for KCOV in Kernel/API/kcov.h 2023-02-24 20:35:45 +01:00
MemoryDevice.cpp Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
MemoryDevice.h Kernel: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00
NullDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
NullDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
PCISerialDevice.cpp Kernel: Introduce the IOWindow class 2022-09-23 17:22:15 +01:00
PCISerialDevice.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
RandomDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
RandomDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
SelfTTYDevice.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
SelfTTYDevice.h Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
SerialDevice.cpp Kernel: Introduce the IOWindow class 2022-09-23 17:22:15 +01:00
SerialDevice.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ZeroDevice.cpp Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
ZeroDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00