Home
last modified time | relevance | path

Searched refs:hspnamep (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_hotspares.c215 hspp->hspnamep = hspnp; in meta_get_hsp_common()
332 mdhspname_t *hspnp = p->hspnamep; in meta_check_inhsp()
394 if (fprintf(fp, "%s", hspp->hspnamep->hspname) == EOF) in hsp_print()
503 if (!HSP_ID_IS_FN(hspp->hspnamep->hsp)) { in hsp_report()
519 hspp->hspnamep->hspname) == EOF) { in hsp_report()
541 hspp->hspnamep->hspname, len, len, in hsp_report()
551 hspp->hspnamep->hspname, len, len, in hsp_report()
576 hspp->hspnamep->hspname, in hsp_report()
588 hspp->hspnamep->hspname, in hsp_report()
702 mdhspname_t *hspnp = p->hspnamep; in meta_hsp_print()
[all …]
H A Dmeta_stripe.c253 ((stripep->hspnamep = metahsphspname(&sp, ms->un_hsp_id, in meta_get_stripe_common()
613 if (stripep->hspnamep != NULL) in stripe_print()
614 if (fprintf(fp, " -h %s", stripep->hspnamep->hspname) == EOF) in stripe_print()
940 mdhspname_t *hspnamep, in meta_print_stripe_options() argument
946 char *hspname = ((hspnamep != NULL) ? hspnamep->hspname : in meta_print_stripe_options()
1028 if (stripep->hspnamep != NULL) { in stripe_report()
1029 if (meta_print_stripe_options(stripep->hspnamep, in stripe_report()
1583 if (stripep->hspnamep == NULL) in meta_stripe_get_params()
1586 paramsp->hsp_id = stripep->hspnamep->hsp; in meta_stripe_get_params()
1771 if ((stripep->hspnamep != NULL) && in meta_check_stripe()
[all …]
H A Dmeta_raid.c151 ((raidp->hspnamep = metahsphspname(&sp, mr->un_hsp_id, in meta_get_raid_common()
432 if (raidp->hspnamep != NULL) { in raid_print()
433 if (fprintf(fp, " -h %s", raidp->hspnamep->hspname) == EOF) in raid_print()
748 mdhspname_t *hspnamep, in meta_print_raid_options() argument
754 char *hspname = ((hspnamep != NULL) ? hspnamep->hspname : in meta_print_raid_options()
893 if (raidp->hspnamep != NULL) { in raid_report()
894 if (meta_print_raid_options(raidp->hspnamep, in raid_report()
1463 if (raidp->hspnamep == NULL) in meta_raid_get_params()
1466 paramsp->hsp_id = raidp->hspnamep->hsp; in meta_raid_get_params()
1960 if ((raidp->hspnamep != NULL) && in meta_check_raid()
[all …]
H A Dmeta_name.c3278 mdhspname_t *hspnamep in metainithspname() argument
3281 (void) memset(hspnamep, '\0', sizeof (*hspnamep)); in metainithspname()
3282 hspnamep->hsp = MD_HSP_NONE; in metainithspname()
3290 mdhspname_t *hspnamep in metafreehspname() argument
3293 if (hspnamep->hspname != NULL) in metafreehspname()
3294 Free(hspnamep->hspname); in metafreehspname()
3295 if (hspnamep->unitp != NULL) in metafreehspname()
3296 meta_invalidate_hsp(hspnamep); in metafreehspname()
3297 metainithspname(hspnamep); in metafreehspname()
3310 metafreehspname(p->hspnamep); in metaflushhspnames()
[all …]
H A Dmeta_getdevs.c321 if ((hsp = meta_get_hsp(sp, hspp->hspnamep, ep)) == NULL) in meta_getalldevs()
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetahs.c154 mdhspname_t *hspnp = p->hspnamep; in add_hotspares()
228 mdhspname_t *hspnp = p->hspnamep; in delete_hotspares()
363 mdhspname_t *hspnp = p->hspnamep; in replace_hotspares()
420 mdhspname_t *hspnp = p->hspnamep; in print_hsp_devid()
486 mdhspname_t *hspnp = p->hspnamep; in status_hotspares()
H A Dmetastat.c112 mdhspname_t *hspnamep; in print_name() local
115 if ((hspnamep = metahspname(spp, uname, ep)) == NULL) in print_name()
124 return (meta_hsp_print(*spp, hspnamep, lognlpp, fname, fp, in print_name()
506 mdhspname_t *hspnamep; in main() local
510 if ((hspnamep = metahspname(&sp, cname, in main()
514 if ((hsp = meta_get_hsp(sp, hspnamep, in main()
1123 mdhspname_t *hspnp = p->hspnamep; in probe_hotspare_devs()
1280 print_concise_entry(0, nlp->hspnamep->hspname, 0, 'h'); in print_concise_diskset()
1282 hsp = meta_get_hsp_common(sp, nlp->hspnamep, 1, &error); in print_concise_diskset()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c1306 if (add_hsp(nlp->hspnamep->hspname, deventry) == NULL) { in cache_hsp()
1429 if (raid->hspnamep) { in cache_raid()
1430 if (add_hsp_user(raid->hspnamep->hspname, in cache_raid()
1471 if (stripe->hspnamep) { in cache_stripe()
1472 if (add_hsp_user(stripe->hspnamep->hspname, in cache_stripe()
1585 hsp = meta_get_hsp(sp, nlp->hspnamep, &error); in cache_all_devices_in_set()
1592 meta_invalidate_hsp(nlp->hspnamep); in cache_all_devices_in_set()
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmdiox.x940 mdhspname_t *hspnamep; member
1043 mdhspname_t *hspnamep; member
1296 mdhspname_t *hspnamep; member
1338 mdhspname_t *hspnamep; member
/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_svm_util.c1775 hsp = meta_get_hsp(sp, nlp->hspnamep, &error); in diskset_info()
1786 nlp->hspnamep->hspname, hs->hsnamep->bname)) { in diskset_info()
1794 nlp->hspnamep->hspname, "")) { in diskset_info()
/titanic_41/usr/src/cmd/lvm/md_monitord/
H A Dprobedev.c507 mdhspname_t *hspnp = p->hspnamep; in probe_hotspare_devs()
/titanic_41/usr/src/head/
H A Dmeta.h1393 extern int meta_print_raid_options(mdhspname_t *hspnamep,
1671 extern int meta_print_stripe_options(mdhspname_t *hspnamep,