Lines Matching defs:hsp
168 * fnamep - metadevice or hsp with path and set name info stripped
389 * Verify that the name is a valid hsp/metadevice name
489 * check to verify that name is an existing hsp
498 hsp_t hsp;
506 hsp = meta_gethspnmentbyname(cur_set, MD_SIDEWILD, uname, &status);
508 if (hsp == MD_HSP_NONE) {
1301 /* if it is not a meta/hsp and *spp is not set then set it to local */
1305 /* if it is not a meta/hsp name then just return uname */
2317 /* Must be simple metaname/hsp pool name */
3282 hspnamep->hsp = MD_HSP_NONE;
3330 /* if it is not a meta/hsp name then flag an error */
3346 hsp_t hsp,
3365 /* if the hsp value has not been set then set it now */
3366 if (hspnp->hsp == MD_HSP_NONE)
3367 hspnp->hsp = hsp;
3372 /* if the hsp number isn't specified then attempt to get it */
3373 if (hsp == MD_HSP_NONE && (hsp = meta_gethspnmentbyname((*spp)->setno,
3396 hspnp->hsp = hsp;
3421 hsp_t hsp,
3425 set_t setno = HSP_SET(hsp);
3440 MD_SIDEWILD, hsp, ep)) == NULL)
3444 hspnp = metahspname_hsp(spp, uname, hsp, ep);
3453 get_hspname(mdsetname_t *sp, hsp_t hsp)
3463 if ((hspnp = metahsphspname(spp, hsp, &status)) == NULL) {
3663 * completely flush metadev/hsp caches
3717 md_hsp_t *hsp;
3720 if ((hsp = meta_get_hsp(sp, hspp->hspnamep, ep)) == NULL) {
3724 for (i = 0; (i < hsp->hotspares.hotspares_len); i++) {
3725 md_hs_t *hs = &hsp->hotspares.hotspares_val[i];