Lines Matching defs:minor_idx
735 uint_t minor_idx;
765 for (minor_idx = 0; minor_idx < vccp->minors_assigned; minor_idx++) {
766 if (strcmp(vccp->minor_tbl[minor_idx].domain_name,
773 if (minor_idx == vccp->minors_assigned) {
775 if (minor_idx == VCC_MAX_PORTS) {
778 minor_idx);
782 (void) strlcpy(vccp->minor_tbl[minor_idx].domain_name,
788 vport->minorp = &vccp->minor_tbl[minor_idx];
789 vccp->minor_tbl[minor_idx].portno = portno;
801 * (instance << VCC_INST_SHIFT) | minor_idx
805 minor = (instance << VCC_INST_SHIFT) | (minor_idx);