Home
last modified time | relevance | path

Searched refs:atomic_cas_ptr (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/uts/sparc/v9/syscall/
H A Dinstall_utrap.c88 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv); in install_utrap()
102 tmp = atomic_cas_ptr(&p->p_utraps[idx], ov, nv); in install_utrap()
232 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv); in sparc_utrap_install()
246 tmp = atomic_cas_ptr(&p->p_utraps[idx], ov, nvp); in sparc_utrap_install()
/illumos-gate/usr/src/uts/common/dtrace/
H A Dsystrace.c167 (void) atomic_cas_ptr(&sysent[sysnum].sy_callc, in systrace_enable()
171 (void) atomic_cas_ptr(&sysent32[sysnum].sy_callc, in systrace_enable()
187 (void) atomic_cas_ptr(&sysent[sysnum].sy_callc, in systrace_disable()
192 (void) atomic_cas_ptr(&sysent32[sysnum].sy_callc, in systrace_disable()
/illumos-gate/usr/src/uts/sun4/os/
H A Dprom_subr.c274 prcp = atomic_cas_ptr((void *)&prom_cpu, NULL, cp); in kern_preprom()
311 prcp = atomic_cas_ptr((void *)&prom_cpu, NULL, cp); in kern_preprom()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dx_call.c157 } while (atomic_cas_ptr(queue, old_head, msg) != old_head); in xc_insert()
174 } while (atomic_cas_ptr(queue, old_head, old_head->xc_next) != in xc_extract()
613 (void) atomic_cas_ptr(&cpup->cpu_m.xc_msgbox, in xc_priority_common()
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_main.c100 osp = atomic_cas_ptr(&ao_shared[chipid], NULL, sp); in ao_ms_init()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dppage.c190 if (atomic_cas_ptr(&ppmap_vaddrs[index], in ppmapin()
320 if (atomic_cas_ptr(myslot, NULL, va) == NULL) in pp_load_tlb()
/illumos-gate/usr/src/common/atomic/amd64/
H A Datomic.S39 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function)
477 ALTENTRY(atomic_cas_ptr)
482 SET_SIZE(atomic_cas_ptr)
/illumos-gate/usr/src/uts/common/os/
H A Derrorq.c558 if (atomic_cas_ptr(&eqp->eq_pend, old, eep) == old) in errorq_dispatch()
608 if (atomic_cas_ptr(&eqp->eq_pend, eep, NULL) == eep) in errorq_drain()
922 if (atomic_cas_ptr(&eqp->eq_pend, old, eqep) == old) in errorq_commit()
H A Dmutex.c247 if (atomic_cas_ptr(&panic_mutex_addr, NULL, lp) == NULL) in mutex_panic()
H A Drwlock.c220 if (atomic_cas_ptr(&panic_rwlock_addr, NULL, lp) == NULL) in rw_panic()
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_main.c223 osp = atomic_cas_ptr(&gcpu_shared[chipid], NULL, sp); in gcpu_init()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dppage.c162 if (atomic_cas_ptr(&ppmap_vaddrs[nset], va, NULL) == in ppmapin()
/illumos-gate/usr/src/uts/common/sys/
H A Datomic.h203 extern void *atomic_cas_ptr(volatile void *, void *, void *);
/illumos-gate/usr/src/common/atomic/i386/
H A Datomic.S40 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function)
584 ALTENTRY(atomic_cas_ptr)
591 SET_SIZE(atomic_cas_ptr)
/illumos-gate/usr/src/uts/intel/asm/
H A Datomic.h198 atomic_cas_ptr(volatile void *target, void *cmp, void *new) in atomic_cas_ptr() function
/illumos-gate/usr/src/uts/common/io/
H A Dsmbios.c81 if (atomic_cas_ptr(&smb_clones[c].c_hdl, NULL, ksmbios) == NULL) in smb_open()
H A Dksyms.c250 if (atomic_cas_ptr(&ksyms_clones[clone].ksyms_base, 0, addr) == in ksyms_open()
/illumos-gate/usr/src/common/atomic/sparc/
H A Datomic.S40 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function)
626 ALTENTRY(atomic_cas_ptr)
632 SET_SIZE(atomic_cas_ptr)
/illumos-gate/usr/src/uts/common/disp/
H A Dsysdc.c659 } while (atomic_cas_ptr(headp, head, sdc) != head); in sysdc_activate()
780 } while (atomic_cas_ptr(headp, tail, head) != tail); in sysdc_update()
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dmach_cpu_module.c610 atomic_cas_ptr(volatile void *target, void *cmp, void *new) in atomic_cas_ptr() function
/illumos-gate/usr/src/common/atomic/sparcv9/
H A Datomic.S49 ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function)
766 ALTENTRY(atomic_cas_ptr)
772 SET_SIZE(atomic_cas_ptr)
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c114 if (atomic_cas_ptr(evcpp, NULL, evc) != NULL) in bind_channel()
/illumos-gate/usr/src/common/atomic/
H A Datomic.c432 atomic_cas_ptr(volatile void *target, void *cmp, void *new) in atomic_cas_ptr() function
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fop.c297 if (atomic_cas_ptr(&fop_femop, NULL, femp) != NULL) { in port_fop_femop()
315 if (atomic_cas_ptr(&fop_fsemop, NULL, fsemp) != NULL) { in port_fop_fsemop()
1091 if (atomic_cas_ptr(&vp->v_fopdata, NULL, npvp) != NULL) { in port_install_fopdata()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_main.c217 (void) atomic_cas_ptr(&oce_dev_list[dev_index], NULL, dev); in oce_attach()

12