Searched refs:mgd (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_getdevs.c | 122 md_getdevs_params_t mgd; in meta_getdevs() local 160 (void) memset(&mgd, '\0', sizeof (mgd)); in meta_getdevs() 161 MD_SETDRIVERNAME(&mgd, miscname, sp->setno); in meta_getdevs() 162 mgd.mnum = meta_getminor(namep->dev); in meta_getdevs() 163 mgd.cnt = 0; in meta_getdevs() 164 mgd.devs = NULL; in meta_getdevs() 165 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep->cname) != 0) { in meta_getdevs() 166 if (mgd.mde.info.errclass == MDEC_SYS) { in meta_getdevs() 167 ip = &mgd.mde.info.md_error_info_t_u.sys_error; in meta_getdevs() 173 (void) mdstealerror(ep, &mgd.mde); in meta_getdevs() [all …]
|
H A D | meta_stripe.c | 2537 md_getdevs_params_t mgd; in meta_stripe_check_component() local 2561 (void) memset(&mgd, '\0', sizeof (mgd)); in meta_stripe_check_component() 2562 MD_SETDRIVERNAME(&mgd, miscname, sp->setno); in meta_stripe_check_component() 2563 mgd.mnum = meta_getminor(np->dev); in meta_stripe_check_component() 2564 mgd.cnt = 0; in meta_stripe_check_component() 2565 mgd.devs = NULL; in meta_stripe_check_component() 2566 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) { in meta_stripe_check_component() 2567 (void) mdstealerror(ep, &mgd.mde); in meta_stripe_check_component() 2570 } else if (mgd.cnt <= 0) { in meta_stripe_check_component() 2571 assert(mgd.cnt >= 0); in meta_stripe_check_component() [all …]
|
H A D | meta_raid.c | 2789 md_getdevs_params_t mgd; in meta_raid_check_component() local 2812 (void) memset(&mgd, '\0', sizeof (mgd)); in meta_raid_check_component() 2813 MD_SETDRIVERNAME(&mgd, miscname, sp->setno); in meta_raid_check_component() 2814 mgd.mnum = meta_getminor(np->dev); in meta_raid_check_component() 2815 mgd.cnt = 0; in meta_raid_check_component() 2816 mgd.devs = NULL; in meta_raid_check_component() 2817 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) { in meta_raid_check_component() 2818 (void) mdstealerror(ep, &mgd.mde); in meta_raid_check_component() 2821 } else if (mgd.cnt <= 0) { in meta_raid_check_component() 2822 assert(mgd.cnt >= 0); in meta_raid_check_component() [all …]
|
H A D | meta_sp.c | 6720 md_getdevs_params_t mgd; in meta_sp_check_component() local 6749 (void) memset(&mgd, '\0', sizeof (mgd)); in meta_sp_check_component() 6750 MD_SETDRIVERNAME(&mgd, miscname, sp->setno); in meta_sp_check_component() 6751 mgd.cnt = 1; /* sp's only have one subdevice */ in meta_sp_check_component() 6752 mgd.mnum = meta_getminor(np->dev); in meta_sp_check_component() 6755 mgd.devs = (uintptr_t)mydev; in meta_sp_check_component() 6757 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) { in meta_sp_check_component() 6759 (void) mdstealerror(ep, &mgd.mde); in meta_sp_check_component() 6762 } else if (mgd.cnt <= 0) { in meta_sp_check_component() 6763 assert(mgd.cnt >= 0); in meta_sp_check_component()
|
/titanic_41/usr/src/cmd/units/ |
H A D | unittab | 474 mgd megagal/day
|