atomic_swap_32
atomic_swap_32(&fletcher_4_impl_chosen, impl);
atomic_swap_32(&fletcher_4_impl_chosen, sel_save);
extern uint32_t atomic_swap_32(volatile uint32_t *, uint32_t);
(void) atomic_swap_32(&mp->mutex_lockword, 0);
if (atomic_swap_32(&mp->mutex_lockword, 0) & WAITERMASK) {
atomic_swap_32(&zfs_vdev_raidz_impl, user_sel_impl);
atomic_swap_32(&zfs_vdev_raidz_impl, impl);
atomic_swap_32(&user_sel_impl, impl);
atomic_swap_32((volatile uint32_t *)(_p), (uint32_t)(_v))
atomic_swap_32(&pUM->plumbed, B_FALSE);
atomic_swap_32(&pUM->plumbed, B_TRUE);
atomic_swap_32(&pUM->plumbed, B_FALSE);
atomic_swap_32(&pUM->chipStarted, B_TRUE);
atomic_swap_32(&pUM->hwInitDone, B_TRUE);
atomic_swap_32(&pUM->chipStarted, B_FALSE);
atomic_swap_32(&pUM->hwInitDone, B_FALSE);
atomic_swap_32(&pUM->plumbed, B_TRUE);
atomic_swap_32(&pUM->plumbed, B_FALSE);
atomic_swap_32(&pUM->intrEnabled, B_TRUE);
atomic_swap_32(&pUM->intrEnabled, B_FALSE);
atomic_swap_32(&pUM->intrEnabled, B_FALSE);
atomic_swap_32(&pRxQ->inPollMode, B_FALSE);
atomic_swap_32(&pRxQ->inPollMode, B_TRUE);
atomic_swap_32(&pUM->rxBufSignature[cliIdx], (u32_t)ddi_get_time());
atomic_swap_32(&pUM->rxBufSignature[cliIdx], 0);
atomic_swap_32(&pUM->timerEnabled, B_TRUE);
atomic_swap_32(&pUM->timerEnabled, B_FALSE);
h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0));
h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0));
(void) atomic_swap_32(target, newval);
(void) atomic_swap_32(&ring->tx_ring_offline, NXGE_TX_RING_OFFLINING);
(void) atomic_swap_32(&ring->tx_ring_offline,
(void) atomic_swap_32(&ring->tx_ring_offline,
(void) atomic_swap_32(&tx_ring_p->tx_ring_offline,
(void) atomic_swap_32(
(void) atomic_swap_32(&tx_ring_p->tx_ring_offline,
(void) atomic_swap_32(&tx_ring_p->tx_ring_offline,
(void) atomic_swap_32(
(void) atomic_swap_32(&tx_ring_p->tx_ring_offline, NXGE_TX_RING_ONLINE);
(void) atomic_swap_32(&(sp->s_nested_restarts), 0);
(void) atomic_swap_32(&(sp->s_nested_restarts), 0);
(void) atomic_swap_32(&(sp->s_nested_restarts), 0);
extern uint32_t atomic_swap_32(volatile uint32_t *, uint32_t);
__ATOMIC_OPXX(atomic_swap_32, uint32_t, "xchg" SUF_32, "r")
atomic_swap_32(ptr, B_TRUE) == B_TRUE)
(void) atomic_swap_32(&vgenp->vsw_port_refcnt, 0);
(void) atomic_swap_32(&portp->use_vsw_port, B_FALSE);
(void) atomic_swap_32(&portp->use_vsw_port, B_TRUE);
(void) atomic_swap_32(&vgenp->vsw_port_refcnt, 0);
(void) atomic_swap_32(
(void) atomic_swap_32(&ldcp->portp->use_vsw_port, B_FALSE);
(void) atomic_swap_32(&portp->use_vsw_port, B_TRUE);
(void) atomic_swap_32(&portp->use_vsw_port,
(void) atomic_swap_32(&port->p_hio_capable, B_TRUE);
(void) atomic_swap_32(&port->p_hio_capable, B_FALSE);
(void) atomic_swap_32(&port->p_hio_capable, B_FALSE);
(void) atomic_swap_32(&vswp->switching_setup_done, B_FALSE);
(void) atomic_swap_32(&vswp->switching_setup_done, B_TRUE);