Searched refs:spinlock_ (Results 1 - 8 of 8) sorted by relevance
/fuchsia/zircon/kernel/include/kernel/ |
H A D | auto_lock.h | 20 : spinlock_(lock) { 22 spin_lock(spinlock_); 29 if (spinlock_) { 30 spin_unlock(spinlock_); 31 spinlock_ = nullptr; 39 spin_lock_t* spinlock_; member in class:AutoSpinLockNoIrqSave 45 : spinlock_(lock) { 47 spin_lock_irqsave(spinlock_, state_); 54 if (spinlock_) { 55 spin_unlock_irqrestore(spinlock_, state 64 spin_lock_t* spinlock_; member in class:AutoSpinLock [all...] |
H A D | spinlock.h | 87 SpinLock() { spin_lock_init(&spinlock_); } 88 void Acquire() TA_ACQ() { spin_lock(&spinlock_); } 89 bool TryAcquire() TA_TRY_ACQ(false) { return spin_trylock(&spinlock_); } 90 void Release() TA_REL() { spin_unlock(&spinlock_); } 91 bool IsHeld() { return spin_lock_held(&spinlock_); } 96 spin_lock_save(&spinlock_, &state, flags); 102 spin_unlock_restore(&spinlock_, state, flags); 105 spin_lock_t* GetInternal() TA_RET_CAP(spinlock_) { return &spinlock_; } 114 spin_lock_t spinlock_; variable [all...] |
/fuchsia/zircon/kernel/lib/crypto/include/lib/crypto/ |
H A D | prng.h | 45 TA_EXCL(spinlock_); 51 void Draw(void* out, size_t size) TA_EXCL(spinlock_); 56 uint64_t RandInt(uint64_t exclusive_upper_bound) TA_EXCL(spinlock_); 87 SpinLock spinlock_; member in class:crypto::PRNG 90 uint8_t key_[SHA256_DIGEST_LENGTH] TA_GUARDED(spinlock_); 91 uint128_t nonce_ TA_GUARDED(spinlock_);
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | interrupt_dispatcher.h | 51 bool SendPacketLocked(zx_time_t timestamp) TA_REQ(spinlock_); 63 zx_time_t timestamp_ TA_GUARDED(spinlock_); 65 InterruptState state_ TA_GUARDED(spinlock_); 66 PortInterruptPacket port_packet_ TA_GUARDED(spinlock_) = {}; member in class:InterruptDispatcher 67 fbl::RefPtr<PortDispatcher> port_dispatcher_ TA_GUARDED(spinlock_); 70 DECLARE_SPINLOCK(InterruptDispatcher) spinlock_; member in class:InterruptDispatcher
|
H A D | port_dispatcher.h | 219 DECLARE_SPINLOCK(PortDispatcher) spinlock_; member in class:final 220 fbl::DoublyLinkedList<PortInterruptPacket*> interrupt_packets_ TA_GUARDED(spinlock_);
|
/fuchsia/zircon/kernel/object/ |
H A D | interrupt_dispatcher.cpp | 22 Guard<SpinLock, IrqSave> guard{&spinlock_}; 54 Guard<SpinLock, IrqSave> guard{&spinlock_}; 79 // context-switching to the woken thread while holding spinlock_. 82 Guard<SpinLock, IrqSave> guard{&spinlock_}; 108 Guard<SpinLock, IrqSave> guard{&spinlock_}; 131 // context-switching to the woken thread while holding spinlock_. 134 Guard<SpinLock, IrqSave> guard{&spinlock_}; 161 Guard<SpinLock, IrqSave> guard{&spinlock_}; 179 // context-switching to the woken thread while holding spinlock_. 182 Guard<SpinLock, IrqSave> guard{&spinlock_}; [all...] |
H A D | port_dispatcher.cpp | 232 Guard<SpinLock, IrqSave> guard{&spinlock_}; 241 Guard<SpinLock, IrqSave> guard{&spinlock_}; 289 Guard<SpinLock, IrqSave> guard{&spinlock_};
|
/fuchsia/zircon/kernel/lib/crypto/ |
H A D | prng.cpp | 62 AutoSpinLock guard(&spinlock_); 68 AutoSpinLock guard(&spinlock_); 93 AutoSpinLock guard(&spinlock_);
|
Completed in 108 milliseconds