Expand description
Scheduler-owned synchronization provider capabilities.
Structs§
- Context
Operations - Runtime callbacks used by the external synchronization provider.
- Context
State - Opaque execution-context state returned to an external wrapper.
- Lock
Class - Borrowed lock-class storage from an external fixed-layout wrapper.
- Mutex
Acquire Request - One complete external PI-mutex acquisition request.
- PiMutex
Core - Lock-local owner word, identity, and scheduler-owned waiter handle.
- PiMutex
Core View - Borrowed storage of one native PI-mutex state machine.
- PiMutex
Id - Stable identity of one physical PI mutex lifetime.
- PiMutex
Owner Snapshot - Atomic owner snapshot serialized with a provider’s waiter-tree lock.
- PiMutex
Raw - Raw generation-checked reference retained by a registered waiter.
- PiMutex
Ref - Borrowed scheduler capability of one physical PI mutex.
- PiMutex
Storage - Borrowed fixed storage for one external PI mutex.
- PiMutex
Storage Mut - Exclusive fixed storage borrowed while an external PI mutex is destroyed.
- PiTask
Id - Non-zero scheduler identity stored in a PI mutex owner word.
- PiWait
Token - Token joining one provider registration to the physical lock lifetime.
- RwLock
Acquire Request - One complete external spin read-write acquisition request.
- Spin
Acquire Request - One complete external exclusive-spin acquisition request.
Enums§
- PiMutex
Acquire - Result of the atomic PI mutex fast acquisition path.
- PiMutex
Claim Outcome - Result of serializing one ownerless PI-mutex claim.
- PiMutex
Lock Result - Result of entering the PI mutex slow path.
- PiMutex
Owned Release - Result of an owner-authorized PI mutex release.
- PiMutex
State Error - Failure of a lock-local PI owner-word transition.
- PiWait
Cancel Outcome - Result of trying to cancel one committed PI waiter.
- PiWait
State Error - Invariant that rejected a PI waiter graph transition.
Functions§
- context_
enter - context_
exit - dump_
lockdep_ trace - Dumps the native lockdep trace buffer.
- hardirq_
enter - hardirq_
exit - irq_
return_ preempt_ enter - irq_
return_ ⚠preempt_ exit - Safety
- mutex_
acquire - Acquires an external PI mutex through the native Linux-RT-style blocking path.
- mutex_
destroy - Destroys scheduler-owned inline waiter state after the wrapper is unique.
- mutex_
force_ release - Releases one deliberately leaked external PI-mutex guard.
- mutex_
is_ locked - Returns whether an external PI mutex has an owner or pending handoff.
- mutex_
is_ owned_ by_ current - Returns whether the current task owns an external PI mutex.
- mutex_
release - Releases an external PI mutex and completes any scheduler-owned handoff.
- mutex_
try_ acquire - Tries to acquire an external PI mutex without blocking.
- pi_
drop_ ⚠wait_ handle - Drops the scheduler-owned waiter handle transferred by a physical PI mutex.
- pi_
initial_ owner_ is_ on_ cpu - Tests whether the waiter token’s initial owner is still executing.
- pi_
mutex_ claim - Claims the ownerless PI mutex handoff selected for this waiter.
- pi_
mutex_ lock_ slow - Enters the scheduler-owned PI mutex slow path.
- pi_
mutex_ ⚠release_ owned - Publishes a raw-mutex-owner PI handoff and wakes the selected waiter.
- pi_
park_ current_ once - Performs one scheduler park attempt for a PI waiter.
- pi_
wait_ cancel - Cancels a PI wait token after a handoff-before-block race.
- pi_
wait_ try_ cancel - Tries to cancel one PI waiter while preserving an ownerless handoff that already selected it.
- pi_
waiter_ is_ granted - Tests whether the task-local waiter capability has received handoff.
- pi_
waiter_ is_ top - Tests whether the task-local waiter capability is first in its lock queue.
- rwlock_
acquire - Acquires an external spin read-write lock through the native state machine.
- rwlock_
force_ read_ decrement - Removes one deliberately leaked external raw read acquisition.
- rwlock_
release - Releases an external spin read-write acquisition and its context.
- rwlock_
try_ acquire - Attempts an external spin read-write acquisition through the native state machine.
- set_
lockdep_ trace_ enabled - Enables or disables native lockdep trace recording.
- spin_
acquire - Acquires an external exclusive spin lock through the native state machine.
- spin_
force_ release - Releases a deliberately leaked external exclusive spin acquisition.
- spin_
is_ locked - Returns a diagnostic snapshot of an external spin lock word.
- spin_
release - Releases an external exclusive spin lock and its execution context.
- spin_
try_ acquire - Attempts an external exclusive spin acquisition through the native state machine.