Home
last modified time | relevance | path

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

/illumos-gate/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 */ \
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtimestamp.c205 old_hres_lock = hres_lock; in tsc_gethrtime()
245 } while ((old_hres_lock & ~1) != hres_lock); in tsc_gethrtime()
258 old_hres_lock = hres_lock; in tsc_gethrtime_delta()
287 } while ((old_hres_lock & ~1) != hres_lock); in tsc_gethrtime_delta()
313 old_hres_lock = hres_lock; in tsc_gethrtime_params()
329 } while ((old_hres_lock & ~1) != hres_lock); in tsc_gethrtime_params()
372 old_hres_lock = hres_lock; in dtrace_gethrtime()
402 if ((old_hres_lock & ~1) == hres_lock) in dtrace_gethrtime()
414 if (old_hres_lock != hres_lock) in dtrace_gethrtime()
462 old_hres_lock = hres_lock; in tsc_gethrtimeunscaled()
[all …]
H A Dmachdep.c740 lock_prev = hres_lock; in pc_gethrestime()
785 if ((hres_lock & ~1) != lock_prev) in pc_gethrestime()
/illumos-gate/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 */ \
/illumos-gate/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);
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.S287 sethi %hi(hres_lock), %o1
289 lduw [%o1 + %lo(hres_lock)], %o2 ! Load lock value
296 lduw [%o1 + %lo(hres_lock)], %o3 ! Reload lock value
367 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5 ! try locking
371 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
374 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
376 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
446 ld [%l4 + %lo(hres_lock)], %i1
448 st %i1, [%l4 + %lo(hres_lock)] ! clear hres_lock
455 ! release hres_lock
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dclock.h95 lock_set_spl((lock_t *)&hres_lock + HRES_LOCK_OFFSET, \
102 (lock_t *)&hres_lock + HRES_LOCK_OFFSET);
H A Dcomm_page.h83 extern volatile uint32_t hres_lock;
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dcomm_page.S29 volatile uint32_t hres_lock;
68 DGDEF2(hres_lock, 4);
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.S448 sethi %hi(hres_lock), %o1
450 lduw [%o1 + %lo(hres_lock)], %o2 ! Load lock value
457 lduw [%o1 + %lo(hres_lock)], %o3 ! Reload lock value
528 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5 ! try locking
532 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
535 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
537 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
607 ld [%l4 + %lo(hres_lock)], %i1
609 st %i1, [%l4 + %lo(hres_lock)] ! clear hres_lock
616 ! release hres_lock
[all …]
/illumos-gate/usr/src/uts/intel/asm/
H A Dclock.h47 : "m" (hres_lock) in unlock_hres_lock()
/illumos-gate/usr/src/uts/sparc/sys/
H A Dmachlock.h74 extern volatile int hres_lock;
/illumos-gate/usr/src/uts/intel/sys/
H A Dmachlock.h78 extern volatile uint32_t hres_lock;
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c75 volatile uint32_t hres_lock; variable
/illumos-gate/usr/src/uts/sun4/cpu/
H A Dcpu_module.c38 volatile int hres_lock; variable
/illumos-gate/usr/src/uts/intel/ml/
H A Di86_subr.S1430 leaq hres_lock(%rip), %rax
1463 incl hres_lock(%rip)