Home
last modified time | relevance | path

Searched refs:dce (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_dce.c134 dce_t *dce, *nextdce; in dcb_reclaim() local
142 for (dce = dcb->dcb_dce; dce != NULL; dce = nextdce) { in dcb_reclaim()
143 nextdce = dce->dce_next; in dcb_reclaim()
145 mutex_enter(&dce->dce_lock); in dcb_reclaim()
146 if ((dce->dce_flags & DCEF_PMTU) && in dcb_reclaim()
147 TICK_TO_SEC(ddi_get_lbolt64()) - dce->dce_last_change_time > in dcb_reclaim()
149 dce->dce_flags &= ~DCEF_PMTU; in dcb_reclaim()
150 mutex_exit(&dce->dce_lock); in dcb_reclaim()
151 dce_increment_generation(dce); in dcb_reclaim()
153 mutex_exit(&dce->dce_lock); in dcb_reclaim()
[all …]
H A Dip_output.c140 dce_t *dce; in conn_ip_output() local
283 dce = ixa->ixa_dce; in conn_ip_output()
289 if (dce->dce_flags & DCEF_PMTU) { in conn_ip_output()
292 if ((TICK_TO_SEC(now) - dce->dce_last_change_time > in conn_ip_output()
300 mutex_enter(&dce->dce_lock); in conn_ip_output()
301 dce->dce_flags &= ~(DCEF_PMTU|DCEF_TOO_SMALL_PMTU); in conn_ip_output()
302 dce->dce_last_change_time = TICK_TO_SEC(now); in conn_ip_output()
303 mutex_exit(&dce->dce_lock); in conn_ip_output()
304 dce_increment_generation(dce); in conn_ip_output()
308 if (dce->dce_generation != ixa->ixa_dce_generation) { in conn_ip_output()
[all …]
H A Dip6_output.c113 dce_t *dce = NULL; in ip_output_simple_v6() local
231 dce = dce_lookup_v6(&dst, ifindex, ipst, NULL); in ip_output_simple_v6()
232 ASSERT(dce != NULL); in ip_output_simple_v6()
236 } else if (dce->dce_flags & DCEF_PMTU) { in ip_output_simple_v6()
242 if (TICK_TO_SEC(now) - dce->dce_last_change_time > in ip_output_simple_v6()
247 mutex_enter(&dce->dce_lock); in ip_output_simple_v6()
248 dce->dce_flags &= ~(DCEF_PMTU|DCEF_TOO_SMALL_PMTU); in ip_output_simple_v6()
249 dce->dce_last_change_time = TICK_TO_SEC(now); in ip_output_simple_v6()
250 mutex_exit(&dce->dce_lock); in ip_output_simple_v6()
251 dce_increment_generation(dce); in ip_output_simple_v6()
[all …]
H A Dip_attr.c1147 dce_t *dce; in ixa_cleanup_stale() local
1151 dce = ixa->ixa_dce; in ixa_cleanup_stale()
1171 if (dce != NULL && DCE_IS_CONDEMNED(dce)) { in ixa_cleanup_stale()
1172 dce_refrele_notr(dce); in ixa_cleanup_stale()
1173 dce = dce_get_default(ixa->ixa_ipst); in ixa_cleanup_stale()
1174 ASSERT(dce != NULL); in ixa_cleanup_stale()
1176 dce_refhold_notr(dce); in ixa_cleanup_stale()
1177 dce_refrele(dce); in ixa_cleanup_stale()
1179 ixa->ixa_dce = dce; in ixa_cleanup_stale()
H A Dip6.c674 dce_t *dce; in icmp_inbound_too_big_v6() local
691 dce = dce_lookup_and_add_v6(&final_dst, in icmp_inbound_too_big_v6()
694 dce = dce_lookup_and_add_v6(&final_dst, 0, ipst); in icmp_inbound_too_big_v6()
696 if (dce == NULL) { in icmp_inbound_too_big_v6()
709 mutex_enter(&dce->dce_lock); in icmp_inbound_too_big_v6()
710 if (dce->dce_flags & DCEF_PMTU) in icmp_inbound_too_big_v6()
711 old_max_frag = dce->dce_pmtu; in icmp_inbound_too_big_v6()
726 dce->dce_flags |= DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v6()
728 dce->dce_flags &= ~DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v6()
731 dce->dce_pmtu = MIN(old_max_frag, mtu); in icmp_inbound_too_big_v6()
[all …]
H A Dip.c1874 dce_t *dce; in icmp_inbound_too_big_v4() local
1898 dce = dce_lookup_and_add_v4(dst, ipst); in icmp_inbound_too_big_v4()
1899 if (dce == NULL) { in icmp_inbound_too_big_v4()
1911 mutex_enter(&dce->dce_lock); in icmp_inbound_too_big_v4()
1912 if (dce->dce_flags & DCEF_PMTU) in icmp_inbound_too_big_v4()
1913 old_mtu = dce->dce_pmtu; in icmp_inbound_too_big_v4()
1927 DTRACE_PROBE2(ip4__pmtu__guess, dce_t *, dce, in icmp_inbound_too_big_v4()
1961 dce->dce_flags |= DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v4()
1963 dce->dce_flags &= ~DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v4()
1965 dce->dce_pmtu = MIN(old_mtu, mtu); in icmp_inbound_too_big_v4()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c807 dce_t dce; in dce_walk_step() local
809 if (mdb_vread(&dce, sizeof (dce), wsp->walk_addr) == -1) { in dce_walk_step()
815 if ((wsp->walk_data != NULL) && (wsp->walk_data != dce.dce_ipst)) in dce_walk_step()
818 return (wsp->walk_callback(wsp->walk_addr, &dce, wsp->walk_cbdata)); in dce_walk_step()
1526 dce(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in dce() function
1528 dce_t dce; in dce() local
1563 (void) mdb_vread(&dce, sizeof (dce_t), addr); in dce()
1564 (void) dce_format(addr, &dce, &ipversion); in dce()
1916 "display Destination Cache Entry structures", dce },
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3732 dest_cache_entry_t *dce; in dce_report() local
3763 for (dce = (dest_cache_entry_t *)v4dce->valp; in dce_report()
3764 (char *)dce < (char *)v4dce->valp + v4dce->length; in dce_report()
3766 dce = (dest_cache_entry_t *)((char *)dce + in dce_report()
3779 pr_addr(dce->DestIpv4Address, abuf, sizeof (abuf)), in dce_report()
3780 dce->DestPmtu, dce->DestAge, in dce_report()
3781 dceflags2str(dce->DestFlags, flbuf)); in dce_report()
3791 for (dce = (dest_cache_entry_t *)v6dce->valp; in dce_report()
3792 (char *)dce < (char *)v6dce->valp + v6dce->length; in dce_report()
3794 dce = (dest_cache_entry_t *)((char *)dce + in dce_report()
[all …]
/titanic_41/usr/src/uts/common/sys/scsi/targets/
H A Dstdef.h399 dce: 1; /* Data Compression Enable */
417 uchar_t dce: 1, /* Data Compression Enable */
/titanic_41/usr/src/uts/common/inet/
H A Dip.h2478 #define DCE_IS_CONDEMNED(dce) \ argument
2479 ((dce)->dce_generation == DCE_GENERATION_CONDEMNED)
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dst.c8106 if (un->un_mspl->page.comp.dce) { in st_set_datacomp_page()
8127 un->un_mspl->page.comp.dce = 1; in st_set_datacomp_page()
8129 un->un_mspl->page.comp.dce = 0; in st_set_datacomp_page()
/titanic_41/usr/src/data/hwdata/
H A Dpci.ids10280 0dce GF106M [GeForce GT 555M]