Lines Matching refs:compnp
422 mdname_t *compnp = cp->compnamep;
427 if ((err = meta_check_samedrive(np, compnp, ep)) < 0)
433 if ((comp_sblk = metagetstart(sp, compnp, ep)) ==
437 slblk, nblks, compnp, comp_sblk, -1,
1280 mdname_t *compnp = cp->compnamep;
1282 meta_invalidate_name(compnp);
1649 mdname_t *compnp = cp->compnamep;
1652 compnp, 0, -1, ep) != 0) {
1739 mdname_t *compnp = cp->compnamep;
1744 if (meta_check_component(sp, compnp,
1747 if (((start_blk = metagetstart(sp, compnp,
1749 ((size = metagetsize(compnp, ep)) ==
1755 compnp->cname));
1760 compnp->cname));
1809 mdname_t *compnp = cp->compnamep;
1811 if ((geomp = metagetgeom(compnp, ep)) == NULL)
1976 mdname_t *compnp = cp->compnamep;
1984 if ((size = metagetsize(compnp, ep)) ==
1987 if ((start_blk = metagetstart(sp, compnp, ep)) ==
1994 if ((has_db = metahasmddb(sp, compnp, ep)) < 0)
1996 if ((label = metagetlabel(compnp, ep)) ==
2001 start_blk = compnp->start_blk = 0;
2006 (void) mdsyserror(ep, ENOSPC, compnp->cname);
2020 (void) mdsyserror(ep, ENOSPC, compnp->cname);
2037 if (add_key_name(sp, compnp, &keynlp, ep) != 0)
2042 mdc->un_key = compnp->key;
2043 mdc->un_dev = compnp->dev;
2257 mdname_t *compnp;
2265 if ((compnp = metaname(spp, argv[0], UNKNOWN,
2270 if (meta_sp_issp(*spp, compnp, ep) != 0) {
2272 if (metachkcomp(compnp, ep) != 0) {
2276 mdc->compnamep = compnp;
2469 mdname_t *compnp = cp->compnamep;
2472 if (! metaismeta(compnp))
2475 if (meta_reset_by_name(sp, compnp, options, ep) != 0)
2599 mdname_t *compnp = cp->compnamep;
2604 sideno, compnp->dev, NULL, NULL,
2609 if (compnp->dev != meta_getminor(mydev[cnt])) {