pmtu 861 drivers/crypto/chelsio/chtls/chtls_cm.c unsigned int pmtu, pmtu 887 drivers/crypto/chelsio/chtls/chtls_cm.c if (tp->advmss > pmtu - iphdrsz) pmtu 888 drivers/crypto/chelsio/chtls/chtls_cm.c tp->advmss = pmtu - iphdrsz; pmtu 898 drivers/crypto/chelsio/chtls/chtls_cm.c inet_csk(sk)->icsk_pmtu_cookie = pmtu; pmtu 257 drivers/infiniband/hw/hfi1/opfn.c if (qp->pmtu == enum_to_mtu(OPA_MTU_4096) || pmtu 258 drivers/infiniband/hw/hfi1/opfn.c qp->pmtu == enum_to_mtu(OPA_MTU_8192)) { pmtu 333 drivers/infiniband/hw/hfi1/qp.c if (wqe->length > qp->pmtu) pmtu 696 drivers/infiniband/hw/hfi1/qp.c qp->pmtu, pmtu 851 drivers/infiniband/hw/hfi1/qp.c u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) pmtu 867 drivers/infiniband/hw/hfi1/qp.c mtu = verbs_mtu_enum_to_int(qp->ibqp.device, pmtu); pmtu 159 drivers/infiniband/hw/hfi1/qp.h u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu); pmtu 119 drivers/infiniband/hw/hfi1/rc.c u32 pmtu = qp->pmtu; pmtu 203 drivers/infiniband/hw/hfi1/rc.c if (len > pmtu) { pmtu 204 drivers/infiniband/hw/hfi1/rc.c len = pmtu; pmtu 277 drivers/infiniband/hw/hfi1/rc.c if (len > pmtu) { pmtu 278 drivers/infiniband/hw/hfi1/rc.c len = pmtu; pmtu 443 drivers/infiniband/hw/hfi1/rc.c u32 pmtu = qp->pmtu; pmtu 600 drivers/infiniband/hw/hfi1/rc.c if (len > pmtu) { pmtu 602 drivers/infiniband/hw/hfi1/rc.c len = pmtu; pmtu 642 drivers/infiniband/hw/hfi1/rc.c if (len > pmtu) { pmtu 644 drivers/infiniband/hw/hfi1/rc.c len = pmtu; pmtu 948 drivers/infiniband/hw/hfi1/rc.c qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); pmtu 957 drivers/infiniband/hw/hfi1/rc.c if (len > pmtu) { pmtu 958 drivers/infiniband/hw/hfi1/rc.c len = pmtu; pmtu 993 drivers/infiniband/hw/hfi1/rc.c qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); pmtu 1002 drivers/infiniband/hw/hfi1/rc.c if (len > pmtu) { pmtu 1003 drivers/infiniband/hw/hfi1/rc.c len = pmtu; pmtu 1033 drivers/infiniband/hw/hfi1/rc.c len = (delta_psn(qp->s_psn, wqe->psn)) * pmtu; pmtu 2360 drivers/infiniband/hw/hfi1/rc.c u32 pmtu = qp->pmtu; pmtu 2421 drivers/infiniband/hw/hfi1/rc.c wqe, psn, pmtu); pmtu 2431 drivers/infiniband/hw/hfi1/rc.c if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) pmtu 2433 drivers/infiniband/hw/hfi1/rc.c if (unlikely(pmtu >= qp->s_rdma_read_len)) pmtu 2453 drivers/infiniband/hw/hfi1/rc.c qp->s_rdma_read_len -= pmtu; pmtu 2457 drivers/infiniband/hw/hfi1/rc.c data, pmtu, false, false); pmtu 2477 drivers/infiniband/hw/hfi1/rc.c wqe, psn, pmtu); pmtu 2630 drivers/infiniband/hw/hfi1/rc.c offset = delta_psn(psn, e->psn) * qp->pmtu; pmtu 2819 drivers/infiniband/hw/hfi1/rc.c u32 pmtu = qp->pmtu; pmtu 2914 drivers/infiniband/hw/hfi1/rc.c if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) pmtu 2916 drivers/infiniband/hw/hfi1/rc.c qp->r_rcv_len += pmtu; pmtu 2919 drivers/infiniband/hw/hfi1/rc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); pmtu 36 drivers/infiniband/hw/hfi1/rc.h u32 psn, u32 pmtu) pmtu 40 drivers/infiniband/hw/hfi1/rc.h len = delta_psn(psn, wqe->psn) * pmtu; pmtu 1185 drivers/infiniband/hw/hfi1/tid_rdma.c if (flow->req->qp->pmtu == enum_to_mtu(OPA_MTU_4096)) pmtu 1301 drivers/infiniband/hw/hfi1/tid_rdma.c u32 pmtu_pg = flow->req->qp->pmtu >> PAGE_SHIFT; pmtu 1823 drivers/infiniband/hw/hfi1/tid_rdma.c qp->pmtu); pmtu 2353 drivers/infiniband/hw/hfi1/tid_rdma.c *len = min_t(u32, qp->pmtu, tidlen - flow->tid_offset); pmtu 2490 drivers/infiniband/hw/hfi1/tid_rdma.c u32 pmtu = qp->pmtu; pmtu 2492 drivers/infiniband/hw/hfi1/tid_rdma.c if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) pmtu 2494 drivers/infiniband/hw/hfi1/tid_rdma.c len = restart_sge(&ss, req->e.swqe, ipsn, pmtu); pmtu 2495 drivers/infiniband/hw/hfi1/tid_rdma.c if (unlikely(len < pmtu)) pmtu 2497 drivers/infiniband/hw/hfi1/tid_rdma.c rvt_copy_sge(qp, &ss, packet->payload, pmtu, false, pmtu 3090 drivers/infiniband/hw/hfi1/tid_rdma.c npkts * qp->pmtu); pmtu 3091 drivers/infiniband/hw/hfi1/tid_rdma.c flow->tid_offset += npkts * qp->pmtu; pmtu 3399 drivers/infiniband/hw/hfi1/tid_rdma.c return (MAX_TID_FLOW_PSN * qp->pmtu) >> TID_RDMA_SEGMENT_SHIFT; pmtu 4212 drivers/infiniband/hw/hfi1/tid_rdma.c *len = min_t(u32, qp->pmtu, tidlen - flow->tid_offset); pmtu 4305 drivers/infiniband/hw/hfi1/tid_rdma.c u32 pmtu = qp->pmtu; pmtu 4307 drivers/infiniband/hw/hfi1/tid_rdma.c if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) pmtu 4312 drivers/infiniband/hw/hfi1/tid_rdma.c pmtu; pmtu 4313 drivers/infiniband/hw/hfi1/tid_rdma.c if (unlikely(req->total_len - len < pmtu)) pmtu 4325 drivers/infiniband/hw/hfi1/tid_rdma.c rvt_copy_sge(qp, &ss, packet->payload, pmtu, false, pmtu 71 drivers/infiniband/hw/hfi1/uc.c u32 pmtu = qp->pmtu; pmtu 162 drivers/infiniband/hw/hfi1/uc.c if (len > pmtu) { pmtu 164 drivers/infiniband/hw/hfi1/uc.c len = pmtu; pmtu 191 drivers/infiniband/hw/hfi1/uc.c if (len > pmtu) { pmtu 193 drivers/infiniband/hw/hfi1/uc.c len = pmtu; pmtu 222 drivers/infiniband/hw/hfi1/uc.c if (len > pmtu) { pmtu 223 drivers/infiniband/hw/hfi1/uc.c len = pmtu; pmtu 247 drivers/infiniband/hw/hfi1/uc.c if (len > pmtu) { pmtu 248 drivers/infiniband/hw/hfi1/uc.c len = pmtu; pmtu 317 drivers/infiniband/hw/hfi1/uc.c u32 pmtu = qp->pmtu; pmtu 425 drivers/infiniband/hw/hfi1/uc.c if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) pmtu 427 drivers/infiniband/hw/hfi1/uc.c qp->r_rcv_len += pmtu; pmtu 430 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); pmtu 521 drivers/infiniband/hw/hfi1/uc.c if (unlikely(tlen != (hdrsize + pmtu + 4))) pmtu 523 drivers/infiniband/hw/hfi1/uc.c qp->r_rcv_len += pmtu; pmtu 526 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); pmtu 1234 drivers/infiniband/hw/hfi1/verbs.c priv->s_running_pkt_size <= min(piothreshold, qp->pmtu) && pmtu 1520 drivers/infiniband/hw/qib/qib.h u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu); pmtu 294 drivers/infiniband/hw/qib/qib_qp.c int mtu, pmtu, pidx = qp->port_num - 1; pmtu 303 drivers/infiniband/hw/qib/qib_qp.c pmtu = mtu_to_enum(dd->pport[pidx].ibmtu); pmtu 305 drivers/infiniband/hw/qib/qib_qp.c pmtu = attr->path_mtu; pmtu 306 drivers/infiniband/hw/qib/qib_qp.c return pmtu; pmtu 314 drivers/infiniband/hw/qib/qib_qp.c u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) pmtu 316 drivers/infiniband/hw/qib/qib_qp.c return ib_mtu_enum_to_int(pmtu); pmtu 395 drivers/infiniband/hw/qib/qib_qp.c if (wqe->length > qp->pmtu) pmtu 43 drivers/infiniband/hw/qib/qib_rc.c u32 psn, u32 pmtu) pmtu 47 drivers/infiniband/hw/qib/qib_rc.c len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; pmtu 63 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr, u32 pmtu) pmtu 125 drivers/infiniband/hw/qib/qib_rc.c if (len > pmtu) { pmtu 126 drivers/infiniband/hw/qib/qib_rc.c len = pmtu; pmtu 159 drivers/infiniband/hw/qib/qib_rc.c if (len > pmtu) pmtu 160 drivers/infiniband/hw/qib/qib_rc.c len = pmtu; pmtu 226 drivers/infiniband/hw/qib/qib_rc.c u32 pmtu = qp->pmtu; pmtu 237 drivers/infiniband/hw/qib/qib_rc.c qib_make_rc_ack(dev, qp, ohdr, pmtu)) pmtu 318 drivers/infiniband/hw/qib/qib_rc.c if (len > pmtu) { pmtu 320 drivers/infiniband/hw/qib/qib_rc.c len = pmtu; pmtu 353 drivers/infiniband/hw/qib/qib_rc.c if (len > pmtu) { pmtu 355 drivers/infiniband/hw/qib/qib_rc.c len = pmtu; pmtu 473 drivers/infiniband/hw/qib/qib_rc.c qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); pmtu 482 drivers/infiniband/hw/qib/qib_rc.c if (len > pmtu) { pmtu 483 drivers/infiniband/hw/qib/qib_rc.c len = pmtu; pmtu 512 drivers/infiniband/hw/qib/qib_rc.c qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); pmtu 521 drivers/infiniband/hw/qib/qib_rc.c if (len > pmtu) { pmtu 522 drivers/infiniband/hw/qib/qib_rc.c len = pmtu; pmtu 551 drivers/infiniband/hw/qib/qib_rc.c len = ((qp->s_psn - wqe->psn) & QIB_PSN_MASK) * pmtu; pmtu 1272 drivers/infiniband/hw/qib/qib_rc.c u32 psn, u32 hdrsize, u32 pmtu, pmtu 1364 drivers/infiniband/hw/qib/qib_rc.c wqe, psn, pmtu); pmtu 1374 drivers/infiniband/hw/qib/qib_rc.c if (unlikely(tlen != (hdrsize + pmtu + 4))) pmtu 1376 drivers/infiniband/hw/qib/qib_rc.c if (unlikely(pmtu >= qp->s_rdma_read_len)) pmtu 1396 drivers/infiniband/hw/qib/qib_rc.c qp->s_rdma_read_len -= pmtu; pmtu 1400 drivers/infiniband/hw/qib/qib_rc.c data, pmtu, false, false); pmtu 1423 drivers/infiniband/hw/qib/qib_rc.c wqe, psn, pmtu); pmtu 1596 drivers/infiniband/hw/qib/qib_rc.c qp->pmtu; pmtu 1721 drivers/infiniband/hw/qib/qib_rc.c u32 pmtu = qp->pmtu; pmtu 1752 drivers/infiniband/hw/qib/qib_rc.c hdrsize, pmtu, rcd); pmtu 1815 drivers/infiniband/hw/qib/qib_rc.c if (unlikely(tlen != (hdrsize + pmtu + 4))) pmtu 1817 drivers/infiniband/hw/qib/qib_rc.c qp->r_rcv_len += pmtu; pmtu 1820 drivers/infiniband/hw/qib/qib_rc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); pmtu 56 drivers/infiniband/hw/qib/qib_uc.c u32 pmtu = qp->pmtu; pmtu 107 drivers/infiniband/hw/qib/qib_uc.c if (len > pmtu) { pmtu 109 drivers/infiniband/hw/qib/qib_uc.c len = pmtu; pmtu 136 drivers/infiniband/hw/qib/qib_uc.c if (len > pmtu) { pmtu 138 drivers/infiniband/hw/qib/qib_uc.c len = pmtu; pmtu 167 drivers/infiniband/hw/qib/qib_uc.c if (len > pmtu) { pmtu 168 drivers/infiniband/hw/qib/qib_uc.c len = pmtu; pmtu 191 drivers/infiniband/hw/qib/qib_uc.c if (len > pmtu) { pmtu 192 drivers/infiniband/hw/qib/qib_uc.c len = pmtu; pmtu 246 drivers/infiniband/hw/qib/qib_uc.c u32 pmtu = qp->pmtu; pmtu 357 drivers/infiniband/hw/qib/qib_uc.c if (unlikely(tlen != (hdrsize + pmtu + 4))) pmtu 359 drivers/infiniband/hw/qib/qib_uc.c qp->r_rcv_len += pmtu; pmtu 362 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); pmtu 446 drivers/infiniband/hw/qib/qib_uc.c if (unlikely(tlen != (hdrsize + pmtu + 4))) pmtu 448 drivers/infiniband/hw/qib/qib_uc.c qp->r_rcv_len += pmtu; pmtu 451 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); pmtu 1455 drivers/infiniband/sw/rdmavt/qp.c int pmtu = 0; /* for gcc warning only */ pmtu 1543 drivers/infiniband/sw/rdmavt/qp.c pmtu = rdi->driver_f.get_pmtu_from_attr(rdi, qp, attr); pmtu 1544 drivers/infiniband/sw/rdmavt/qp.c if (pmtu < 0) pmtu 1646 drivers/infiniband/sw/rdmavt/qp.c qp->pmtu = rdi->driver_f.mtu_from_qp(rdi, qp, pmtu); pmtu 1647 drivers/infiniband/sw/rdmavt/qp.c qp->log_pmtu = ilog2(qp->pmtu); pmtu 1766 drivers/infiniband/sw/rdmavt/qp.c attr->path_mtu = rdi->driver_f.mtu_to_path_mtu(qp->pmtu); pmtu 349 drivers/net/ethernet/broadcom/cnic.c path_req.pmtu = csk->mtu; pmtu 2188 drivers/net/ethernet/broadcom/cnic.c conn_addr->pmtu = kwqe3->pmtu; pmtu 3490 drivers/net/ethernet/broadcom/cnic.c l4kwqe3->pmtu = csk->mtu; pmtu 3512 drivers/net/ethernet/broadcom/cnic.c l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct ipv6hdr) - pmtu 3516 drivers/net/ethernet/broadcom/cnic.c l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct iphdr) - pmtu 358 drivers/net/ethernet/broadcom/cnic_defs.h u16 pmtu; pmtu 362 drivers/net/ethernet/broadcom/cnic_defs.h u16 pmtu; pmtu 5054 drivers/net/ethernet/broadcom/cnic_defs.h u32 pmtu; pmtu 4008 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_REG_DEFINE(pmtu, MLXSW_REG_PMTU_ID, MLXSW_REG_PMTU_LEN); pmtu 4014 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmtu, local_port, 0x00, 16, 8); pmtu 4023 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmtu, max_mtu, 0x04, 16, 16); pmtu 4031 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmtu, admin_mtu, 0x08, 16, 16); pmtu 4040 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmtu, oper_mtu, 0x0C, 16, 16); pmtu 4045 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_REG_ZERO(pmtu, payload); pmtu 10519 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_REG(pmtu), pmtu 636 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); pmtu 645 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); pmtu 140 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); pmtu 149 drivers/net/ethernet/mellanox/mlxsw/switchib.c return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); pmtu 196 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); pmtu 205 drivers/net/ethernet/mellanox/mlxsw/switchx2.c return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); pmtu 1096 drivers/scsi/cxgbi/libcxgbi.c unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *csk, unsigned int pmtu) pmtu 1103 drivers/scsi/cxgbi/libcxgbi.c if (csk->advmss > pmtu - 40) pmtu 1104 drivers/scsi/cxgbi/libcxgbi.c csk->advmss = pmtu - 40; pmtu 460 drivers/scsi/qedi/qedi_iscsi.c static u16 qedi_calc_mss(u16 pmtu, u8 is_ipv6, u8 tcp_ts_en, u8 vlan_en) pmtu 470 drivers/scsi/qedi/qedi_iscsi.c mss = pmtu - hdrs; pmtu 545 drivers/scsi/qedi/qedi_iscsi.c conn_info->mss = qedi_calc_mss(qedi_ep->pmtu, pmtu 902 drivers/scsi/qedi/qedi_iscsi.c path_req.pmtu = qedi->ll2_mtu; pmtu 903 drivers/scsi/qedi/qedi_iscsi.c qedi_ep->pmtu = qedi->ll2_mtu; pmtu 1236 drivers/scsi/qedi/qedi_iscsi.c if (path_data->pmtu < DEF_PATH_MTU) { pmtu 1237 drivers/scsi/qedi/qedi_iscsi.c qedi_ep->pmtu = qedi->ll2_mtu; pmtu 1240 drivers/scsi/qedi/qedi_iscsi.c path_data->pmtu, qedi_ep->pmtu); pmtu 1243 drivers/scsi/qedi/qedi_iscsi.c if (path_data->pmtu != qedi->ll2_mtu) { pmtu 1244 drivers/scsi/qedi/qedi_iscsi.c if (path_data->pmtu > JUMBO_MTU) { pmtu 1246 drivers/scsi/qedi/qedi_iscsi.c QEDI_ERR(NULL, "Invalid MTU %u\n", path_data->pmtu); pmtu 1250 drivers/scsi/qedi/qedi_iscsi.c qedi_reset_host_mtu(qedi, path_data->pmtu); pmtu 1251 drivers/scsi/qedi/qedi_iscsi.c qedi_ep->pmtu = qedi->ll2_mtu; pmtu 71 drivers/scsi/qedi/qedi_iscsi.h u16 pmtu; pmtu 103 include/net/inet_connection_sock.h unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); pmtu 145 include/net/ip6_tunnel.h struct flowi6 *fl6, int encap_limit, __u32 *pmtu, __u8 proto); pmtu 147 include/net/sctp/sctp.h struct sctp_transport *t, __u32 pmtu); pmtu 598 include/net/sctp/sctp.h __u32 pmtu = sctp_dst_mtu(t->dst); pmtu 600 include/net/sctp/sctp.h if (t->pathmtu == pmtu) pmtu 603 include/net/sctp/sctp.h t->pathmtu = pmtu; pmtu 1005 include/net/sctp/structs.h bool sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu); pmtu 2136 include/net/sctp/structs.h void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu); pmtu 620 include/net/tcp.h unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu); pmtu 655 include/net/tcp.h int tcp_mtu_to_mss(struct sock *sk, int pmtu); pmtu 339 include/rdma/rdma_vt.h u32 pmtu); pmtu 346 include/rdma/rdmavt_qp.h u16 pmtu; /* decoded from path_mtu */ pmtu 678 include/rdma/rdmavt_qp.h return (len + qp->pmtu - 1) >> qp->log_pmtu; pmtu 346 include/scsi/iscsi_if.h uint16_t pmtu; pmtu 258 net/dccp/dccp.h unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu); pmtu 159 net/dccp/output.c unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) pmtu 164 net/dccp/output.c u32 cur_mps = ccmps ? min(pmtu, ccmps) : pmtu; pmtu 187 net/dccp/output.c icsk->icsk_pmtu_cookie = pmtu; pmtu 644 net/ipv4/route.c __be32 gw, u32 pmtu, bool lock, pmtu 682 net/ipv4/route.c if (pmtu) { pmtu 683 net/ipv4/route.c fnhe->fnhe_pmtu = pmtu; pmtu 708 net/ipv4/route.c fnhe->fnhe_pmtu = pmtu; pmtu 1467 net/ipv4/tcp_output.c static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) pmtu 1476 net/ipv4/tcp_output.c mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); pmtu 1499 net/ipv4/tcp_output.c int tcp_mtu_to_mss(struct sock *sk, int pmtu) pmtu 1502 net/ipv4/tcp_output.c return __tcp_mtu_to_mss(sk, pmtu) - pmtu 1568 net/ipv4/tcp_output.c unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) pmtu 1574 net/ipv4/tcp_output.c if (icsk->icsk_mtup.search_high > pmtu) pmtu 1575 net/ipv4/tcp_output.c icsk->icsk_mtup.search_high = pmtu; pmtu 1577 net/ipv4/tcp_output.c mss_now = tcp_mtu_to_mss(sk, pmtu); pmtu 1581 net/ipv4/tcp_output.c icsk->icsk_pmtu_cookie = pmtu; pmtu 708 net/ipv6/ip6_gre.c __u32 *pmtu, __be16 proto) pmtu 765 net/ipv6/ip6_gre.c return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, pmtu 1324 net/ipv6/ip6_output.c unsigned int maxfraglen, fragheaderlen, mtu, orig_mtu, pmtu; pmtu 1388 net/ipv6/ip6_output.c pmtu = max_t(int, mtu - headersize + sizeof(struct ipv6hdr), 0); pmtu 1389 net/ipv6/ip6_output.c ipv6_local_error(sk, EMSGSIZE, fl6, pmtu); pmtu 1033 net/ipv6/ip6_tunnel.c struct flowi6 *fl6, int encap_limit, __u32 *pmtu, pmtu 1137 net/ipv6/ip6_tunnel.c *pmtu = mtu; pmtu 1410 net/sctp/associola.c void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu) pmtu 1412 net/sctp/associola.c if (asoc->pathmtu != pmtu) { pmtu 1413 net/sctp/associola.c asoc->pathmtu = pmtu; pmtu 1427 net/sctp/associola.c __u32 pmtu = 0; pmtu 1439 net/sctp/associola.c if (!pmtu || (t->pathmtu < pmtu)) pmtu 1440 net/sctp/associola.c pmtu = t->pathmtu; pmtu 1443 net/sctp/associola.c sctp_assoc_set_pmtu(asoc, pmtu); pmtu 386 net/sctp/input.c struct sctp_transport *t, __u32 pmtu) pmtu 388 net/sctp/input.c if (!t || (t->pathmtu <= pmtu)) pmtu 392 net/sctp/input.c atomic_set(&t->mtu_info, pmtu); pmtu 409 net/sctp/input.c if (!sctp_transport_update_pmtu(t, pmtu)) pmtu 762 net/sctp/output.c size_t psize, pmtu, maxsize; pmtu 776 net/sctp/output.c pmtu = packet->transport->asoc->pathmtu; pmtu 778 net/sctp/output.c pmtu = packet->transport->pathmtu; pmtu 781 net/sctp/output.c if (psize + chunk_len > pmtu) { pmtu 804 net/sctp/output.c maxsize = pmtu - packet->overhead; pmtu 246 net/sctp/transport.c bool sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu) pmtu 252 net/sctp/transport.c if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { pmtu 254 net/sctp/transport.c __func__, pmtu, SCTP_DEFAULT_MINSEGMENT); pmtu 256 net/sctp/transport.c pmtu = SCTP_DEFAULT_MINSEGMENT; pmtu 258 net/sctp/transport.c pmtu = SCTP_TRUNC4(pmtu); pmtu 266 net/sctp/transport.c dst->ops->update_pmtu(dst, sk, NULL, pmtu, true); pmtu 279 net/sctp/transport.c pmtu = sctp_dst_mtu(dst); pmtu 280 net/sctp/transport.c change = t->pathmtu != pmtu; pmtu 282 net/sctp/transport.c t->pathmtu = pmtu; pmtu 401 net/sctp/transport.c __u32 cwnd, ssthresh, flight_size, pba, pmtu; pmtu 413 net/sctp/transport.c pmtu = transport->asoc->pathmtu; pmtu 441 net/sctp/transport.c if (bytes_acked > pmtu) pmtu 442 net/sctp/transport.c cwnd += pmtu; pmtu 478 net/sctp/transport.c cwnd += pmtu; pmtu 3762 net/xfrm/xfrm_policy.c u32 pmtu, route_mtu_cached; pmtu 3766 net/xfrm/xfrm_policy.c pmtu = dst_mtu(xfrm_dst_child(dst)); pmtu 3767 net/xfrm/xfrm_policy.c xdst->child_mtu_cached = pmtu; pmtu 3769 net/xfrm/xfrm_policy.c pmtu = xfrm_state_mtu(dst->xfrm, pmtu); pmtu 3774 net/xfrm/xfrm_policy.c if (pmtu > route_mtu_cached) pmtu 3775 net/xfrm/xfrm_policy.c pmtu = route_mtu_cached; pmtu 3777 net/xfrm/xfrm_policy.c dst_metric_set(dst, RTAX_MTU, pmtu);