/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 116 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 D | timestamp.c | 205 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 D | machdep.c | 740 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 D | machclock.h | 229 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 D | clock.h | 167 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 D | common_asm.S | 287 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 D | clock.h | 95 lock_set_spl((lock_t *)&hres_lock + HRES_LOCK_OFFSET, \ 102 (lock_t *)&hres_lock + HRES_LOCK_OFFSET);
|
H A D | comm_page.h | 83 extern volatile uint32_t hres_lock;
|
/illumos-gate/usr/src/uts/i86pc/ml/ |
H A D | comm_page.S | 29 volatile uint32_t hres_lock; 68 DGDEF2(hres_lock, 4);
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.S | 448 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 D | clock.h | 47 : "m" (hres_lock) in unlock_hres_lock()
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | machlock.h | 74 extern volatile int hres_lock;
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | machlock.h | 78 extern volatile uint32_t hres_lock;
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_timestamp.c | 75 volatile uint32_t hres_lock; variable
|
/illumos-gate/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 38 volatile int hres_lock; variable
|
/illumos-gate/usr/src/uts/intel/ml/ |
H A D | i86_subr.S | 1430 leaq hres_lock(%rip), %rax 1463 incl hres_lock(%rip)
|