Lines Matching refs:minor_idx
584 int minor_idx;
629 for (minor_idx = 0; minor_idx < vldcp->minors_assigned;
630 minor_idx++) {
631 if (strcmp(vldcp->minor_tbl[minor_idx].sname, sname) == 0) {
638 if (minor_idx == vldcp->minors_assigned) {
642 "nodes (%d)", minor_idx);
646 (void) strlcpy(vldcp->minor_tbl[minor_idx].sname,
653 if (vldcp->minor_tbl[minor_idx].portno != VLDC_INVALID_PORTNO) {
656 portno, vldcp->minor_tbl[minor_idx].portno);
663 vport->minorp = &vldcp->minor_tbl[minor_idx];
664 vldcp->minor_tbl[minor_idx].portno = portno;
665 vldcp->minor_tbl[minor_idx].in_use = 0;
672 * (vldc_inst << VLDC_INST_SHIFT) | minor_idx
674 minor = (vldc_inst << VLDC_INST_SHIFT) | (minor_idx);
682 vldcp->minor_tbl[minor_idx].portno = VLDC_INVALID_PORTNO;