Searched refs:compnp (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_replace.c78 mdname_t *compnp,
97 return (meta_raid_enable(sp, np, compnp, options, ep));
99 return (meta_mirror_enable(sp, np, compnp, options, ep));
75 meta_enable_byname( mdsetname_t *sp, mdname_t *np, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
H A Dmeta_sp.c126 static int meta_sp_setgeom(mdname_t *np, mdname_t *compnp, mp_unit_t *mp,
128 static int meta_sp_get_by_component(mdsetname_t *sp, mdname_t *compnp,
131 mdname_t *compnp, md_error_t *ep);
174 static int meta_sp_extlist_from_wm(mdsetname_t *sp, mdname_t *compnp,
188 static int meta_sp_read_wm(mdsetname_t *sp, mdname_t *compnp,
190 static diskaddr_t meta_sp_get_start(mdsetname_t *sp, mdname_t *compnp,
195 static mp_unit_t *meta_sp_createunit(mdname_t *np, mdname_t *compnp,
218 static int meta_sp_validate_unit(mdsetname_t *sp, mdname_t *compnp,
224 static int meta_sp_recover_from_wm(mdsetname_t *sp, mdname_t *compnp,
414 * compnp
421 meta_sp_setgeom( mdname_t *np, mdname_t *compnp, mp_unit_t *mp, md_error_t *ep ) argument
515 meta_sp_get_by_component( mdsetname_t *sp, mdname_t *compnp, mdnamelist_t **nlpp, int force, md_error_t *ep ) argument
626 meta_sp_get_default_alignment( mdsetname_t *sp, mdname_t *compnp, md_error_t *ep ) argument
1836 meta_sp_extlist_from_wm( mdsetname_t *sp, mdname_t *compnp, sp_ext_node_t **extlist, ext_cmpfunc_t compare, md_error_t *ep ) argument
2599 meta_sp_read_wm( mdsetname_t *sp, mdname_t *compnp, mp_watermark_t *wm, sp_ext_offset_t offset, md_error_t *ep ) argument
3491 meta_sp_createunit( mdname_t *np, mdname_t *compnp, sp_ext_node_t *extlist, int numexts, sp_ext_length_t len, sp_status_t status, md_error_t *ep ) argument
4060 mdname_t *compnp = msp->compnamep; local
4252 mdname_t *compnp = msp->compnamep; local
4778 mdname_t *compnp, *np; local
4872 mdname_t *compnp = NULL; local
5073 meta_recover_sp( mdsetname_t *sp, mdname_t *compnp, int argc, char *argv[], mdcmdopts_t options, md_error_t *ep ) argument
5373 meta_sp_validate_wm( mdsetname_t *sp, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
5468 meta_sp_validate_unit( mdsetname_t *sp, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
5743 meta_sp_validate_exts( mdname_t *compnp, sp_ext_node_t *wmext, sp_ext_node_t *unitext, md_error_t *ep ) argument
5906 meta_sp_recover_from_wm( mdsetname_t *sp, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
6370 meta_sp_recover_from_unit( mdsetname_t *sp, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
[all...]
H A Dmeta_stripe.c422 mdname_t *compnp = cp->compnamep; local
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; local
1282 meta_invalidate_name(compnp);
1649 mdname_t *compnp = cp->compnamep; local
1652 compnp, 0, -1, ep) != 0) {
1739 mdname_t *compnp = cp->compnamep; local
1744 if (meta_check_component(sp, compnp,
1809 mdname_t *compnp = cp->compnamep; local
1976 mdname_t *compnp = cp->compnamep; local
2257 mdname_t *compnp; local
2469 mdname_t *compnp = cp->compnamep; local
2599 mdname_t *compnp = cp->compnamep; local
[all...]
H A Dmeta_mirror.c2026 mdname_t *compnp,
2048 if (meta_getdev(sp, compnp, ep) != 0)
2050 fs_dev = compnp->dev;
2052 /* get the mirror unit (fill in compnp->dev with metadb version) */
2075 if (compnp->dev == NODEV64)
2076 return (mdsyserror(ep, ENODEV, compnp->cname));
2083 if (fs_dev != compnp->dev) {
2085 compnp->dev = fs_dev;
2086 compnp->start_blk = -1;
2087 compnp
2023 meta_mirror_enable( mdsetname_t *sp, mdname_t *mirnp, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
[all...]
H A Dmeta_mn_handlers.c1841 mdname_t *compnp; local
1858 compnp = metaname(&sp, d->addkeyname_name, UNKNOWN, &mde);
1859 if (compnp != NULL) {
1860 ret = add_key_name(sp, compnp, NULL, &mde);
1864 resp->mmr_exitval = compnp->key;
1882 mdname_t *compnp; local
1899 compnp = metadevname(&sp, d->delkeyname_dev, &mde);
1900 if (compnp != NULL) {
1907 compnp->key = d->delkeyname_key;
1908 ret = del_key_name(sp, compnp,
[all...]
H A Dmeta_raid.c2847 mdname_t *compnp = colp->colnamep; local
2852 compnp->dev, NULL, NULL, &key, ep)) == NULL) {
2856 if (compnp->dev != meta_getminor(mydev[i])) {
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetareplace.c248 mdname_t *compnp; local
253 if ((compnp = metaname(&sp, argv[0], UNKNOWN, ep)) == NULL) {
257 if (meta_enable_byname(sp, namep, compnp, options, ep)
H A Dmetattach.c170 mdname_t *compnp = p->namep; local
173 if (meta_sp_issp(*spp, compnp, ep) != 0) {
175 if (metachkcomp(compnp, ep) != 0)
264 mdname_t *compnp = p->namep; local
267 if (meta_sp_issp(*spp, compnp, ep) != 0) {
269 if (metachkcomp(compnp, ep) != 0)
/illumos-gate/usr/src/head/
H A Dmeta.h1153 mdname_t *compnp, mdcmdopts_t options,
1409 mdname_t *compnp, mdcmdopts_t options,
1443 mdname_t *compnp, mdcmdopts_t options,

Completed in 107 milliseconds