Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dmae.h182 …mm_spin_lock_t spinlock; /**< an opaque context for the spinlock that's used by this locking polic… member
370 __drv_at(locking_policy->spinlock.irql, __drv_savesIRQL)
387 __drv_at(locking_policy->spinlock.irql, __drv_restoresIRQL )
462 __drv_at(context->locking_policy->spinlock.irql, __drv_savesIRQL)
481 __drv_at(context->locking_policy->spinlock.irql, __drv_restoresIRQL )
H A Dlm_dmae.c112 mm_init_lock(pdev, &policy->spinlock); in lm_dmae_locking_policy_create()
129 __drv_at(context->locking_policy->spinlock.irql, __drv_savesIRQL)
136 lm_status = mm_acquire_lock(&locking_policy->spinlock); in __drv_setsIRQL()
150 lm_status = mm_release_lock(&locking_policy->spinlock); in __drv_setsIRQL()
171 __drv_at(context->locking_policy->spinlock.irql, __drv_restoresIRQL )
188 lm_status = mm_release_lock(&locking_policy->spinlock); in lm_dmae_locking_policy_unlock()
696 __drv_at(context->locking_policy->spinlock.irql, __drv_savesIRQL)
707 __drv_at(context->locking_policy->spinlock.irql, __drv_restoresIRQL )
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_user_mode_debug.h140 static __inline lm_status_t mm_acquire_lock(mm_spin_lock_t *spinlock) in mm_acquire_lock() argument
142 DbgMessage(NULL, VERBOSEi, "Acquiring lock #%d\n", (u32_t)spinlock); in mm_acquire_lock()
146 static __inline lm_status_t mm_release_lock(mm_spin_lock_t *spinlock) in mm_release_lock() argument
148 DbgMessage(NULL, VERBOSEi, "Releasing lock #%d\n", (u32_t)spinlock); in mm_release_lock()
H A Dmm_dos.h200 static __inline lm_status_t mm_acquire_lock(mm_spin_lock_t *spinlock) in mm_acquire_lock() argument
205 static __inline lm_status_t mm_release_lock(mm_spin_lock_t *spinlock) in mm_release_lock() argument
H A Dmm_uefi.h204 static __inline lm_status_t mm_acquire_lock(mm_spin_lock_t *spinlock) in mm_acquire_lock() argument
210 static __inline lm_status_t mm_release_lock(mm_spin_lock_t *spinlock) in mm_release_lock() argument
H A Dmm.h160 void mm_init_lock(struct _lm_device_t *_pdev, mm_spin_lock_t *spinlock);
169 lm_status_t mm_acquire_lock( mm_spin_lock_t *spinlock);
177 lm_status_t mm_release_lock( mm_spin_lock_t *spinlock);
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_rdma.c198 mutex_enter(&rds_ibdev->spinlock); in rdsv3_ib_add_conn()
201 mutex_exit(&rds_ibdev->spinlock); in rdsv3_ib_add_conn()
217 mutex_enter(&rds_ibdev->spinlock); in rdsv3_ib_remove_conn()
221 mutex_exit(&rds_ibdev->spinlock); in rdsv3_ib_remove_conn()
H A Dib.c103 mutex_init(&rds_ibdev->spinlock, NULL, MUTEX_DRIVER, NULL); in rdsv3_ib_add_one()
187 mutex_destroy(&rds_ibdev->spinlock); in rdsv3_ib_add_one()
247 mutex_destroy(&rds_ibdev->spinlock); in rdsv3_ib_remove_one()
H A Dib_cm.c1145 &ic->rds_ibdev->spinlock : &ib_nodev_conns_lock; in rdsv3_ib_conn_free()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c1283 mm_spin_lock_t * spinlock) in mm_init_lock() argument
1287 mutex_init(spinlock, NULL, in mm_init_lock()
1292 lm_status_t mm_acquire_lock(mm_spin_lock_t * spinlock) in mm_acquire_lock() argument
1294 if (spinlock == NULL) in mm_acquire_lock()
1299 mutex_enter(spinlock); in mm_acquire_lock()
1305 lm_status_t mm_release_lock(mm_spin_lock_t * spinlock) in mm_release_lock() argument
1307 if (spinlock == NULL) in mm_release_lock()
1312 mutex_exit(spinlock); in mm_release_lock()
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dachaiku.h174 #define ACPI_SPINLOCK spinlock *
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dib.h203 kmutex_t spinlock; /* protect the above */ member
305 __rdsv3_ib_destroy_conns(&rds_ibdev->conn_list, &rds_ibdev->spinlock); in rdsv3_ib_destroy_conns()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/
H A Dosal.txt126 osal_spinlock_t - a type of variable [struct] which is used as a spinlock in the
137 Used to allocate [if upper-layer needs to] the spinlock/mutex.
144 Used to free any previously allocated memory of the spinlock/mutex.
148 Initializes the given spinlock/mutex.
152 Wait until spinlock/mutex is exclusively held - blocking for spinlocks,
155 Wait until spinlock/mutex is exclusively held - blocking for spinlocks,
156 sleeping for mutices. Use the type of spinlock that also syncronizes
162 Release a held spinlock/mutex [no logic necessary for checking whether
165 Release a held spinlock/mutex [no logic necessary for checking whether
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c315 lock_t spinlock; /* panic mode spin lock */ member
1672 dumpsys_spinlock(&cq->spinlock); in dumpsys_lock()
1683 dumpsys_spinunlock(&cq->spinlock); in dumpsys_unlock()
1693 dumpsys_spinunlock(&cq->spinlock); in dumpsys_wait_cq()
1697 dumpsys_spinlock(&cq->spinlock); in dumpsys_wait_cq()
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h426 # define MUTEX_ENTER(x) spinlock(&(x)->ipf_lk)
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Drelease.txt597 1. Problem: Usage of a non-initialized spinlock.
3431 mutex to a spinlock.
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dchanges.txt2616 change adds a spinlock to protect reference count updates on the internal
3379 spinlock is held. Fixes issues on systems that do not allow this
5476 interfaces now use the GPE spinlock instead of the events mutex (and the
8269 These functions now use a spinlock for mutual exclusion and the interrupt
8706 (since a spinlock is usually a very small object.)
8774 Converted the locking mutex used for the ACPI hardware to a spinlock.