Lines Matching defs:spnlp

172 static int meta_sp_extlist_from_namelist(mdsetname_t *sp, mdnamelist_t *spnlp,
525 mdnamelist_t *spnlp = NULL; /* all sp names */
550 if (meta_get_sp_names(sp, &spnlp, 0, ep) < 0)
557 for (namep = spnlp; namep != NULL; namep = namep->next) {
770 mdnamelist_t *spnlp = NULL; /* soft partition name list */
785 count = meta_sp_get_by_component(sp, np, &spnlp, 1, ep);
791 spnlp->namep->cname, np->cname);
796 metafreenamelist(spnlp);
1783 mdnamelist_t *spnlp,
1798 for (namep = spnlp; namep != NULL; namep = namep->next) {
4254 mdnamelist_t *keynlp = NULL, *spnlp = NULL;
4317 count = meta_sp_get_by_component(sp, compnp, &spnlp, 1, ep);
4352 if (meta_sp_extlist_from_namelist(sp, spnlp, &extlist, ep) == -1) {
4357 metafreenamelist(spnlp);
4655 mdnamelist_t *spnlp = NULL, *nlp = NULL;
4674 if (meta_get_sp_names(sp, &spnlp, 0, ep) < 0)
4677 for (nlp = spnlp; (nlp != NULL); nlp = nlp->next) {
4709 metafreenamelist(spnlp);
4728 &spnlp, 1, ep)) <= 0)
4736 for (nlp = spnlp; nlp != NULL; nlp = nlp->next) {
4749 metafreenamelist(spnlp);
4779 mdnamelist_t *spnlp = NULL;
4789 count = meta_sp_get_by_component(sp, compnp, &spnlp, 1, ep);
4801 for (nlp = spnlp; nlp != NULL; nlp = nlp->next) {
4809 metafreenamelist(spnlp);
4815 metafreenamelist(spnlp);
4825 meta_getminor(spnlp->next->namep->dev);
4831 metafreenamelist(spnlp);
4835 metafreenamelist(spnlp);
4876 mdnamelist_t *spnlp = NULL;
4926 count = meta_sp_get_by_component(sp, compnp, &spnlp, 0, ep);
4960 if (meta_sp_extlist_from_namelist(sp, spnlp, &extlist, ep) == -1) {
4965 metafreenamelist(spnlp);
5476 mdnamelist_t *spnlp = NULL;
5491 count = meta_sp_get_by_component(sp, compnp, &spnlp, 0, ep);
5502 for (namep = spnlp; namep != NULL; namep = namep->next) {
5614 mdnamelist_t *spnlp = NULL;
5620 count = meta_sp_get_by_component(sp, np, &spnlp, 0, ep);
5628 if (meta_sp_extlist_from_namelist(sp, spnlp, &unitlist, ep) == -1) {
5629 metafreenamelist(spnlp);
5633 metafreenamelist(spnlp);
6377 mdnamelist_t *spnlp = NULL;
6392 count = meta_sp_get_by_component(sp, compnp, &spnlp, 0, ep);
6410 if ((msp = meta_get_sp(sp, spnlp->namep, ep)) == NULL) {
6411 metafreenamelist(spnlp);
6426 if (meta_sp_extlist_from_namelist(sp, spnlp, &extlist, ep) == -1) {
6427 metafreenamelist(spnlp);
6477 for (nlp = spnlp, i = 0;
6522 metafreenamelist(spnlp);