Lines Matching defs:smp
162 srcid_map_t *smp;
172 smp = *smpp;
173 if (smp == NULL) {
180 ASSERT(smp->sm_refcnt != 0);
181 smp->sm_refcnt--;
182 if (smp->sm_refcnt != 0) {
187 *smpp = smp->sm_next;
189 smp->sm_next = NULL;
190 kmem_free(smp, sizeof (srcid_map_t));
203 srcid_map_t *smp;
209 smp = *smpp;
210 if (smp == NULL) {
218 ASSERT(smp->sm_refcnt != 0);
219 id = smp->sm_srcid;
241 srcid_map_t *smp;
247 smp = *smpp;
248 if (smp == NULL || (smp->sm_zoneid != zoneid && zoneid != ALL_ZONES)) {
254 ASSERT(smp->sm_refcnt != 0);
259 if (IN6_IS_ADDR_V4MAPPED(&smp->sm_addr))
265 *addr = smp->sm_addr;