/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_dce.c | 139 dce_t *dce, *nextdce; in dcb_reclaim() local 147 for (dce = dcb->dcb_dce; dce != NULL; dce = nextdce) { in dcb_reclaim() 148 nextdce = dce->dce_next; in dcb_reclaim() 150 mutex_enter(&dce->dce_lock); in dcb_reclaim() 151 if ((dce->dce_flags & DCEF_PMTU) && in dcb_reclaim() 152 TICK_TO_SEC(ddi_get_lbolt64()) - dce->dce_last_change_time > in dcb_reclaim() 154 dce->dce_flags &= ~DCEF_PMTU; in dcb_reclaim() 155 mutex_exit(&dce->dce_lock); in dcb_reclaim() 156 dce_increment_generation(dce); in dcb_reclaim() 158 mutex_exit(&dce->dce_lock); in dcb_reclaim() [all …]
|
H A D | ip_output.c | 142 dce_t *dce; in conn_ip_output() local 285 dce = ixa->ixa_dce; in conn_ip_output() 291 if (dce->dce_flags & DCEF_PMTU) { in conn_ip_output() 294 if ((TICK_TO_SEC(now) - dce->dce_last_change_time > in conn_ip_output() 302 mutex_enter(&dce->dce_lock); in conn_ip_output() 303 dce->dce_flags &= ~(DCEF_PMTU|DCEF_TOO_SMALL_PMTU); in conn_ip_output() 304 dce->dce_last_change_time = TICK_TO_SEC(now); in conn_ip_output() 305 mutex_exit(&dce->dce_lock); in conn_ip_output() 306 dce_increment_generation(dce); in conn_ip_output() 310 if (dce->dce_generation != ixa->ixa_dce_generation) { in conn_ip_output() [all …]
|
H A D | ip6_output.c | 116 dce_t *dce = NULL; in ip_output_simple_v6() local 234 dce = dce_lookup_v6(&dst, ifindex, ipst, NULL); in ip_output_simple_v6() 235 ASSERT(dce != NULL); in ip_output_simple_v6() 239 } else if (dce->dce_flags & DCEF_PMTU) { in ip_output_simple_v6() 245 if (TICK_TO_SEC(now) - dce->dce_last_change_time > in ip_output_simple_v6() 250 mutex_enter(&dce->dce_lock); in ip_output_simple_v6() 251 dce->dce_flags &= ~DCEF_PMTU; in ip_output_simple_v6() 252 dce->dce_last_change_time = TICK_TO_SEC(now); in ip_output_simple_v6() 253 mutex_exit(&dce->dce_lock); in ip_output_simple_v6() 254 dce_increment_generation(dce); in ip_output_simple_v6() [all …]
|
H A D | ip_attr.c | 1158 dce_t *dce; in ixa_cleanup_stale() local 1162 dce = ixa->ixa_dce; in ixa_cleanup_stale() 1182 if (dce != NULL && DCE_IS_CONDEMNED(dce)) { in ixa_cleanup_stale() 1183 dce_refrele_notr(dce); in ixa_cleanup_stale() 1184 dce = dce_get_default(ixa->ixa_ipst); in ixa_cleanup_stale() 1185 ASSERT(dce != NULL); in ixa_cleanup_stale() 1187 dce_refhold_notr(dce); in ixa_cleanup_stale() 1188 dce_refrele(dce); in ixa_cleanup_stale() 1190 ixa->ixa_dce = dce; in ixa_cleanup_stale()
|
H A D | ip6.c | 676 dce_t *dce; in icmp_inbound_too_big_v6() local 705 dce = dce_lookup_and_add_v6(&final_dst, in icmp_inbound_too_big_v6() 708 dce = dce_lookup_and_add_v6(&final_dst, 0, ipst); in icmp_inbound_too_big_v6() 710 if (dce == NULL) { in icmp_inbound_too_big_v6() 721 mutex_enter(&dce->dce_lock); in icmp_inbound_too_big_v6() 722 if (dce->dce_flags & DCEF_PMTU) in icmp_inbound_too_big_v6() 723 old_max_frag = dce->dce_pmtu; in icmp_inbound_too_big_v6() 731 dce->dce_pmtu = MIN(old_max_frag, mtu); in icmp_inbound_too_big_v6() 732 icmp6->icmp6_mtu = htonl(dce->dce_pmtu); in icmp_inbound_too_big_v6() 735 dce->dce_flags |= DCEF_PMTU; in icmp_inbound_too_big_v6() [all …]
|
H A D | ip.c | 1872 dce_t *dce; in icmp_inbound_too_big_v4() local 1896 dce = dce_lookup_and_add_v4(dst, ipst); in icmp_inbound_too_big_v4() 1897 if (dce == NULL) { in icmp_inbound_too_big_v4() 1909 mutex_enter(&dce->dce_lock); in icmp_inbound_too_big_v4() 1910 if (dce->dce_flags & DCEF_PMTU) in icmp_inbound_too_big_v4() 1911 old_mtu = dce->dce_pmtu; in icmp_inbound_too_big_v4() 1925 DTRACE_PROBE2(ip4__pmtu__guess, dce_t *, dce, in icmp_inbound_too_big_v4() 1959 dce->dce_flags |= DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v4() 1961 dce->dce_flags &= ~DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v4() 1963 dce->dce_pmtu = MIN(old_mtu, mtu); in icmp_inbound_too_big_v4() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 809 dce_t dce; in dce_walk_step() local 811 if (mdb_vread(&dce, sizeof (dce), wsp->walk_addr) == -1) { in dce_walk_step() 817 if ((wsp->walk_data != NULL) && (wsp->walk_data != dce.dce_ipst)) in dce_walk_step() 820 return (wsp->walk_callback(wsp->walk_addr, &dce, wsp->walk_cbdata)); in dce_walk_step() 1551 dce(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in dce() function 1553 dce_t dce; in dce() local 1588 (void) mdb_vread(&dce, sizeof (dce_t), addr); in dce() 1589 (void) dce_format(addr, &dce, &ipversion); in dce() 1941 "display Destination Cache Entry structures", dce },
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 4122 dest_cache_entry_t *dce; in dce_report() local 4151 for (dce = (dest_cache_entry_t *)v4dce->valp; in dce_report() 4152 (char *)dce < (char *)v4dce->valp + v4dce->length; in dce_report() 4153 dce = (dest_cache_entry_t *)((char *)dce + in dce_report() 4166 pr_addr(dce->DestIpv4Address, abuf, sizeof (abuf)), in dce_report() 4167 dce->DestPmtu, dce->DestAge, in dce_report() 4168 dceflags2str(dce->DestFlags, flbuf)); in dce_report() 4178 for (dce = (dest_cache_entry_t *)v6dce->valp; in dce_report() 4179 (char *)dce < (char *)v6dce->valp + v6dce->length; in dce_report() 4180 dce = (dest_cache_entry_t *)((char *)dce + in dce_report() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | stdef.h | 399 dce: 1; /* Data Compression Enable */ 417 uchar_t dce: 1, /* Data Compression Enable */
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ip.h | 2484 #define DCE_IS_CONDEMNED(dce) \ argument 2485 ((dce)->dce_generation == DCE_GENERATION_CONDEMNED)
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 8106 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()
|
/illumos-gate/usr/src/data/hwdata/ |
H A D | pci.ids | 11884 0dce GF106M [GeForce GT 555M]
|