ladybird/Kernel/FileSystem
kleines Filmröllchen a6a439243f Kernel: Turn lock ranks into template parameters
This step would ideally not have been necessary (increases amount of
refactoring and templates necessary, which in turn increases build
times), but it gives us a couple of nice properties:
- SpinlockProtected inside Singleton (a very common combination) can now
  obtain any lock rank just via the template parameter. It was not
  previously possible to do this with SingletonInstanceCreator magic.
- SpinlockProtected's lock rank is now mandatory; this is the majority
  of cases and allows us to see where we're still missing proper ranks.
- The type already informs us what lock rank a lock has, which aids code
  readability and (possibly, if gdb cooperates) lock mismatch debugging.
- The rank of a lock can no longer be dynamic, which is not something we
  wanted in the first place (or made use of). Locks randomly changing
  their rank sounds like a disaster waiting to happen.
- In some places, we might be able to statically check that locks are
  taken in the right order (with the right lock rank checking
  implementation) as rank information is fully statically known.

This refactoring even more exposes the fact that Mutex has no lock rank
capabilites, which is not fixed here.
2023-01-02 18:15:27 -05:00
..
DevPtsFS Kernel: Update the ".." inode for directories after a rename 2022-11-25 17:33:05 +01:00
Ext2FS Kernel: Update the ".." inode for directories after a rename 2022-11-25 17:33:05 +01:00
FATFS Kernel: Update the ".." inode for directories after a rename 2022-11-25 17:33:05 +01:00
ISO9660FS Kernel: Update the ".." inode for directories after a rename 2022-11-25 17:33:05 +01:00
Plan9FS Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ProcFS Kernel: Update the ".." inode for directories after a rename 2022-11-25 17:33:05 +01:00
SysFS Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
TmpFS Kernel: Add callback on ".." directory entry for a TmpFS root directory 2022-12-09 22:59:08 -07:00
AnonymousFile.cpp Kernel: Simplify the File memory-mapping API 2022-08-24 14:57:51 +02:00
AnonymousFile.h Kernel: Simplify the File memory-mapping API 2022-08-24 14:57:51 +02:00
BlockBasedFileSystem.cpp Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
BlockBasedFileSystem.h Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
Custody.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Custody.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
DeviceFileTypes.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
FIFO.cpp Kernel: Add support for MSG_NOSIGNAL and properly send SIGPIPE 2022-10-24 15:49:39 +02:00
FIFO.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
File.cpp Kernel: Simplify the File memory-mapping API 2022-08-24 14:57:51 +02:00
File.h Kernel: Add File::is_regular_file() 2022-11-29 11:09:19 +01:00
FileBackedFileSystem.cpp Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
FileBackedFileSystem.h Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
FileSystem.cpp Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
FileSystem.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Inode.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Inode.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
InodeFile.cpp Kernel: Add File::is_regular_file() 2022-11-29 11:09:19 +01:00
InodeFile.h Kernel: Add File::is_regular_file() 2022-11-29 11:09:19 +01:00
InodeIdentifier.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
InodeMetadata.cpp Kernel: Use real UID/GID when checking for file access 2022-12-11 19:55:37 -07:00
InodeMetadata.h Kernel: Use real UID/GID when checking for file access 2022-12-11 19:55:37 -07:00
InodeWatcher.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InodeWatcher.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Mount.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Mount.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
OpenFileDescription.cpp Kernel/FileSystem: Add a few missing includes 2022-10-22 16:57:52 -04:00
OpenFileDescription.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
UnveilNode.h AK+Kernel: Specialize Trie for NNOP<KString> and use it in UnveilNode 2022-02-16 22:21:37 +01:00
VirtualFileSystem.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
VirtualFileSystem.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00