Home
last modified time | relevance | path

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

12

/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/uts/i86pc/os/
H A Dx_call.c172 } while (atomic_cas_ptr(queue, old_head, msg) != old_head); in xc_insert()
189 } 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()
/titanic_41/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()
/titanic_41/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_main.c87 osp = atomic_cas_ptr(&gcpu_shared[chipid], NULL, sp); in gcpu_init()
/titanic_41/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()
/titanic_41/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)
/titanic_41/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()
920 if (atomic_cas_ptr(&eqp->eq_pend, old, eqep) == old) in errorq_commit()
H A Dmutex.c246 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()
/titanic_41/usr/src/uts/common/sys/
H A Datomic.h202 extern void *atomic_cas_ptr(volatile void *, void *, void *);
/titanic_41/usr/src/uts/sun4v/os/
H A Dppage.c162 if (atomic_cas_ptr(&ppmap_vaddrs[nset], va, NULL) == in ppmapin()
/titanic_41/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)
/titanic_41/usr/src/uts/intel/asm/
H A Datomic.h193 atomic_cas_ptr(volatile void *target, void *cmp, void *new) in atomic_cas_ptr() function
/titanic_41/usr/src/uts/common/inet/nca/
H A Dnca.h698 } 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, \
/titanic_41/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()
/titanic_41/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)
/titanic_41/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
/titanic_41/usr/src/uts/common/disp/
H A Dsysdc.c685 } while (atomic_cas_ptr(headp, head, sdc) != head); in sysdc_activate()
806 } while (atomic_cas_ptr(headp, tail, head) != tail); in sysdc_update()
/titanic_41/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)
/titanic_41/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c114 if (atomic_cas_ptr(evcpp, NULL, evc) != NULL) in bind_channel()
/titanic_41/usr/src/common/atomic/
H A Datomic.c434 atomic_cas_ptr(volatile void *target, void *cmp, void *new) in atomic_cas_ptr() function
/titanic_41/usr/src/uts/common/fs/portfs/
H A Dport_fop.c296 if (atomic_cas_ptr(&fop_femop, NULL, femp) != NULL) { in port_fop_femop()
314 if (atomic_cas_ptr(&fop_fsemop, NULL, fsemp) != NULL) { in port_fop_fsemop()
1090 if (atomic_cas_ptr(&vp->v_fopdata, NULL, npvp) != NULL) { in port_install_fopdata()

12