Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmd_stripe.h72 int un_hsp_id; /* hot spare pool db record id */ member
87 int un_hsp_id; /* hot spare pool db record id */ member
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
382 hsp_t un_hsp_id; member
/titanic_41/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, in raid_hs_release()
198 if (md_hot_spare_ifc(HS_GET, un->un_hsp_id, size, in check_comp_4_hs()
346 (un->un_hsp_id != -1) && in check_4_hs()
H A Draid_ioctl.c998 if (un->un_hsp_id != -1) { in raid_set()
1000 err = md_hot_spare_ifc(HSP_INCREF, un->un_hsp_id, 0, 0, in raid_set()
2288 if (un->un_hsp_id != -1) { in raid_change()
2290 err = md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0, in raid_change()
2308 un->un_hsp_id = mrp->params.hsp_id; in raid_change()
2315 if ((un->un_hsp_id != -1) && (un->un_state == RUS_ERRED)) in raid_change()
H A Draid.c1120 if (un->un_hsp_id != -1) in reset_raid()
1121 (void) md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0, in reset_raid()
4306 hsp_id = &(un32->un_hsp_id); in raid_imp_set()
4327 hsp_id = &(un64->un_hsp_id); in raid_imp_set()
/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c432 (void) md_hot_spare_ifc(HS_FREE, un->un_hsp_id, in reset_stripe()
464 if (un->un_hsp_id != -1) { in reset_stripe()
465 (void) md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0, in reset_stripe()
467 un->un_hsp_id = -1; in reset_stripe()
1371 (void) md_hot_spare_ifc(cmd, un->un_hsp_id, 0, 0, &hs_id, in stripe_replace_dev()
1550 if (un->un_hsp_id == -1) in stripe_hotspare_dev()
1572 err = md_hot_spare_ifc(HS_GET, un->un_hsp_id, nd.nd_nblks, in stripe_hotspare_dev()
1589 (void) md_hot_spare_ifc(HS_BAD, un->un_hsp_id, 0, 0, in stripe_hotspare_dev()
1650 hsp_id = &(un32->un_hsp_id); in stripe_imp_set()
1680 hsp_id = &(un64->un_hsp_id); in stripe_imp_set()
H A Dstripe_ioctl.c248 if (un->un_hsp_id != -1) in stripe_set()
249 err = md_hot_spare_ifc(HSP_INCREF, un->un_hsp_id, 0, 0, in stripe_set()
259 return (mdhsperror(mdep, MDE_INVAL_HSP, un->un_hsp_id)); in stripe_set()
867 if (un->un_hsp_id != -1) { in stripe_change()
869 err = md_hot_spare_ifc(HSP_DECREF, un->un_hsp_id, 0, 0, in stripe_change()
887 un->un_hsp_id = pp->hsp_id; in stripe_change()
/titanic_41/usr/src/common/lvm/
H A Dmd_convert.c221 small_un->un_hsp_id = big_un->un_hsp_id; in stripe_convert()
254 big_un->un_hsp_id = small_un->un_hsp_id; in stripe_convert()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_stripe.c252 if ((ms->un_hsp_id != MD_HSP_NONE) && in meta_get_stripe_common()
253 ((stripep->hspnamep = metahsphspname(&sp, ms->un_hsp_id, in meta_get_stripe_common()
2069 ms->un_hsp_id = stripep->hspnamep->hsp; in meta_create_stripe()
2071 ms->un_hsp_id = MD_HSP_NONE; in meta_create_stripe()
H A Dmeta_raid.c150 if ((mr->un_hsp_id != MD_HSP_NONE) && in meta_get_raid_common()
151 ((raidp->hspnamep = metahsphspname(&sp, mr->un_hsp_id, in meta_get_raid_common()
2188 mr->un_hsp_id = raidp->hspnamep->hsp; in meta_create_raid()
2190 mr->un_hsp_id = MD_HSP_NONE; in meta_create_raid()