Searched refs:num_ldcs (Results 1 – 5 of 5) sorted by relevance
1185 if (portp->num_ldcs != 0) { in vgen_port_detach()1186 kmem_free(portp->ldc_ids, portp->num_ldcs * sizeof (uint64_t)); in vgen_port_detach()1187 portp->num_ldcs = 0; in vgen_port_detach()2117 int num_ldcs; in vgen_port_read_props() local2147 num_ldcs = md_scan_dag(mdp, mdex, in vgen_port_read_props()2151 if (num_ldcs <= 0) { in vgen_port_read_props()2157 if (num_ldcs > 1) { in vgen_port_read_props()2159 port_num, num_ldcs); in vgen_port_read_props()2162 ldc_ids = kmem_zalloc(num_ldcs * sizeof (uint64_t), KM_NOSLEEP); in vgen_port_read_props()2168 for (i = 0; i < num_ldcs; i++) { in vgen_port_read_props()[all …]
332 int nids = port->num_ldcs; in vsw_port_attach()543 if (port->num_ldcs != 0) { in vsw_port_delete()544 kmem_free(port->ldc_ids, port->num_ldcs * sizeof (uint64_t)); in vsw_port_delete()545 port->num_ldcs = 0; in vsw_port_delete()4853 port->p_instance, port->num_ldcs); in display_state()
2542 portp->num_ldcs = nchan; in vsw_port_read_props()
403 int num_ldcs; /* # of ldcs in the port */ member
390 int num_ldcs; /* # of channels in this port */ member