/illumos-gate/usr/src/uts/sparc/v9/syscall/ |
H A D | install_utrap.c | 82 * trap handlers, which must later be freed. Use atomic_cas_ptr to 88 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv); 97 * Use atomic_cas_ptr to atomically install the handler. 102 tmp = atomic_cas_ptr(&p->p_utraps[idx], ov, nv); 226 * trap handlers, which must later be freed. Use atomic_cas_ptr to 232 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv); 241 * Use atomic_cas_ptr to atomically install the handlers. 246 tmp = atomic_cas_ptr(&p->p_utraps[idx], ov, nvp);
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | systrace.c | 167 (void) atomic_cas_ptr(&sysent[sysnum].sy_callc, 171 (void) atomic_cas_ptr(&sysent32[sysnum].sy_callc, 187 (void) atomic_cas_ptr(&sysent[sysnum].sy_callc, 192 (void) atomic_cas_ptr(&sysent32[sysnum].sy_callc,
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_main.c | 100 osp = atomic_cas_ptr(&ao_shared[chipid], NULL, sp);
|
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_main.c | 87 osp = atomic_cas_ptr(&gcpu_shared[chipid], NULL, sp);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | x_call.c | 54 * instruction, aka atomic_cas_ptr(), to implement simple efficient work 67 * atomic_cas_ptr(), atomic_cas_32() and atomic_dec_32() for the message 172 } while (atomic_cas_ptr(queue, old_head, msg) != old_head); 189 } while (atomic_cas_ptr(queue, old_head, old_head->xc_next) != 613 (void) atomic_cas_ptr(&cpup->cpu_m.xc_msgbox,
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | prom_subr.c | 274 prcp = atomic_cas_ptr((void *)&prom_cpu, NULL, cp); 311 prcp = atomic_cas_ptr((void *)&prom_cpu, NULL, cp);
|
/illumos-gate/usr/src/common/atomic/amd64/ |
H A D | atomic.s | 39 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function) 477 ALTENTRY(atomic_cas_ptr) function 482 SET_SIZE(atomic_cas_ptr)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | errorq.c | 558 if (atomic_cas_ptr(&eqp->eq_pend, old, eep) == old) 599 * eq_pend has all the pending errors. If atomic_cas_ptr fails or 601 * errors. If atomic_cas_ptr succeeds (1C), eq_ptail has all the 608 if (atomic_cas_ptr(&eqp->eq_pend, eep, NULL) == eep) 755 * atomic_cas_ptr may not have been executed yet or may have 795 * However, we must use atomic_cas_ptr to update the 920 if (atomic_cas_ptr(&eqp->eq_pend, old, eqep) == old)
|
H A D | mutex.c | 246 if (atomic_cas_ptr(&panic_mutex_addr, NULL, lp) == NULL)
|
H A D | rwlock.c | 220 if (atomic_cas_ptr(&panic_rwlock_addr, NULL, lp) == NULL)
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ppage.c | 190 if (atomic_cas_ptr(&ppmap_vaddrs[index], 320 if (atomic_cas_ptr(myslot, NULL, va) == NULL)
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | smbios.c | 81 if (atomic_cas_ptr(&smb_clones[c].c_hdl, NULL, ksmbios) == NULL)
|
H A D | ksyms.c | 250 if (atomic_cas_ptr(&ksyms_clones[clone].ksyms_base, 0, addr) ==
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | atomic.h | 202 extern void *atomic_cas_ptr(volatile void *, void *, void *);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | ppage.c | 162 if (atomic_cas_ptr(&ppmap_vaddrs[nset], va, NULL) ==
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | atomic.h | 193 * We don't use the above macro here because atomic_cas_ptr has an 198 atomic_cas_ptr(volatile void *target, void *cmp, void *new) function
|
/illumos-gate/usr/src/uts/common/inet/nca/ |
H A D | nca.h | 698 } while (atomic_cas_ptr(&node_tp, _p, _np) != _p); \ 788 } while (atomic_cas_ptr(&door_tp, _p, _np) != _p); \ 1546 } while (atomic_cas_ptr(&conn_tp, _p, _np) != _p); \ 1768 } while (atomic_cas_ptr((void *)&nca_counter_tp, (void *)_otp, \
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | mach_cpu_module.c | 610 atomic_cas_ptr(volatile void *target, void *cmp, void *new) function
|
/illumos-gate/usr/src/common/atomic/i386/ |
H A D | atomic.s | 40 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function) 584 ALTENTRY(atomic_cas_ptr) function 591 SET_SIZE(atomic_cas_ptr)
|
/illumos-gate/usr/src/common/atomic/sparc/ |
H A D | atomic.s | 40 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function) 626 ALTENTRY(atomic_cas_ptr) function 632 SET_SIZE(atomic_cas_ptr)
|
/illumos-gate/usr/src/common/atomic/sparcv9/ |
H A D | atomic.s | 49 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function) 766 ALTENTRY(atomic_cas_ptr) function 772 SET_SIZE(atomic_cas_ptr)
|
/illumos-gate/usr/src/common/atomic/ |
H A D | atomic.c | 434 atomic_cas_ptr(volatile void *target, void *cmp, void *new) function
|
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_publish.c | 114 if (atomic_cas_ptr(evcpp, NULL, evc) != NULL)
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | sysdc.c | 685 } while (atomic_cas_ptr(headp, head, sdc) != head); 806 } while (atomic_cas_ptr(headp, tail, head) != tail);
|
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port_fop.c | 296 if (atomic_cas_ptr(&fop_femop, NULL, femp) != NULL) { 314 if (atomic_cas_ptr(&fop_fsemop, NULL, fsemp) != NULL) { 1090 if (atomic_cas_ptr(&vp->v_fopdata, NULL, npvp) != NULL) {
|