/titanic_50/usr/src/uts/sparc/sys/ |
H A D | machlock.h | 41 extern void lock_set(lock_t *lp); 42 extern int lock_try(lock_t *lp); 43 extern int lock_spin_try(lock_t *lp); 44 extern int ulock_try(lock_t *lp); 45 extern void ulock_clear(lock_t *lp); 46 extern void lock_clear(lock_t *lp); 47 extern void lock_set_spl(lock_t *lp, int new_pil, ushort_t *old_pil); 48 extern void lock_clear_splx(lock_t *lp, int s); 55 #define LOCK_HELD(lp) (*(volatile lock_t *)(lp) != 0) 57 typedef lock_t disp_lock_t; /* dispatcher lock type */
|
H A D | machtypes.h | 55 typedef unsigned char lock_t; /* lock work for busy wait */ typedef
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | machlock.h | 45 extern void lock_set(lock_t *lp); 46 extern int lock_try(lock_t *lp); 47 extern int lock_spin_try(lock_t *lp); 48 extern int ulock_try(lock_t *lp); 49 extern void lock_clear(lock_t *lp); 50 extern void ulock_clear(lock_t *lp); 51 extern void lock_set_spl(lock_t *lp, int new_pil, ushort_t *old_pil); 52 extern void lock_clear_splx(lock_t *lp, int s); 59 #define LOCK_HELD(lp) (*(volatile lock_t *)(lp) != 0) 61 typedef lock_t disp_lock_t; /* dispatcher lock type */
|
H A D | mutex_impl.h | 63 lock_t m_dummylock; /* 0 dummy lock (always set) */ 64 lock_t m_spinlock; /* 1 real lock */
|
/titanic_50/usr/src/uts/i86pc/sys/ |
H A D | apic_common.h | 132 extern lock_t apic_mode_switch_lock; 133 extern lock_t apic_gethrtime_lock; 150 extern lock_t apic_nmi_lock; 152 extern lock_t apic_error_lock;
|
H A D | clock.h | 97 lock_set_spl((lock_t *)&hres_lock + HRES_LOCK_OFFSET, \ 104 (lock_t *)&hres_lock + HRES_LOCK_OFFSET);
|
H A D | apix.h | 133 lock_t x_lock; 168 extern lock_t apix_lock;
|
/titanic_50/usr/src/uts/common/disp/ |
H A D | disp_lock.c | 126 lock_t *volatile *tlpp = &t->t_lockp; in thread_lock() 127 lock_t *lp = *tlpp; in thread_lock() 169 lock_t *volatile *tlpp = &t->t_lockp; in thread_lock_high() 170 lock_t *lp = *tlpp; in thread_lock_high()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | turnstile.c | 176 static lock_t turnstile_loser_lock; 331 turnstile_interlock(lock_t *wlp, lock_t *volatile *olpp) in turnstile_interlock() 336 volatile lock_t *olp = *olpp; in turnstile_interlock() 343 if (lock_try((lock_t *)olp)) { in turnstile_interlock() 350 lock_clear((lock_t *)olp); in turnstile_interlock() 359 if (olp >= (lock_t *)turnstile_table && olp < wlp) { in turnstile_interlock() 361 lock_set((lock_t *)olp); in turnstile_interlock() 362 lock_clear((lock_t *)olp); in turnstile_interlock()
|
H A D | unix_bb.c | 48 lock_t unix_bb_lock;
|
H A D | mutex.c | 647 lock_set_spin(lock_t *lp) in lock_set_spin() 681 lock_set_spl_spin(lock_t *lp, int new_pil, ushort_t *old_pil_addr, int old_pil) in lock_set_spl_spin()
|
H A D | dtrace_subr.c | 70 lock_t dthr_lock; /* lock for this element */
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | t_lock.h | 80 #define DISP_LOCK_INIT(lp) LOCK_INIT_CLEAR((lock_t *)(lp)) 81 #define DISP_LOCK_HELD(lp) LOCK_HELD((lock_t *)(lp))
|
H A D | thread.h | 142 lock_t t_lock; /* used to resume() a thread */ 199 lock_t t_lock_flush; /* for lock_mutex_flush() impl */
|
/titanic_50/usr/src/uts/sparc/v7/sys/ |
H A D | mutex_impl.h | 71 lock_t m_dummylock; /* 0 lock (always set) */ 72 lock_t m_spinlock; /* 1 real lock */
|
/titanic_50/usr/src/uts/sparc/v9/sys/ |
H A D | mutex_impl.h | 66 lock_t m_spinlock; /* 6 real lock */ 67 lock_t m_dummylock; /* 7 dummy lock (always set) */
|
/titanic_50/usr/src/uts/sparc/v9/ml/ |
H A D | lock_prim.s | 155 lock_try(lock_t *lp) 161 lock_spin_try(lock_t *lp) 167 lock_set(lock_t *lp) 169 extern void lock_set_spin(lock_t *); 177 lock_clear(lock_t *lp) 184 ulock_try(lock_t *lp) 190 ulock_clear(lock_t *lp) 270 lock_set_spl(lock_t *lp, int new_pil, u_short *old_pil_addr) 273 extern void lock_set_spl_spin(lock_t *, int, u_short *, int); 314 lock_clear_splx(lock_t *lp, int s)
|
/titanic_50/usr/src/uts/sun4/sys/ |
H A D | clock.h | 167 lock_set_spl((lock_t *)&hres_lock + HRES_LOCK_OFFSET, \ 175 (lock_t *)&hres_lock + HRES_LOCK_OFFSET);
|
/titanic_50/usr/src/uts/common/tnf/ |
H A D | tnf_buf.c | 82 lock_t *lp; in tnfw_b_alloc_block() 311 lock_t *lp; in tnfw_b_fw_alloc() 361 ASSERT(sizeof (tnf_byte_lock_t) == sizeof (lock_t)); in tnfw_b_init_buffer()
|
H A D | tnf_buf.h | 123 lock_t lock; /* protects hint updates */
|
/titanic_50/usr/src/uts/intel/ia32/sys/ |
H A D | machtypes.h | 65 typedef unsigned char lock_t; /* lock work for busy wait */ typedef
|
/titanic_50/usr/src/uts/intel/ia32/ml/ |
H A D | lock_prim.s | 56 lock_try(lock_t *lp) 61 lock_spin_try(lock_t *lp) 66 ulock_try(lock_t *lp) 190 lock_clear(lock_t *lp) 195 ulock_clear(lock_t *lp) 281 lock_set_spl(lock_t *lp, int new_pil, u_short *old_pil) 361 lock_init(lock_t *lp) 394 lock_set(lock_t *lp) 441 lock_clear_splx(lock_t *lp, int s)
|
/titanic_50/usr/src/uts/sun4u/starfire/sys/ |
H A D | idn_smr.h | 177 lock_t sl_lock;
|
H A D | idn.h | 1666 lock_t diowanted; 1673 lock_t diocheck; /* drwlock */ 1679 lock_t dreclaim_inprogress; /* drwlock */ 1859 lock_t idn_dmv_active; 1862 sizeof (lock_t) - \ 2370 lock_t ch_initlck; 2371 lock_t ch_actvlck; 2377 (2*sizeof (uchar_t)) - (2*sizeof (lock_t)) - 2644 lock_t first_swlink; 2645 lock_t first_hwlink;
|
/titanic_50/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_common.c | 132 lock_t apic_mode_switch_lock; 160 lock_t apic_gethrtime_lock; 177 lock_t apic_nmi_lock; 179 lock_t apic_error_lock;
|