Home
last modified time | relevance | path

Searched refs:num_ldcs (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/sun4v/io/
H A Dvnet_gen.c1185 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() local
2147 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 …]
H A Dvsw_ldc.c332 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()
H A Dvsw.c2542 portp->num_ldcs = nchan; in vsw_port_read_props()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvsw_ldc.h403 int num_ldcs; /* # of ldcs in the port */ member
H A Dvnet_gen.h390 int num_ldcs; /* # of channels in this port */ member