Home
last modified time | relevance | path

Searched refs:minor_idx (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvldc.c584 int minor_idx; in i_vldc_add_port() local
629 for (minor_idx = 0; minor_idx < vldcp->minors_assigned; in i_vldc_add_port()
630 minor_idx++) { in i_vldc_add_port()
631 if (strcmp(vldcp->minor_tbl[minor_idx].sname, sname) == 0) { in i_vldc_add_port()
638 if (minor_idx == vldcp->minors_assigned) { in i_vldc_add_port()
642 "nodes (%d)", minor_idx); in i_vldc_add_port()
646 (void) strlcpy(vldcp->minor_tbl[minor_idx].sname, in i_vldc_add_port()
653 if (vldcp->minor_tbl[minor_idx].portno != VLDC_INVALID_PORTNO) { in i_vldc_add_port()
656 portno, vldcp->minor_tbl[minor_idx].portno); in i_vldc_add_port()
663 vport->minorp = &vldcp->minor_tbl[minor_idx]; in i_vldc_add_port()
[all …]
H A Dvcc.c738 uint_t minor_idx; in i_vcc_add_port() local
768 for (minor_idx = 0; minor_idx < vccp->minors_assigned; minor_idx++) { in i_vcc_add_port()
769 if (strcmp(vccp->minor_tbl[minor_idx].domain_name, in i_vcc_add_port()
776 if (minor_idx == vccp->minors_assigned) { in i_vcc_add_port()
778 if (minor_idx == VCC_MAX_PORTS) { in i_vcc_add_port()
781 minor_idx); in i_vcc_add_port()
785 (void) strlcpy(vccp->minor_tbl[minor_idx].domain_name, in i_vcc_add_port()
791 vport->minorp = &vccp->minor_tbl[minor_idx]; in i_vcc_add_port()
792 vccp->minor_tbl[minor_idx].portno = portno; in i_vcc_add_port()
808 minor = (instance << VCC_INST_SHIFT) | (minor_idx); in i_vcc_add_port()
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c392 int major_idx, minor_idx; in datadm_parse_version() local
420 minor_idx = ++i; in datadm_parse_version()
431 version->dv_minor = atoi(str + minor_idx); in datadm_parse_version()