Home
last modified time | relevance | path

Searched full:spinlock (Results 1 – 25 of 209) sorted by relevance

123456789

/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_spinlock.h55 /****h* Public/Spinlock
57 * Spinlock
60 * Spinlock provides synchronization between threads for exclusive access to
63 * The spinlock functions manipulate a cl_spinlock_t structure which should
77 /****f* Component Library: Spinlock/cl_spinlock_construct
104 * Spinlock, cl_spinlock_init, cl_spinlock_destroy
107 /****f* Component Library: Spinlock/cl_spinlock_init
134 * Spinlock, cl_spinlock_construct, cl_spinlock_destroy,
138 /****f* Component Library: Spinlock/cl_spinlock_destroy
163 * Spinlock, cl_spinlock_construct, cl_spinlock_init
[all …]
H A Dcl_event_wheel.h149 * Spinlock to guard internal structures.
152 * Reference to external spinlock to guard internal structures
292 * [in] Reference to external spinlock to guard internal structures
/freebsd/sys/contrib/ck/include/
H A Dck_spinlock.h30 #include "spinlock/anderson.h"
31 #include "spinlock/cas.h"
32 #include "spinlock/clh.h"
33 #include "spinlock/dec.h"
34 #include "spinlock/fas.h"
35 #include "spinlock/hclh.h"
36 #include "spinlock/mcs.h"
37 #include "spinlock/ticket.h"
/freebsd/sys/dev/drm2/
H A Ddrm_lock.c74 mtx_lock(&master->lock.spinlock); in drm_lock()
76 mtx_unlock(&master->lock.spinlock); in drm_lock()
103 mtx_lock(&master->lock.spinlock); in drm_lock()
105 mtx_unlock(&master->lock.spinlock); in drm_lock()
189 mtx_lock(&lock_data->spinlock); in drm_lock_take()
201 mtx_unlock(&lock_data->spinlock); in drm_lock_take()
263 mtx_lock(&lock_data->spinlock); in drm_lock_free()
267 mtx_unlock(&lock_data->spinlock); in drm_lock_free()
270 mtx_unlock(&lock_data->spinlock); in drm_lock_free()
337 mtx_lock(&lock_data->spinlock); in drm_idlelock_take()
[all …]
/freebsd/sys/dev/axgbe/
H A Dxgbe_osdep.h62 spin_lock_init(spinlock_t *spinlock) in spin_lock_init() argument
64 mtx_init(spinlock, "axgbe_spin", NULL, MTX_SPIN); in spin_lock_init()
67 #define spin_lock_irqsave(spinlock, flags) \ argument
70 mtx_lock_spin(spinlock); \
73 #define spin_unlock_irqrestore(spinlock, flags) \ argument
75 mtx_unlock_spin(spinlock); \
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-sprd-adi.txt23 one hardware spinlock protection to prevent other systems from reading/writing
26 Then we need one hardware spinlock to synchronize between the multiple subsystems.
29 subsystem accessing, that means no need to add hardware spinlock to synchronize,
30 thus change the hardware spinlock support to be optional to keep backward
H A Dsprd,spi-adi.yaml35 one hardware spinlock protection to prevent other systems from reading/writing
38 Then we need one hardware spinlock to synchronize between the multiple subsystems.
41 subsystem accessing, that means no need to add hardware spinlock to synchronize,
42 thus change the hardware spinlock support to be optional to keep backward
/freebsd/sys/contrib/device-tree/Bindings/hwlock/
H A Domap-hwspinlock.txt25 hwspinlock: spinlock@4a0f6000 {
28 ti,hwmods = "spinlock";
35 hwspinlock: spinlock@30e00000 {
H A Dsirf,hwspinlock.txt1 SIRF Hardware spinlock device Binding
H A Dsprd-hwspinlock.txt1 SPRD Hardware Spinlock Device Binding
/freebsd/sys/contrib/ena-com/
H A Dena_plat.h238 /* Spinlock related methods */
240 #define ENA_SPINLOCK_INIT(spinlock) \ argument
241 mtx_init(&(spinlock), "ena_spin", NULL, MTX_SPIN)
242 #define ENA_SPINLOCK_DESTROY(spinlock) \ argument
244 if (mtx_initialized(&(spinlock))) \
245 mtx_destroy(&(spinlock)); \
247 #define ENA_SPINLOCK_LOCK(spinlock, flags) \ argument
250 mtx_lock_spin(&(spinlock)); \
252 #define ENA_SPINLOCK_UNLOCK(spinlock, flags) \ argument
255 mtx_unlock_spin(&(spinlock)); \
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mpfs.c39 #define MPFS_LOCK(dev) spin_lock(&(dev)->mpfs.spinlock)
40 #define MPFS_UNLOCK(dev) spin_unlock(&(dev)->mpfs.spinlock)
116 spin_lock_init(&dev->mpfs.spinlock); in mlx5_mpfs_init()
130 spin_lock_destroy(&dev->mpfs.spinlock); in mlx5_mpfs_destroy()
/freebsd/sys/dev/qat/qat_api/qat_utils/include/
H A Dqat_utils.h315 * @brief Initializes the SpinLock object
317 * @param pLock - Spinlock handle
319 * Initializes the SpinLock object.
333 * @param pLock - Spinlock handle
342 * @return - Returns CPA_STATUS_SUCCESS if the spinlock is acquired. Returns
345 * spinlock handle is NULL. If spinlock is already acquired by any
347 * gets spinlock.
356 * @param pLock - Spinlock handle
363 * @return - return CPA_STATUS_SUCCESS if the spinlock is released. Returns
375 * @param pLock - Spinlock handle
/freebsd/contrib/ofed/include/
H A Dudma_barrier.h252 /* Write Combining Spinlock primitive
256 straightforward and efficient if the choosen exclusion is a spinlock.
258 The spinlock guarantees that the WC writes issued within the critical
263 Use of these macros allow the fencing inside the spinlock to be combined
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_partial.h22 * Maintain a SpinLock for partials in flight per session. Try and acquire this
23 * SpinLock. If it cant be acquired return an error straight away to the client
58 * PARTIAL. The SpinLock for partial packets in flight for the session can be
/freebsd/lib/libthr/thread/
H A Dthr_spinlock.c35 #include <spinlock.h>
77 PANIC("Spinlock called when not threaded."); in __thr_spinlock()
/freebsd/sys/contrib/device-tree/Bindings/arm/omap/
H A Domap.txt30 spinlock@1 {
31 compatible = "ti,omap4-spinlock";
32 ti,hwmods = "spinlock";
/freebsd/sys/dev/iavf/
H A Diavf_adminq.h106 struct iavf_spinlock asq_spinlock; /* Send queue spinlock */
107 struct iavf_spinlock arq_spinlock; /* Receive queue spinlock */
/freebsd/lib/libc/stdio/
H A Dfclose.c42 #include <spinlock.h>
67 * Lock the spinlock used to protect __sglue list walk in in cleanfile()
/freebsd/contrib/unbound/util/
H A Dlocks.h53 * sections. Could be implemented by a mutex or a spinlock.
135 /** use pthread spinlock for the quick lock */
149 #endif /* HAVE SPINLOCK */
240 /** on windows no spinlock, use mutex too. */
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dwait.h36 #include <linux/spinlock.h>
219 * The passed spinlock is held when testing the condition.
227 * The passed spinlock is held when testing the condition.
/freebsd/sys/contrib/ncsw/inc/
H A Dxx_ext.h318 /* Spinlock Service Routines */
324 @Description Creates a spinlock.
326 @Return Spinlock handle is returned on success; NULL otherwise.
333 @Description Frees the memory allocated for the spinlock creation.
335 @Param[in] h_Spinlock - A handle to a spinlock.
344 @Description Locks a spinlock.
346 @Param[in] h_Spinlock - A handle to a spinlock.
355 @Description Unlocks a spinlock.
357 @Param[in] h_Spinlock - A handle to a spinlock.
366 @Description Locks a spinlock (interrupt safe).
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dmutex.h159 * The reason for the spinlock:
172 * this issue. Thus, we need the spinlock to force the serialization on
/freebsd/sys/dev/ixl/
H A Di40e_adminq.h108 struct i40e_spinlock asq_spinlock; /* Send queue spinlock */
109 struct i40e_spinlock arq_spinlock; /* Receive queue spinlock */
/freebsd/sys/crypto/openssl/arm/
H A Darmv4cpuid.S32 add r6,r3,r2 @ &spinlock
43 str r0,[r6] @ release spinlock

123456789