Lines Matching defs:nparts
1892 int nparts;
1900 nparts = 1;
1911 nparts = vtocp->nparts;
1923 ((nparts = getnslice(rname, dname, &partno)) > 0)) {
1932 /* nparts already setup */
1935 nparts = roundup(nparts, V_NUMPAR);
1951 nparts = V_NUMPAR;
1959 assert(nparts > 0);
1961 if (partno >= nparts)
1964 *npartsp = nparts;
2527 uint_t nparts, partno;
2582 if (getparts(dnp, rname, dname, uname_type, &nparts, &partno, ep) != 0)
2590 if (nparts < V_NUMPAR) {
2591 nparts = V_NUMPAR;
2595 dnp->parts.parts_len = nparts;
2598 for (slice = 0; (slice < nparts); ++slice) {
2714 uint_t nparts, partno;
2777 if (getparts(dnp, rname, dname, uname_type, &nparts, &partno, ep) != 0)
2787 if (nparts < V_NUMPAR) {
2788 nparts = V_NUMPAR;
2792 dnp->parts.parts_len = nparts;
2796 for (slice = 0; (slice < nparts); ++slice) {
2851 uint_t nparts, partno;
2900 if (getparts(dnp, rname, dname, uname_type, &nparts, &partno, ep) != 0)
2908 if (nparts < V_NUMPAR) {
2909 nparts = V_NUMPAR;
2913 dnp->parts.parts_len = nparts;
2916 for (slice = 0; (slice < nparts); ++slice) {