Searched refs:spinlock_t (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/kernel/tests/
H A Dlock_dep_tests.cpp51 struct spinlock_t {}; struct in namespace:test
52 LOCK_DEP_TRAITS(spinlock_t, lockdep::LockFlagsIrqSafe);
54 void spinlock_lock(spinlock_t* /*lock*/) {}
55 void spinlock_unlock(spinlock_t* /*lock*/) {}
56 bool spinlock_try_lock(spinlock_t* /*lock*/) { return true; }
57 void spinlock_lock_irqsave(spinlock_t* /*lock*/, uint64_t* /*flags*/) {}
58 void spinlock_unlock_irqrestore(spinlock_t* /*lock*/, uint64_t /*flags*/) {}
59 bool spinlock_try_lock_irqsave(spinlock_t* /*lock*/, uint64_t* /*flags*/) { return true; }
61 // Type tags to select Guard<> lock policies for Spinlock and spinlock_t.
126 static bool Acquire(spinlock_t* loc
[all...]
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/
H A Daclinuxex.h131 spinlock_t *Lock = ACPI_ALLOCATE(sizeof(*Lock)); \
H A Daclinux.h130 #define ACPI_SPINLOCK spinlock_t *

Completed in 83 milliseconds