SMR_PTR_SET_LOCKED
SMR_PTR_SET_LOCKED(&sc->sc_pd->pd_dev_handles, handles);
SMR_PTR_SET_LOCKED(ahep, nahe);
SMR_PTR_SET_LOCKED(&heap[k], nahe);
SMR_PTR_SET_LOCKED(&art->art_root, heap);
SMR_PTR_SET_LOCKED(ahep, art_node_to_heap_entry(an));
SMR_PTR_SET_LOCKED(&heap[ART_HEAP_IDX_DEFAULT], ahe);
SMR_PTR_SET_LOCKED(ahep, art_heap_to_heap_entry(heap));
SMR_PTR_SET_LOCKED(ahep, ahe);
SMR_PTR_SET_LOCKED(ahep, 0);
SMR_PTR_SET_LOCKED(ahep, pahe);
SMR_PTR_SET_LOCKED(&heap[ART_HEAP_IDX_TABLE], (art_heap_entry)at);
SMR_PTR_SET_LOCKED(&heap[ART_HEAP_IDX_DEFAULT], ahe);
SMR_PTR_SET_LOCKED(&parent->at_heap[j], ahe);
SMR_PTR_SET_LOCKED(&art->art_root, NULL);
SMR_PTR_SET_LOCKED(&d->bd_rfilter, bps);
SMR_PTR_SET_LOCKED(&d->bd_wfilter, bps);
SMR_PTR_SET_LOCKED(&if_idxmap.map, if_map);
SMR_PTR_SET_LOCKED(&if_idxmap.map, if_map);
SMR_PTR_SET_LOCKED(&if_map[index], if_ref(ifp));
SMR_PTR_SET_LOCKED(&if_map[index], NULL);
SMR_PTR_SET_LOCKED(&ac0->ac_trport, &p->p_ether_port);
SMR_PTR_SET_LOCKED(&ac0->ac_trport, NULL);
SMR_PTR_SET_LOCKED(&sc->sc_map, map);
SMR_PTR_SET_LOCKED(&ac->ac_brport, ep);
SMR_PTR_SET_LOCKED(&ac->ac_brport, NULL);
SMR_PTR_SET_LOCKED(&pfsyncif, NULL);
SMR_PTR_SET_LOCKED(&pfsyncif, sc);
SMR_PTR_SET_LOCKED(&tdb->tdb_dnext, ltdb);
SMR_PTR_SET_LOCKED(tdbp, tdb);
SMR_PTR_SET_LOCKED(tdbp, ltdb);
SMR_PTR_SET_LOCKED(pp, p);
SMR_PTR_SET_LOCKED(&sc->sc_ports[p->p_slot], NULL);
SMR_PTR_SET_LOCKED(&ac0->ac_trport, &tp->tp_ether_port);
SMR_PTR_SET_LOCKED(&ac0->ac_trport, NULL);
SMR_PTR_SET_LOCKED(&ac->ac_trport, NULL);
SMR_PTR_SET_LOCKED(&ac->ac_trport,
SMR_PTR_SET_LOCKED(ports_ptr, nm);
SMR_PTR_SET_LOCKED(&p->p_vid_map, nmap);
SMR_PTR_SET_LOCKED(&sc->sc_pvlans, pvlans);
SMR_PTR_SET_LOCKED(ports_ptr, nm);
SMR_PTR_SET_LOCKED(&sc->sc_ports, NULL);
SMR_PTR_SET_LOCKED(&sc->sc_spans, NULL);
SMR_PTR_SET_LOCKED(prt,
SMR_PTR_SET_LOCKED(prt, SMR_PTR_GET_LOCKED(&rt->rt_next));
SMR_PTR_SET_LOCKED(&rt->rt_next, mrt);
SMR_PTR_SET_LOCKED(prt, rt);