Lines Matching defs:spa
192 spa_t *spa;
195 error = spa_open(ca->zhca_spaname, &spa, FTAG);
202 if (spa_load_guid(spa) != ca->zhca_spa_load_guid) {
206 spa_close(spa, FTAG);
210 (void) dsl_dataset_user_release_tmp(spa_get_dsl(spa), ca->zhca_holds);
213 spa_close(spa, FTAG);
217 dsl_onexit_hold_cleanup(spa_t *spa, nvlist_t *holds, minor_t minor)
226 ASSERT(spa != NULL);
229 (void) strlcpy(ca->zhca_spaname, spa_name(spa),
231 ca->zhca_spa_load_guid = spa_load_guid(spa);