Home
last modified time | relevance | path

Searched refs:mcap (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/cmd/rcap/rcapd/
H A Drcapd_collection_zone.c49 uint64_t mcap; in update_zone() local
53 if (zone_getattr(zent->zid, ZONE_ATTR_PHYS_MCAP, &mcap, in update_zone()
54 sizeof (mcap)) != -1 && mcap != 0) in update_zone()
55 max_rss = ROUNDUP(mcap, 1024) / 1024; in update_zone()
/titanic_44/usr/src/uts/sun4v/io/
H A Dvsw_phys.c386 mcst_addr_t *mcap; in vsw_mac_multicast_add_all() local
395 mcap = vswp->mcap; in vsw_mac_multicast_add_all()
400 mcap = portp->mcap; in vsw_mac_multicast_add_all()
408 for (mcap = mcap; mcap != NULL; mcap = mcap->nextp) { in vsw_mac_multicast_add_all()
409 if (mcap->mac_added) in vsw_mac_multicast_add_all()
411 rv = mac_multicast_add(mch, (uchar_t *)&mcap->mca); in vsw_mac_multicast_add_all()
413 mcap->mac_added = B_TRUE; in vsw_mac_multicast_add_all()
417 ether_sprintf((void *)&mcap->mca), rv); in vsw_mac_multicast_add_all()
430 mcst_addr_t *mcap; in vsw_mac_multicast_remove_all() local
437 mcap = vswp->mcap; in vsw_mac_multicast_remove_all()
[all …]
H A Dvsw_switching.c1582 mcst_p->nextp = port->mcap; in vsw_add_rem_mcst()
1583 port->mcap = mcst_p; in vsw_add_rem_mcst()
1824 mcst_addr_t *mcap = NULL; in vsw_del_mcst_port() local
1831 while ((mcap = port->mcap) != NULL) { in vsw_del_mcst_port()
1833 port->mcap = mcap->nextp; in vsw_del_mcst_port()
1838 mcap->addr, port); in vsw_del_mcst_port()
1848 vsw_mac_multicast_remove(vswp, port, mcap, VSW_VNETPORT); in vsw_del_mcst_port()
1849 kmem_free(mcap, sizeof (*mcap)); in vsw_del_mcst_port()
1875 while (vswp->mcap != NULL) { in vsw_del_mcst_vsw()
1877 __func__, vswp->mcap->addr); in vsw_del_mcst_vsw()
[all …]
H A Dvsw_ldc.c4376 prev_p = curr_p = port->mcap; in vsw_del_addr()
4380 prev_p = curr_p = vswp->mcap; in vsw_del_addr()
4390 port->mcap = curr_p->nextp; in vsw_del_addr()
4392 vswp->mcap = curr_p->nextp; in vsw_del_addr()
H A Dvsw.c1295 mcst_p->nextp = vswp->mcap; in vsw_m_multicst()
1296 vswp->mcap = mcst_p; in vsw_m_multicst()
/titanic_44/usr/src/uts/sun4v/sys/
H A Dvsw.h180 mcst_addr_t *mcap; /* list of multicast addrs */ member
H A Dvsw_ldc.h419 mcst_addr_t *mcap; /* list of multicast addrs */ member
/titanic_44/usr/src/cmd/zoneadmd/
H A Dvplat.c4398 struct zone_mcaptab mcap; in setup_zone_rm() local
4418 if (zonecfg_getmcapent(handle, &mcap) == Z_OK) { in setup_zone_rm()
4422 num = (uint64_t)strtoull(mcap.zone_physmem_cap, NULL, 10); in setup_zone_rm()
/titanic_44/usr/src/cmd/zoneadm/
H A Dzoneadm.c5376 struct zone_mcaptab mcap; in apply_func() local
5470 if (zonecfg_getmcapent(handle, &mcap) == Z_OK) { in apply_func()
5474 num = (uint64_t)strtoll(mcap.zone_physmem_cap, NULL, 10); in apply_func()
/titanic_44/usr/src/uts/common/os/
H A Dzone.c2469 uint64_t mcap; in zone_set_phys_mcap() local
2472 if ((err = copyin(zone_mcap, &mcap, sizeof (uint64_t))) == 0) in zone_set_phys_mcap()
2473 zone->zone_phys_mcap = mcap; in zone_set_phys_mcap()