Searched defs:oldnp (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_replace.c42 mdname_t *oldnp,
62 return (meta_raid_replace(sp, np, oldnp, newnp, options, ep));
64 return (meta_mirror_replace(sp, np, oldnp, newnp, options, ep));
39 meta_replace_byname( mdsetname_t *sp, mdname_t *np, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument
H A Dmeta_hotspares.c1338 mdname_t *oldnp,
1356 /* save new binding incase this is a rebind where oldnp==newnp */
1361 /* invalidate, then get the hotspare (fill in oldnp from metadb) */
1367 if ((old_dev = oldnp->dev) == NODEV64)
1368 return (mdsyserror(ep, ENODEV, oldnp->cname));
1371 * check for the case where oldnp and newnp indicate the same
1376 * oldnp (and maybe newnp if this is a rebind) is updated based
1379 if ((strcmp(oldnp->rname, newnp->rname) == 0) &&
1496 meta_invalidate_name(oldnp);
1504 hspnp->hspname, oldnp
1335 meta_hs_replace( mdsetname_t *sp, mdhspname_t *hspnp, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument
[all...]
H A Dmeta_trans.c51 meta_trans_replace(mdsetname_t *sp, mdname_t *transnp, mdname_t *oldnp, argument
70 if ((old_dev = oldnp->dev) == NODEV64)
71 return (mdsyserror(ep, ENODEV, oldnp->cname));
73 if (((strcmp(oldnp->rname, newnp->rname) == 0) &&
95 meta_invalidate_name(oldnp);
102 transnp->cname, oldnp->cname, newnp->cname);
H A Dmeta_mirror.c1807 mdname_t *oldnp,
1833 /* save new binding incase this is a rebind where oldnp==newnp */
1838 /* invalidate, then get the mirror (fill in oldnp from metadb) */
1860 if ((old_dev = oldnp->dev) == NODEV64)
1861 return (mdsyserror(ep, ENODEV, oldnp->cname));
1864 * check for the case where oldnp and newnp indicate the same
1869 * oldnp (and maybe newnp if this is a rebind) is updated based
1872 if ((strcmp(oldnp->rname, newnp->rname) == 0) &&
1994 meta_invalidate_name(oldnp);
2006 mirnp->cname, oldnp
1804 meta_mirror_replace( mdsetname_t *sp, mdname_t *mirnp, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument
[all...]
H A Dmeta_stripe.c54 mdname_t *oldnp,
76 if ((old_dev = oldnp->dev) == NODEV64)
77 return (mdsyserror(ep, ENODEV, oldnp->cname));
79 if (((strcmp(oldnp->rname, newnp->rname) == 0) &&
132 meta_invalidate_name(oldnp);
139 stripenp->cname, oldnp->cname, newnp->cname);
51 meta_stripe_replace( mdsetname_t *sp, mdname_t *stripenp, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument
H A Dmeta_raid.c1572 mdname_t *oldnp,
1596 /* save new binding incase this is a rebind where oldnp==newnp */
1601 /* invalidate, then get the raid (fill in oldnp from metadb) */
1616 if ((old_dev = oldnp->dev) == NODEV64)
1617 return (mdsyserror(ep, ENODEV, oldnp->cname));
1627 if ((strcmp(oldnp->rname, newnp->rname) == 0) &&
1698 meta_invalidate_name(oldnp);
1706 raidnp->cname, oldnp->cname, newnp->cname);
1569 meta_raid_replace( mdsetname_t *sp, mdname_t *raidnp, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument
/osnet-11/usr/src/lib/libcmd/common/
H A Dfind.c840 register Node_t* oldnp = 0; local
901 if (oldop == NOT || np->action != NOT && (oldop != PRINT || !oldnp))
973 oldnp->next = 0;
987 oldnp = np;
992 if (!oldnp || !nested)
997 oldnp->next = 0;
1317 oldnp = np;
1318 oldnp->next = ++np;
1328 if (state->lastnode = oldnp)
1329 oldnp
[all...]
/osnet-11/usr/src/lib/libsqlite/tool/
H A Dlemon.c3819 x1node *oldnp, *newnp; local
3820 oldnp = &(x1a->tbl[i]);
3821 h = strhash(oldnp->data) & (size-1);
3825 newnp->data = oldnp->data;
3982 x2node *oldnp, *newnp; local
3983 oldnp = &(x2a->tbl[i]);
3984 h = strhash(oldnp->key) & (size-1);
3988 newnp->key = oldnp->key;
3989 newnp->data = oldnp->data;
4188 x3node *oldnp, *newn local
4333 x4node *oldnp, *newnp; local
[all...]

Completed in 76 milliseconds