/openbmc/linux/fs/proc/ |
H A D | task_mmu.c | 414 mss->pss += pss; in smaps_page_accumulate() 417 mss->pss_anon += pss; in smaps_page_accumulate() 419 mss->pss_shmem += pss; in smaps_page_accumulate() 421 mss->pss_file += pss; in smaps_page_accumulate() 424 mss->pss_locked += pss; in smaps_page_accumulate() 427 mss->pss_dirty += pss; in smaps_page_accumulate() 452 mss->anonymous += size; in smaps_account() 458 mss->ksm += size; in smaps_account() 460 mss->resident += size; in smaps_account() 854 memset(&mss, 0, sizeof(mss)); in show_smap() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_offload.c | 20 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp() 27 seq += mss; in tcp_gso_tstamp() 65 unsigned int mss; in tcp_gso_segment() local 85 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment() 86 if (unlikely(skb->len <= mss)) in tcp_gso_segment() 137 seq += mss; in tcp_gso_segment() 193 unsigned int mss = 1; in tcp_gro_receive() local 259 mss = skb_shinfo(p)->gso_size; in tcp_gro_receive() 268 flush |= (len - 1) >= mss; in tcp_gro_receive() 276 mss = 1; in tcp_gro_receive() [all …]
|
H A D | tcp_recovery.c | 225 u32 mss; in tcp_newreno_mark_lost() local 230 mss = tcp_skb_mss(skb); in tcp_newreno_mark_lost() 231 if (tcp_skb_pcount(skb) > 1 && skb->len > mss) in tcp_newreno_mark_lost() 233 mss, mss, GFP_ATOMIC); in tcp_newreno_mark_lost()
|
H A D | syncookies.c | 157 const __u16 mss = *mssp; in __cookie_v4_init_sequence() local 160 if (mss >= msstab[mssind]) in __cookie_v4_init_sequence() 330 int full_space, mss; in cookie_v4_check() local 343 mss = __cookie_v4_check(ip_hdr(skb), th, cookie); in cookie_v4_check() 344 if (mss == 0) { in cookie_v4_check() 377 req->mss = mss; in cookie_v4_check() 435 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v4_check()
|
H A D | udp_offload.c | 254 unsigned int mss = skb_shinfo(skb)->gso_size; in __udp_gso_segment_list() local 260 udp_hdr(skb)->len = htons(sizeof(struct udphdr) + mss); in __udp_gso_segment_list() 272 unsigned int mss; in __udp_gso_segment() local 277 mss = skb_shinfo(gso_skb)->gso_size; in __udp_gso_segment() 278 if (gso_skb->len <= sizeof(*uh) + mss) in __udp_gso_segment() 289 mss); in __udp_gso_segment() 333 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment() 344 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment() 403 unsigned int mss; in udp4_ufo_fragment() local 424 mss = skb_shinfo(skb)->gso_size; in udp4_ufo_fragment() [all …]
|
H A D | tcp_timer.c | 161 int mss; in tcp_mtu_probing() local 171 mss = tcp_mtu_to_mss(sk, icsk->icsk_mtup.search_low) >> 1; in tcp_mtu_probing() 172 mss = min(READ_ONCE(net->ipv4.sysctl_tcp_base_mss), mss); in tcp_mtu_probing() 173 mss = max(mss, READ_ONCE(net->ipv4.sysctl_tcp_mtu_probe_floor)); in tcp_mtu_probing() 174 mss = max(mss, READ_ONCE(net->ipv4.sysctl_tcp_min_snd_mss)); in tcp_mtu_probing() 175 icsk->icsk_mtup.search_low = tcp_mss_to_mtu(sk, mss); in tcp_mtu_probing()
|
H A D | tcp_output.c | 125 int mss = tp->advmss; in tcp_advertise_mss() local 130 if (metric < mss) { in tcp_advertise_mss() 131 mss = metric; in tcp_advertise_mss() 132 tp->advmss = mss; in tcp_advertise_mss() 136 return (__u16)mss; in tcp_advertise_mss() 219 if (space > mss) in tcp_select_initial_window() 879 opts->mss = mss; in tcp_synack_options() 1745 mtu = mss + in tcp_mss_to_mtu() 2908 (pcount - 1) * mss, mss, in tcp_send_loss_probe() 3039 if (mss <= 0) in __tcp_select_window() [all …]
|
H A D | tcp_metrics.c | 29 u16 mss; member 134 tm->tcpm_fastopen.mss = 0; in tcpm_suck_dst() 561 void tcp_fastopen_cache_get(struct sock *sk, u16 *mss, in tcp_fastopen_cache_get() argument 574 if (tfom->mss) in tcp_fastopen_cache_get() 575 *mss = tfom->mss; in tcp_fastopen_cache_get() 584 void tcp_fastopen_cache_set(struct sock *sk, u16 mss, in tcp_fastopen_cache_set() argument 599 if (mss) in tcp_fastopen_cache_set() 600 tfom->mss = mss; in tcp_fastopen_cache_set() 717 if (tfom->mss && in tcp_metrics_fill_info() 719 tfom->mss) < 0) in tcp_metrics_fill_info()
|
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,msm8916-mss-pil.yaml | 20 - qcom,msm8909-mss-pil 21 - qcom,msm8916-mss-pil 22 - qcom,msm8953-mss-pil 23 - qcom,msm8974-mss-pil 81 - const: mss # only valid for qcom,msm8953-mss-pil 87 mss-supply: 200 const: qcom,msm8953-mss-pil 220 const: qcom,msm8974-mss-pil 223 - mss-supply 226 mss-supply: false [all …]
|
H A D | qcom,msm8996-mss-pil.yaml | 20 - qcom,msm8996-mss-pil 21 - qcom,msm8998-mss-pil 22 - qcom,sdm660-mss-pil 23 - qcom,sdm845-mss-pil 77 - const: mss # only valid for qcom,sdm845-mss-pil 211 const: qcom,msm8996-mss-pil 249 - qcom,msm8998-mss-pil 250 - qcom,sdm660-mss-pil 279 const: qcom,sdm845-mss-pil 347 compatible = "qcom,sdm845-mss-pil"; [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | psock_snd.sh | 15 readonly mss="$((${mtu} - ${iphlen} - ${udphlen}))" 16 readonly mss_exceeds="$((${mss} + 1))" 58 ./in_netns.sh ./psock_snd -l "${mss}" 72 ./in_netns.sh ./psock_snd -d -l "${mss}"
|
H A D | tcp_mmap.c | 455 int mss = 0; in main() local 486 mss = atoi(optarg); in main() 530 if (mss && in main() 532 &mss, sizeof(mss)) == -1) { in main() 562 if (mss && in main() 563 setsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, &mss, sizeof(mss)) == -1) { in main()
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | qcom,sc7180-mss.yaml | 4 $id: http://devicetree.org/schemas/clock/qcom,sc7180-mss.yaml# 15 See also:: include/dt-bindings/clock/qcom,mss-sc7180.h 19 const: qcom,sc7180-mss 51 compatible = "qcom,sc7180-mss";
|
/openbmc/linux/drivers/pmdomain/qcom/ |
H A D | rpmhpd.c | 258 [SDM670_MSS] = &mss, 276 [SDM845_MSS] = &mss, 289 [SDX55_MSS] = &mss, 302 [SDX65_MSS] = &mss, 317 [RPMHPD_MSS] = &mss, 334 [SM6350_MSS] = &mss, 353 [SM8150_MSS] = &mss, 407 [RPMHPD_MSS] = &mss, 429 [RPMHPD_MSS] = &mss, 451 [RPMHPD_MSS] = &mss, [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | syncookies.c | 96 const __u16 mss = *mssp; in __cookie_v6_init_sequence() local 99 if (mss >= msstab[mssind]) in __cookie_v6_init_sequence() 139 int full_space, mss; in cookie_v6_check() local 151 mss = __cookie_v6_check(ipv6_hdr(skb), th, cookie); in cookie_v6_check() 152 if (mss == 0) { in cookie_v6_check() 183 req->mss = mss; in cookie_v6_check() 253 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v6_check()
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | wq_enet_desc.h | 41 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument 47 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc() 60 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument 66 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | wq_enet_desc.h | 40 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument 46 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc() 59 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument 65 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | wq_enet_desc.h | 38 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument 44 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc() 57 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument 63 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink_osf.c | 73 u16 mss = 0; in nf_osf_match_one() local 106 mss = ctx->optp[3]; in nf_osf_match_one() 107 mss <<= 8; in nf_osf_match_one() 108 mss |= ctx->optp[2]; in nf_osf_match_one() 110 mss = ntohs((__force __be16)mss); in nf_osf_match_one() 141 if (ctx->window == f->wss.val * mss || in nf_osf_match_one() 147 if (ctx->window == f->wss.val * (mss + 40) || in nf_osf_match_one()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | xdp_synproxy_kern.c | 317 *mss = (*value >> 32) & 0xffff; in values_get_tcpipopts() 319 *mss = *value & 0xffff; in values_get_tcpipopts() 325 *mss = ipv6 ? DEFAULT_MSS6 : DEFAULT_MSS4; in values_get_tcpipopts() 485 *buf++ = bpf_htonl((TCPOPT_MSS << 24) | (TCPOLEN_MSS << 16) | mss); in tcp_mkoptions() 514 __u16 mss, __u8 wscale) in tcp_gen_synack() argument 537 __u16 mss; in tcpv4_gen_synack() local 540 values_get_tcpipopts(&mss, &wscale, &ttl, false); in tcpv4_gen_synack() 550 tcp_gen_synack(hdr->tcp, cookie, tsopt, mss, wscale); in tcpv4_gen_synack() 560 __u16 mss; in tcpv6_gen_synack() local 563 values_get_tcpipopts(&mss, &wscale, &ttl, true); in tcpv6_gen_synack() [all …]
|
/openbmc/linux/net/batman-adv/ |
H A D | tp_meter.c | 150 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); in batadv_tp_update_cwnd() 157 ((mss * mss) << 6) / (tp_vars->cwnd << 3)); in batadv_tp_update_cwnd() 158 if (tp_vars->dec_cwnd < (mss << 3)) { in batadv_tp_update_cwnd() 163 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); in batadv_tp_update_cwnd() 635 size_t packet_len, mss; in batadv_tp_recv_ack() local 639 mss = BATADV_TP_PLEN; in batadv_tp_recv_ack() 705 mss); in batadv_tp_recv_ack() 731 mss, mss); in batadv_tp_recv_ack() 739 mss); in batadv_tp_recv_ack() 745 if (recv_ack - atomic_read(&tp_vars->last_acked) >= mss) in batadv_tp_recv_ack() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_tx.c | 58 u32 mss; in ef100_tx_can_tso() local 67 mss = skb_shinfo(skb)->gso_size; in ef100_tx_can_tso() 68 if (unlikely(mss < 4)) { in ef100_tx_can_tso() 69 WARN_ONCE(1, "MSS of %u is too small for TSO\n", mss); in ef100_tx_can_tso() 83 if (skb->data_len / mss > nic_data->tso_max_frames) in ef100_tx_can_tso() 195 u32 mss = skb_shinfo(skb)->gso_size; in ef100_make_tso_desc() local 233 ESF_GZ_TX_TSO_MSS, mss, in ef100_make_tso_desc()
|
/openbmc/linux/ipc/ |
H A D | msg.c | 194 struct msg_sender *mss, size_t msgsz) in ss_add() argument 196 mss->tsk = current; in ss_add() 197 mss->msgsz = msgsz; in ss_add() 203 list_add_tail(&mss->list, &msq->q_senders); in ss_add() 208 if (mss->list.next) in ss_del() 209 list_del(&mss->list); in ss_del() 215 struct msg_sender *mss, *t; in ss_wakeup() local 221 mss->list.next = NULL; in ss_wakeup() 228 else if (stop_tsk == mss->tsk) in ss_wakeup() 239 stop_tsk = mss->tsk; in ss_wakeup() [all …]
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_desc.h | 48 __be16 mss; /* TSO MSS */ member 87 __be16 mss; member
|
/openbmc/linux/net/tipc/ |
H A D | msg.c | 206 int mss, struct sk_buff_head *txq) in tipc_msg_append() argument 218 if (!skb || skb->len >= mss) { in tipc_msg_append() 219 skb = tipc_buf_acquire(mss, GFP_KERNEL); in tipc_msg_append() 234 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append() 520 bool tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss, in tipc_msg_try_bundle() argument 534 if (mss <= INT_H_SIZE + msg_size(msg)) in tipc_msg_try_bundle() 549 if (unlikely(mss < BUF_ALIGN(INT_H_SIZE + tsz) + msg_size(msg))) in tipc_msg_try_bundle() 551 if (unlikely(pskb_expand_head(tskb, INT_H_SIZE, mss - tsz - INT_H_SIZE, in tipc_msg_try_bundle() 565 if (likely(tipc_msg_bundle(tskb, msg, mss))) { in tipc_msg_try_bundle()
|