Searched refs:spinlock (Results 1 - 25 of 87) sorted by relevance

1234

/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dsmp.cpp23 acquire_spinlock(spinlock* lock)
/haiku/src/system/kernel/
H A Dlisteners.cpp10 spinlock gWaitObjectListenerLock = B_SPINLOCK_INITIALIZER;
H A Dtimer.cpp29 spinlock lock;
249 spinlock* spinlock; local
256 spinlock = &cpuData.lock;
258 acquire_spinlock(spinlock);
269 release_spinlock(spinlock);
282 acquire_spinlock(spinlock);
310 release_spinlock(spinlock);
382 // lock the right CPU spinlock
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A D_mutex.h23 spinlock lock;
H A Dcondvar.h18 char condition[roundup((sizeof(void*) * 5) + sizeof(spinlock) + sizeof(int32), sizeof(void*))];
/haiku/src/add-ons/kernel/drivers/audio/generic/
H A Dutil.h44 extern spinlock slock;
/haiku/headers/os/drivers/
H A DKernelExport.h17 // WARNING: For Haiku debugging only! This changes the spinlock type in a
28 } spinlock; typedef in typeref:struct:__anon1
31 # define B_INITIALIZE_SPINLOCK(spinlock) do { \
32 (spinlock)->lock = 0; \
33 (spinlock)->failed_try_acquire = 0; \
34 (spinlock)->total_wait = 0; \
35 (spinlock)->total_held = 0; \
36 (spinlock)->last_acquired = 0; \
41 } spinlock; typedef in typeref:struct:__anon2
44 # define B_INITIALIZE_SPINLOCK(spinlock) d
[all...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dscsi_lock.h11 The only one defined herein is a spinlock that automatically
22 // enhanced spinlock that automatically disables irqs when lock is hold
24 spinlock lock; // normal spinlock
25 cpu_status prev_irq_state; // irq state before spinlock was entered
/haiku/headers/private/kernel/util/
H A DAutoLock.h115 inline bool Lock(spinlock* lockable)
121 inline void Unlock(spinlock* lockable)
127 typedef AutoLocker<spinlock, SpinLocking> SpinLocker;
142 inline bool Lock(spinlock* lockable)
149 inline void Unlock(spinlock* lockable)
159 typedef AutoLocker<spinlock, InterruptsSpinLocking> InterruptsSpinLocker;
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dpacket_buffer.h19 * It uses a spinlock for synchronization.
26 spinlock lock;
/haiku/src/tests/system/kernel/unit/
H A DTestOutput.h32 spinlock fLock;
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/platform/
H A Dachaiku.h174 #define ACPI_SPINLOCK spinlock *
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dcm_private.h89 spinlock wr_lock;
108 spinlock rd_lock;
150 spinlock hardware;
/haiku/headers/private/kernel/slab/
H A DObjectDepot.h18 spinlock inner_lock;
/haiku/src/add-ons/kernel/busses/random/virtio/
H A DVirtioRNGPrivate.h55 spinlock fInterruptLock;
/haiku/headers/posix/
H A Dpthread.h187 /* spinlock functions */
188 extern int pthread_spin_init(pthread_spinlock_t* spinlock, int pshared);
189 extern int pthread_spin_destroy(pthread_spinlock_t* spinlock);
190 extern int pthread_spin_lock(pthread_spinlock_t* spinlock);
191 extern int pthread_spin_trylock(pthread_spinlock_t* spinlock);
192 extern int pthread_spin_unlock(pthread_spinlock_t* spinlock);
/haiku/headers/private/kernel/
H A Dlisteners.h37 extern spinlock gSchedulerListenersLock;
83 extern spinlock gWaitObjectListenerLock;
H A Dsmp.h71 bool try_acquire_spinlock(spinlock* lock);
177 // Unless spinlock debug features are enabled, try to inline
183 try_acquire_spinlock_inline(spinlock* lock)
190 acquire_spinlock_inline(spinlock* lock)
199 release_spinlock_inline(spinlock* lock)
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Ddriver.h24 spinlock lock;
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86PagingStructures32Bit.cpp44 static spinlock sPagingStructuresListLock;
/haiku/src/system/kernel/arch/ppc/
H A Darch_real_time_clock.cpp14 static spinlock sSetArchDataLock;
34 // init spinlock
/haiku/src/add-ons/kernel/drivers/audio/ice1712/
H A Dutil.cpp21 static spinlock slock = B_SPINLOCK_INITIALIZER;
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Ddriver.h24 spinlock lock;
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCPagingStructures460.cpp44 static spinlock sPagingStructuresListLock;
/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCPagingStructuresClassic.cpp44 static spinlock sPagingStructuresListLock;

Completed in 116 milliseconds

1234