Home
last modified time | relevance | path

Searched refs:ghs (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/lvm/hotspares/
H A Dhotspares.c1024 get_hs_params_t *ghs in get_hs() argument
1028 set_t setno = ghs->md_driver.md_setno; in get_hs()
1030 mdclrerror(&ghs->mde); in get_hs()
1035 if (hs->hs_key == ghs->ghs_key) { in get_hs()
1042 return (mddeverror(&ghs->mde, MDE_INVAL_HS, in get_hs()
1043 ghs->ghs_devnum)); in get_hs()
1046 ghs->ghs_start_blk = hs->hs_start_blk; in get_hs()
1047 ghs->ghs_number_blks = hs->hs_number_blks; in get_hs()
1048 ghs->ghs_state = hs->hs_state; in get_hs()
1049 ghs->ghs_timestamp = hs->hs_timestamp; in get_hs()
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_hotspares.c222 get_hs_params_t ghs; in meta_get_hsp_common() local
230 (void) memset(&ghs, 0, sizeof (ghs)); in meta_get_hsp_common()
231 MD_SETDRIVERNAME(&ghs, MD_HOTSPARES, sp->setno); in meta_get_hsp_common()
232 ghs.ghs_key = hs_key; in meta_get_hsp_common()
233 if (metaioctl(MD_IOCGET_HS, &ghs, &ghs.mde, NULL) != 0) { in meta_get_hsp_common()
234 (void) mdstealerror(ep, &ghs.mde); in meta_get_hsp_common()
237 hsp->state = ghs.ghs_state; in meta_get_hsp_common()
238 hsp->size = ghs.ghs_number_blks; in meta_get_hsp_common()
239 hsp->timestamp = ghs.ghs_timestamp; in meta_get_hsp_common()
240 hsp->revision = ghs.ghs_revision; in meta_get_hsp_common()