Structs§
- Lock
Class Registration - A registration entry for a Rust lock class (stub for disabled lockdep).
Constants§
- LOCK_
FLAGS_ ACTIVE_ LIST_ DISABLED - Do not add this acquisition to the active list. This may be required for locks that are used to protect context switching logic.
- LOCK_
FLAGS_ IRQ_ SAFE - Apply the irq-safety rules in addition to the common rules for all locks.
- LOCK_
FLAGS_ LEAF - Apply the leaf lock rules in addition to the common rules for all locks. NOTE: Use this flag with caution. See https://fxbug.dev/459856993.
- LOCK_
FLAGS_ MULTI_ ACQUIRE - Apply the multi-acquire rules in additioon to the common rules for all locks.
- LOCK_
FLAGS_ NESTABLE - Apply the nestable rules in addition to the common rules for all locks.
- LOCK_
FLAGS_ NONE - Apply only common rules that apply to all locks.
- LOCK_
FLAGS_ REPORTING_ DISABLED - Do not report validation errors. This flag prevents recursive validation of locks that are acquired by reporting routines.
- LOCK_
FLAGS_ RE_ ACQUIRE_ FATAL - Abort the program with an error if a lock is improperly acquired more than once in the same context.
- LOCK_
FLAGS_ SINGLETON_ LOCK - There is only one member of this locks class.
- LOCK_
FLAGS_ TRACKING_ DISABLED - Do not track this lock.
Traits§
- Lock
Class - Trait implemented by lock class types to expose their dynamic LockClassId pointer.
Type Aliases§
- Lock
Flags - Flags to specify which rules to apply to a lock class during validation.