1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00
serenity/Kernel/FileSystem
Andreas Kling 7006cb82bd Kernel: Rename Blocker::not_blocking(bool) to something more descriptive
Namely, will_unblock_immediately_without_blocking(Reason).

This virtual function is called on a blocker *before any block occurs*,
if it turns out that we don't need to block the thread after all.

This can happens for one of two reasons:

- UnblockImmediatelyReason::UnblockConditionAlreadyMet

    We don't need to block the thread because the condition for
    unblocking it is already met.

- UnblockImmediatelyReason::TimeoutInThePast

    We don't need to block the thread because a timeout was specified
    and that timeout is already in the past.

This patch does not introduce any behavior changes, it's only meant to
clarify this part of the blocking logic.
2021-08-23 02:13:04 +02:00
..
AnonymousFile.cpp Kernel: Rename Process::space() => Process::address_space() 2021-08-06 14:05:58 +02:00
AnonymousFile.h Kernel: Rename Range => VirtualRange 2021-08-06 14:05:58 +02:00
BlockBasedFileSystem.cpp Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
BlockBasedFileSystem.h Kernel: Rename ProtectedValue<T> => MutexProtected<T> 2021-08-22 03:34:09 +02:00
Custody.cpp Kernel: Rename ProtectedValue<T> => MutexProtected<T> 2021-08-22 03:34:09 +02:00
Custody.h Kernel: Cache Custody objects (weakly) to avoid expensive reconstruction 2021-08-15 23:30:52 +02:00
DevFS.cpp Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
DevFS.h Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
DevPtsFS.cpp Kernel/DevPtsFS: Avoid String allocation during directory traversal 2021-08-17 01:21:47 +02:00
DevPtsFS.h Kernel: Convert SlavePTY all-instances HashTable to an IntrusiveList 2021-08-17 01:21:47 +02:00
ext2_fs.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
ext2_types.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Ext2FileSystem.cpp Kernel: Stop allowing implicit conversion from KResult to int 2021-08-14 15:19:00 +02:00
Ext2FileSystem.h Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
FIFO.cpp Kernel: Make Process::current() return a Process& instead of Process* 2021-08-19 23:49:53 +02:00
FIFO.h Kernel: Move Mutex into Locking/ 2021-08-07 11:48:00 +02:00
File.cpp Kernel: Customize File::unref() and make it virtual 2021-08-17 01:21:47 +02:00
File.h Kernel: Rename BlockerSet::unblock() to something more accurate 2021-08-23 00:02:09 +02:00
FileBackedFileSystem.cpp Kernel: Rename FileBackedFS => FileBackedFileSystem 2021-07-11 00:33:27 +02:00
FileBackedFileSystem.h Kernel: Rename FileBackedFS => FileBackedFileSystem 2021-07-11 00:33:27 +02:00
FileDescription.cpp Kernel: Rename Thread::BlockCondition to BlockerSet 2021-08-23 00:02:09 +02:00
FileDescription.h Kernel: Rename BlockerSet::unblock() to something more accurate 2021-08-23 00:02:09 +02:00
FileSystem.cpp Everywhere: Replace AK::Singleton => Singleton 2021-08-08 00:03:45 +02:00
FileSystem.h Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
Inode.cpp Kernel: Rename SpinLock => Spinlock 2021-08-22 03:34:10 +02:00
Inode.h Kernel: Rename SpinLock => Spinlock 2021-08-22 03:34:10 +02:00
InodeFile.cpp Kernel+LibC: Implement FIONREAD ioctl 2021-08-22 10:29:06 +02:00
InodeFile.h Kernel: Rename Range => VirtualRange 2021-08-06 14:05:58 +02:00
InodeIdentifier.h Kernel: Rename FS => FileSystem 2021-07-11 00:20:38 +02:00
InodeMetadata.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InodeWatcher.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
InodeWatcher.h Revert "Kernel: Use IntrusiveList for keeping track of InodeWatchers" 2021-07-21 21:24:26 +02:00
ISO9660FileSystem.cpp Kernel: Simplify OOM handling in ISO9660FileSystem 2021-08-15 15:41:02 +02:00
ISO9660FileSystem.h Kernel: Simplify OOM handling in ISO9660FileSystem 2021-08-15 15:41:02 +02:00
Mount.cpp Kernel: Make VirtualFileSystem::Mount a top-level class 2021-07-11 00:51:06 +02:00
Mount.h Kernel/Ext2FS: Cache the root inode in a member variable 2021-07-18 01:53:04 +02:00
Plan9FileSystem.cpp Kernel: Rename Blocker::not_blocking(bool) to something more descriptive 2021-08-23 02:13:04 +02:00
Plan9FileSystem.h Kernel: Rename Blocker::not_blocking(bool) to something more descriptive 2021-08-23 02:13:04 +02:00
ProcFS.cpp Kernel+Userland: Remove chroot functionality 2021-08-15 12:44:35 +02:00
ProcFS.h Kernel: Handle allocation failure in ProcFS and friends 2021-08-15 02:27:13 +02:00
SysFS.cpp Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
SysFS.h Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
SysFSComponent.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
SysFSComponent.h Kernel: Fix handful of remaining "return -EFOO" mistakes 2021-08-06 00:37:47 +02:00
TmpFS.cpp Kernel: Move set_metadata_dirty calls to notify_watchers 2021-08-19 10:41:54 +02:00
TmpFS.h Kernel: Make FileSystem::initialize() return KResult 2021-08-14 15:19:00 +02:00
UnveilNode.h Kernel: Move UnveilNode.h into Kernel/FileSystem/ 2021-08-06 14:11:45 +02:00
VirtualFileSystem.cpp Kernel: Make Process::current() return a Process& instead of Process* 2021-08-19 23:49:53 +02:00
VirtualFileSystem.h Kernel: Rename ProtectedValue<T> => MutexProtected<T> 2021-08-22 03:34:09 +02:00