Home
last modified time | relevance | path

Searched refs:hres_lock (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/uts/sun4u/sys/
H A Dmachclock.h116 5: sethi %hi(hres_lock), scr; \
117 lduw [scr + %lo(hres_lock)], hrlock; /* load clock lock */ \
129 lduw [scr + %lo(hres_lock)], scr; /* load clock lock */ \
141 5: sethi %hi(hres_lock), scr; \
142 lduw [scr + %lo(hres_lock)], hrlock; /* load clock lock */ \
151 ld [scr + %lo(hres_lock)], scr; /* load clock lock */ \
/titanic_41/usr/src/uts/i86pc/os/
H A Dtimestamp.c165 old_hres_lock = hres_lock; in tsc_gethrtime()
191 } while ((old_hres_lock & ~1) != hres_lock); in tsc_gethrtime()
204 old_hres_lock = hres_lock; in tsc_gethrtime_delta()
231 } while ((old_hres_lock & ~1) != hres_lock); in tsc_gethrtime_delta()
262 old_hres_lock = hres_lock; in dtrace_gethrtime()
290 if ((old_hres_lock & ~1) == hres_lock) in dtrace_gethrtime()
302 if (old_hres_lock != hres_lock) in dtrace_gethrtime()
348 old_hres_lock = hres_lock; in tsc_gethrtimeunscaled()
352 } while ((old_hres_lock & ~1) != hres_lock); in tsc_gethrtimeunscaled()
H A Dmachdep.c729 lock_prev = hres_lock; in pc_gethrestime()
774 if ((hres_lock & ~1) != lock_prev) in pc_gethrestime()
/titanic_41/usr/src/uts/sun4v/sys/
H A Dmachclock.h229 5: sethi %hi(hres_lock), scr; \
230 lduw [scr + %lo(hres_lock)], hrlock; /* load clock lock */ \
243 lduw [scr + %lo(hres_lock)], scr; /* load clock lock */ \
255 5: sethi %hi(hres_lock), scr; \
256 lduw [scr + %lo(hres_lock)], hrlock; /* load clock lock */ \
266 ld [scr + %lo(hres_lock)], scr; /* load clock lock */ \
/titanic_41/usr/src/uts/sun4/sys/
H A Dclock.h167 lock_set_spl((lock_t *)&hres_lock + HRES_LOCK_OFFSET, \
172 hres_lock++; \
175 (lock_t *)&hres_lock + HRES_LOCK_OFFSET);
/titanic_41/usr/src/uts/i86pc/sys/
H A Dclock.h97 lock_set_spl((lock_t *)&hres_lock + HRES_LOCK_OFFSET, \
104 (lock_t *)&hres_lock + HRES_LOCK_OFFSET);
H A Dcomm_page.h83 extern volatile uint32_t hres_lock;
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s441 sethi %hi(hres_lock), %o1
443 lduw [%o1 + %lo(hres_lock)], %o2 ! Load lock value
450 lduw [%o1 + %lo(hres_lock)], %o3 ! Reload lock value
521 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5 ! try locking
525 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
528 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
530 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
600 ld [%l4 + %lo(hres_lock)], %i1
602 st %i1, [%l4 + %lo(hres_lock)] ! clear hres_lock
609 ! release hres_lock
[all …]
/titanic_41/usr/src/uts/i86pc/ml/
H A Dcomm_page.s29 volatile uint32_t hres_lock;
68 DGDEF2(hres_lock, 4);
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s595 sethi %hi(hres_lock), %o1
597 lduw [%o1 + %lo(hres_lock)], %o2 ! Load lock value
604 lduw [%o1 + %lo(hres_lock)], %o3 ! Reload lock value
675 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5 ! try locking
679 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
682 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
684 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
754 ld [%l4 + %lo(hres_lock)], %i1
756 st %i1, [%l4 + %lo(hres_lock)] ! clear hres_lock
763 ! release hres_lock
[all …]
/titanic_41/usr/src/uts/intel/asm/
H A Dclock.h47 : "m" (hres_lock) in unlock_hres_lock()
/titanic_41/usr/src/uts/sparc/sys/
H A Dmachlock.h76 extern volatile int hres_lock;
/titanic_41/usr/src/uts/intel/sys/
H A Dmachlock.h80 extern volatile uint32_t hres_lock;
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c75 volatile uint32_t hres_lock; variable
/titanic_41/usr/src/uts/intel/ia32/ml/
H A Dia32.il118 * Unlock hres_lock and increment the count value. (See clock.h)
122 incl hres_lock
H A Di86_subr.s3620 leaq hres_lock(%rip), %rax
3653 incl hres_lock(%rip)
3676 movl $hres_lock, %eax
3853 incl hres_lock / release the hres_lock
/titanic_41/usr/src/uts/intel/amd64/ml/
H A Damd64.il117 * Unlock hres_lock and increment the count value. (See clock.h)
121 incl hres_lock
/titanic_41/usr/src/uts/sun4/cpu/
H A Dcpu_module.c38 volatile int hres_lock; variable