Searched refs:un_hsp_id (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmd_stripe.h72 int un_hsp_id; /* hot spare pool db record id */ member in struct:ms_unit32_od
87 int un_hsp_id; /* hot spare pool db record id */ member in struct:ms_unit
H A Dmd_convert.h282 small_un->un_hsp_id = big_un->un_hsp_id;
303 big_un->un_hsp_id = small_un->un_hsp_id;
H A Dmd_raid.h282 hsp_t un_hsp_id; member in struct:mr_unit
382 hsp_t un_hsp_id; member in struct:mr_unit32_od
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_hotspare.c101 (void) md_hot_spare_ifc(cmd, un->un_hsp_id, 0, 0, recids,
198 if (md_hot_spare_ifc(HS_GET, un->un_hsp_id, size,
346 (un->un_hsp_id != -1) &&
H A Draid_ioctl.c998 if (un->un_hsp_id != -1) {
1000 err = md_hot_spare_ifc(HSP_INCREF, un->un_hsp_id, 0, 0,
2288 if (un->un_hsp_id != -1) {
2290 err = md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0,
2308 un->un_hsp_id = mrp->params.hsp_id;
2315 if ((un->un_hsp_id != -1) && (un->un_state == RUS_ERRED))
H A Draid.c1120 if (un->un_hsp_id != -1)
1121 (void) md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0,
4306 hsp_id = &(un32->un_hsp_id);
4327 hsp_id = &(un64->un_hsp_id);
/illumos-gate/usr/src/common/lvm/
H A Dmd_convert.c221 small_un->un_hsp_id = big_un->un_hsp_id;
254 big_un->un_hsp_id = small_un->un_hsp_id;
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c432 (void) md_hot_spare_ifc(HS_FREE, un->un_hsp_id,
464 if (un->un_hsp_id != -1) {
465 (void) md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0,
467 un->un_hsp_id = -1;
1371 (void) md_hot_spare_ifc(cmd, un->un_hsp_id, 0, 0, &hs_id,
1550 if (un->un_hsp_id == -1)
1572 err = md_hot_spare_ifc(HS_GET, un->un_hsp_id, nd.nd_nblks,
1589 (void) md_hot_spare_ifc(HS_BAD, un->un_hsp_id, 0, 0,
1650 hsp_id = &(un32->un_hsp_id);
1680 hsp_id = &(un64->un_hsp_id);
[all...]
H A Dstripe_ioctl.c248 if (un->un_hsp_id != -1)
249 err = md_hot_spare_ifc(HSP_INCREF, un->un_hsp_id, 0, 0,
259 return (mdhsperror(mdep, MDE_INVAL_HSP, un->un_hsp_id));
867 if (un->un_hsp_id != -1) {
869 err = md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0,
887 un->un_hsp_id = pp->hsp_id;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_raid.c150 if ((mr->un_hsp_id != MD_HSP_NONE) &&
151 ((raidp->hspnamep = metahsphspname(&sp, mr->un_hsp_id,
2188 mr->un_hsp_id = raidp->hspnamep->hsp;
2190 mr->un_hsp_id = MD_HSP_NONE;
H A Dmeta_stripe.c252 if ((ms->un_hsp_id != MD_HSP_NONE) &&
253 ((stripep->hspnamep = metahsphspname(&sp, ms->un_hsp_id,
2069 ms->un_hsp_id = stripep->hspnamep->hsp;
2071 ms->un_hsp_id = MD_HSP_NONE;

Completed in 87 milliseconds