Lines Matching refs:mgp
1312 md_grow_params_t mgp;
1383 (void) memset(&mgp, 0, sizeof (mgp));
1384 mgp.mnum = MD_SID(new_mr);
1385 MD_SETDRIVERNAME(&mgp, MD_RAID, sp->setno);
1386 mgp.size = new_rusize;
1387 mgp.mdp = (uintptr_t)new_mr;
1390 mgp.options = MD_CRO_32BIT;
1393 mgp.options = MD_CRO_64BIT;
1396 if (metaioctl(MD_IOCGROW, &mgp, &mgp.mde, NULL) != 0) {
1397 (void) mdstealerror(ep, &mgp.mde);