Searched refs:interlock (Results 1 - 10 of 10) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dsimple_lock.h97 hw_lock_data_t interlock; /* must be first... see lock.c */ member in struct:slock
H A Dlocks_i386.c292 hw_lock_init(&l->interlock);
316 if(!hw_lock_to(&l->interlock, LockTimeOutTSC)) /* Try to get the lock with a timeout */
317 panic("simple lock deadlock detection: lock=%p, cpu=%d, owning thread=0x%x", l, cpu_number(), l->interlock.lock_data);
342 hw_lock_unlock(&l->interlock);
371 if ((success = hw_lock_try(&l->interlock))) {
843 * We need to disable interrupts while holding the mutex interlock
1013 * At least we get out from under the interlock before we record
1028 * the interlock so the count is accurate.
1691 * Called with the interlock unlocked.
1760 panic("trying to interlock destroye
[all...]
H A Dgenassym.c134 DECLARE("SLOCK_ILK", offsetof(usimple_lock_t, interlock));
500 DECLARE("USL_INTERLOCK", offsetof(usimple_lock_t, interlock));
H A Ddb_interface.c181 #define db_simple_lock_init(l, e) hw_lock_init(&((l)->interlock))
182 #define db_simple_lock_try(l) hw_lock_try(&((l)->interlock))
183 #define db_simple_unlock(l) hw_lock_unlock(&((l)->interlock))
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dsimple_lock.h99 hw_lock_data_t interlock; /* must be first... see lock.c */ member in struct:__anon952
H A Dlocks.h58 unsigned int interlock; member in struct:__anon936
H A Ddb_interface.c109 #define db_simple_lock_init(l, e) hw_lock_init(&((l)->interlock))
110 #define db_simple_lock_try(l) hw_lock_try(&((l)->interlock))
111 #define db_simple_unlock(l) hw_lock_unlock(&((l)->interlock))
H A Dhw_lock.s177 or r6,r6,r12 ; Set interlock
406 * does not need to interlock.
1120 bl lockDisa ; Go get a lock on the mutex's interlock lock
1132 STRINGD "attempt to interlock mutex (0x%08X) failed on mutex lock\n\000"
1138 ; hold the interlock lock and no one can touch this field unless they
1167 stw r5,MUTEX_DATA(r3) ; grab the mutexlock and free the interlock
1180 ; Note that we come in here with the interlock set. The wait routine
1339 bl lockDisa ; Go get a lock on the mutex's interlock lock
1351 STRINGD "attempt to interlock mutex (0x%08X) failed on mutex lock try\n\000"
1357 ; hold the interlock an
[all...]
H A Dlocks_ppc.c207 lck->interlock = 0;
219 if (lck->interlock == LCK_SPIN_TAG_DESTROYED)
221 lck->interlock = LCK_SPIN_TAG_DESTROYED;
238 hw_lock_init(&l->interlock);
262 if(!hw_lock_to(&l->interlock, LockTimeOut)) /* Try to get the lock with a timeout */
289 hw_lock_unlock(&l->interlock);
318 success = hw_lock_try(&l->interlock);
1079 * At least we get out from under the interlock before we record
1092 * the interlock so the count is accurate.
1603 * At least we get out from under the interlock befor
[all...]
H A Dgenassym.c899 DECLARE("SLOCK_ILK", offsetof(lck_spin_t *, interlock));

Completed in 54 milliseconds