/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_atomic.c | 50 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_reserve() 68 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_renounce() 84 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_claim() 103 } while (atomic_cas_64(sp, oldval, newval) != oldval); in bge_atomic_next() 121 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_sub64() 138 } while (atomic_cas_64(sp, oldval, newval) != oldval); in bge_atomic_clr64()
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | aso | 5 /* <atomic.h> atomic_cas_64 */ 16 #define _aso_cas64(p,o,n) atomic_cas_64(p,o,n) 20 #define _aso_casptr(p,o,n) ((void*)atomic_cas_64((uint64_t*)p,(uint64_t)o,(uint64_t)n))
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_atomic.c | 45 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in nge_atomic_decrease() 63 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in nge_atomic_increase()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | memnode.c | 104 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != in mem_node_add_slice() 165 } while (atomic_cas_64(&memnodes_mask, omask, nmask) != omask); in mem_node_del_slice() 246 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != oldmask); in mem_node_alloc()
|
H A D | intr.c | 1252 } while (atomic_cas_64(&t->t_intr_start, start, 0) != start); in cpu_intr_swtch_enter() 1276 } while (atomic_cas_64(&t->t_intr_start, ts, tsc_read()) != ts); in cpu_intr_swtch_exit()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memnode.c | 101 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != in mem_node_add_slice() 162 } while (atomic_cas_64(&memnodes_mask, omask, nmask) != omask); in mem_node_del_slice() 237 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != oldmask); in mem_node_alloc()
|
H A D | machdep.c | 559 } while (atomic_cas_64(&t->t_intr_start, start, 0) != start); in cpu_intr_swtch_enter() 586 } while (atomic_cas_64(&t->t_intr_start, ts, CLOCK_TICK_COUNTER()) != in cpu_intr_swtch_exit()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | aso | 48 elif aso note{ <atomic.h> atomic_cas_64 }end link{ 55 return atomic_cas_64(&i, 0, 1) != 0 || atomic_add_32_nv(&j, 1) != 1; 68 #define _aso_cas64(p,o,n) atomic_cas_64(p,o,n) 72 #define _aso_casptr(p,o,n) ((void*)atomic_cas_64((uint64_t*)p,(uint64_t)o,(uint64_t)n)) 98 elif aso -latomic note{ <atomic.h> atomic_cas_64 with -latomic }end link{ 105 return atomic_cas_64(&i, 0, 1) != 0 || (atomic_add_32_nv(&j, 1) - 1) != 1; 119 #define _aso_cas64(p,o,n) atomic_cas_64(p,o,n) 123 #define _aso_casptr(p,o,n) ((void*)atomic_cas_64((uint64_t*)p,(uint64_t)o,(uint64_t)n))
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_pte.h | 259 #define CAS_PTE(ptr, x, y) atomic_cas_64(ptr, x, y) 274 (mmu.pae_hat ? atomic_cas_64(ptr, x, y) : \
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_highres.c | 89 } while (atomic_cas_64((uint64_t *)addr, old, new) != old); in clock_highres_fire() 277 last = atomic_cas_64((uint64_t *)addr, 0, 0); in clock_highres_timer_gettime()
|
H A D | msacct.c | 660 } while (atomic_cas_64((uint64_t *)mstimep, oldtime, newtime) != in new_mstate() 790 } while (atomic_cas_64((uint64_t *)mstimep, oldtime, newtime) != in restore_mstate()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_timestamp.c | 152 } while (atomic_cas_64((volatile uint64_t *)&hrtime_last, in dtrace_xpv_gethrtime()
|
/illumos-gate/usr/src/common/atomic/amd64/ |
H A D | atomic.S | 37 ANSI_PRAGMA_WEAK2(cas64,atomic_cas_64,function) 475 ENTRY(atomic_cas_64) 484 SET_SIZE(atomic_cas_64)
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_ept.c | 104 oldpte = atomic_cas_64(entry, pte, newpte); in ept_reset_bits()
|
H A D | vmm_sol_rvi.c | 124 oldpte = atomic_cas_64(entry, pte, newpte); in rvi_reset_bits()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | atomic.h | 206 extern uint64_t atomic_cas_64(volatile uint64_t *, uint64_t, uint64_t);
|
/illumos-gate/usr/src/common/atomic/i386/ |
H A D | atomic.S | 38 ANSI_PRAGMA_WEAK2(cas64,atomic_cas_64,function) 596 ENTRY(atomic_cas_64) 609 SET_SIZE(atomic_cas_64)
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | atomic.h | 184 __ATOMIC_OP64(atomic_cas_64, uint64_t, "cmpxchg" SUF_64, "r")
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | mach_cpu_module.c | 160 atomic_cas_64(volatile uint64_t *target, uint64_t value1, uint64_t value2) in atomic_cas_64() function
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xge_osdep.h | 192 atomic_cas_64((uint64_t *)targetp, cmp, newval)
|
/illumos-gate/usr/src/common/atomic/sparcv9/ |
H A D | atomic.S | 47 ANSI_PRAGMA_WEAK2(cas64,atomic_cas_64,function) 765 ENTRY(atomic_cas_64) 773 SET_SIZE(atomic_cas_64)
|
/illumos-gate/usr/src/common/atomic/ |
H A D | atomic.c | 423 atomic_cas_64(volatile uint64_t *target, uint64_t cmp, uint64_t new) in atomic_cas_64() function
|
/illumos-gate/usr/src/common/atomic/sparc/ |
H A D | atomic.S | 38 ANSI_PRAGMA_WEAK2(cas64,atomic_cas_64,function) 636 ENTRY(atomic_cas_64)
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_intr.c | 166 } while (atomic_cas_64(&(sip->si_mask), mask, in sfxge_intr_message()
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | sys_atomic_h.cfg | 491 func | atomic_cas_64 |\
|