Home
last modified time | relevance | path

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

/titanic_44/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.c735 uint_t minor_idx; in i_vcc_add_port() local
765 for (minor_idx = 0; minor_idx < vccp->minors_assigned; minor_idx++) { in i_vcc_add_port()
766 if (strcmp(vccp->minor_tbl[minor_idx].domain_name, in i_vcc_add_port()
773 if (minor_idx == vccp->minors_assigned) { in i_vcc_add_port()
775 if (minor_idx == VCC_MAX_PORTS) { in i_vcc_add_port()
778 minor_idx); in i_vcc_add_port()
782 (void) strlcpy(vccp->minor_tbl[minor_idx].domain_name, in i_vcc_add_port()
788 vport->minorp = &vccp->minor_tbl[minor_idx]; in i_vcc_add_port()
789 vccp->minor_tbl[minor_idx].portno = portno; in i_vcc_add_port()
805 minor = (instance << VCC_INST_SHIFT) | (minor_idx); in i_vcc_add_port()
/titanic_44/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()