Home
last modified time | relevance | path

Searched refs:mss (Results 1 – 25 of 203) sorted by relevance

123456789

/Linux-v5.10/Documentation/devicetree/bindings/remoteproc/
Dqcom,q6v5.txt12 "qcom,msm8916-mss-pil",
13 "qcom,msm8974-mss-pil"
14 "qcom,msm8996-mss-pil"
15 "qcom,msm8998-mss-pil"
16 "qcom,sc7180-mss-pil"
17 "qcom,sdm845-mss-pil"
42 qcom,msm8916-mss-pil:
43 qcom,msm8974-mss-pil:
45 qcom,msm8996-mss-pil:
46 qcom,msm8998-mss-pil:
[all …]
/Linux-v5.10/fs/proc/
Dtask_mmu.c403 static void smaps_page_accumulate(struct mem_size_stats *mss, in smaps_page_accumulate() argument
407 mss->pss += pss; in smaps_page_accumulate()
410 mss->pss_anon += pss; in smaps_page_accumulate()
412 mss->pss_shmem += pss; in smaps_page_accumulate()
414 mss->pss_file += pss; in smaps_page_accumulate()
417 mss->pss_locked += pss; in smaps_page_accumulate()
421 mss->private_dirty += size; in smaps_page_accumulate()
423 mss->shared_dirty += size; in smaps_page_accumulate()
426 mss->private_clean += size; in smaps_page_accumulate()
428 mss->shared_clean += size; in smaps_page_accumulate()
[all …]
/Linux-v5.10/net/ipv4/
Dtcp_offload.c15 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument
18 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp()
25 seq += mss; in tcp_gso_tstamp()
64 unsigned int mss; in tcp_gso_segment() local
80 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
81 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
87 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
110 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
112 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment()
119 tcp_gso_tstamp(segs, skb_shinfo(gso_skb)->tskey, seq, mss); in tcp_gso_segment()
[all …]
Dtcp_recovery.c225 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()
Dsyncookies.c165 const __u16 mss = *mssp; in __cookie_v4_init_sequence() local
168 if (mss >= msstab[mssind]) in __cookie_v4_init_sequence()
334 int full_space, mss; in cookie_v4_check() local
346 mss = __cookie_v4_check(ip_hdr(skb), th, cookie); in cookie_v4_check()
347 if (mss == 0) { in cookie_v4_check()
379 req->mss = mss; in cookie_v4_check()
436 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v4_check()
Dudp_offload.c190 unsigned int mss = skb_shinfo(skb)->gso_size; in __udp_gso_segment_list() local
196 udp_hdr(skb)->len = htons(sizeof(struct udphdr) + mss); in __udp_gso_segment_list()
208 unsigned int mss; in __udp_gso_segment() local
216 mss = skb_shinfo(gso_skb)->gso_size; in __udp_gso_segment()
217 if (gso_skb->len <= sizeof(*uh) + mss) in __udp_gso_segment()
239 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment()
250 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment()
309 unsigned int mss; in udp4_ufo_fragment() local
330 mss = skb_shinfo(skb)->gso_size; in udp4_ufo_fragment()
331 if (unlikely(skb->len <= mss)) in udp4_ufo_fragment()
Dtcp_timer.c145 int mss; in tcp_mtu_probing() local
155 mss = tcp_mtu_to_mss(sk, icsk->icsk_mtup.search_low) >> 1; in tcp_mtu_probing()
156 mss = min(net->ipv4.sysctl_tcp_base_mss, mss); in tcp_mtu_probing()
157 mss = max(mss, net->ipv4.sysctl_tcp_mtu_probe_floor); in tcp_mtu_probing()
158 mss = max(mss, net->ipv4.sysctl_tcp_min_snd_mss); in tcp_mtu_probing()
159 icsk->icsk_mtup.search_low = tcp_mss_to_mtu(sk, mss); in tcp_mtu_probing()
Dtcp_output.c124 int mss = tp->advmss; in tcp_advertise_mss() local
129 if (metric < mss) { in tcp_advertise_mss()
130 mss = metric; in tcp_advertise_mss()
131 tp->advmss = mss; in tcp_advertise_mss()
135 return (__u16)mss; in tcp_advertise_mss()
208 void tcp_select_initial_window(const struct sock *sk, int __space, __u32 mss, in tcp_select_initial_window() argument
221 if (space > mss) in tcp_select_initial_window()
222 space = rounddown(space, mss); in tcp_select_initial_window()
238 *rcv_wnd = min(*rcv_wnd, init_rcv_wnd * mss); in tcp_select_initial_window()
437 u16 mss; /* 0 to disable */ member
[all …]
Dtcp_metrics.c29 u16 mss; member
124 tm->tcpm_fastopen.mss = 0; in tcpm_suck_dst()
543 void tcp_fastopen_cache_get(struct sock *sk, u16 *mss, in tcp_fastopen_cache_get() argument
556 if (tfom->mss) in tcp_fastopen_cache_get()
557 *mss = tfom->mss; in tcp_fastopen_cache_get()
566 void tcp_fastopen_cache_set(struct sock *sk, u16 mss, in tcp_fastopen_cache_set() argument
581 if (mss) in tcp_fastopen_cache_set()
582 tfom->mss = mss; in tcp_fastopen_cache_set()
698 if (tfom->mss && in tcp_metrics_fill_info()
700 tfom->mss) < 0) in tcp_metrics_fill_info()
/Linux-v5.10/tools/testing/selftests/net/
Dpsock_snd.sh15 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}"
90 (! ./in_netns.sh ./psock_snd -v -c -g -l "${mss}")
Dtcp_mmap.c380 int mss = 0; in main() local
411 mss = atoi(optarg); in main()
452 if (mss && in main()
454 &mss, sizeof(mss)) == -1) { in main()
484 if (mss && in main()
485 setsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, &mss, sizeof(mss)) == -1) { in main()
/Linux-v5.10/net/ipv6/
Dsyncookies.c96 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
150 mss = __cookie_v6_check(ipv6_hdr(skb), th, cookie); in cookie_v6_check()
151 if (mss == 0) { in cookie_v6_check()
184 req->mss = mss; in cookie_v6_check()
250 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v6_check()
Dudp_offload.c21 unsigned int mss; in udp6_ufo_fragment() local
31 mss = skb_shinfo(skb)->gso_size; in udp6_ufo_fragment()
32 if (unlikely(skb->len <= mss)) in udp6_ufo_fragment()
/Linux-v5.10/drivers/scsi/fnic/
Dwq_enet_desc.h52 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
58 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
71 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
77 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
/Linux-v5.10/drivers/scsi/snic/
Dwq_enet_desc.h52 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
58 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
71 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
77 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
/Linux-v5.10/drivers/net/ethernet/cisco/enic/
Dwq_enet_desc.h54 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
60 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
73 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
79 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
/Linux-v5.10/net/netfilter/
Dnfnetlink_osf.c73 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()
Dxt_TCPMSS.c102 if (info->mss == XT_TCPMSS_CLAMP_PMTU) { in tcpmss_mangle_packet()
114 newmss = info->mss; in tcpmss_mangle_packet()
269 if (info->mss == XT_TCPMSS_CLAMP_PMTU && in tcpmss_tg4_check()
293 if (info->mss == XT_TCPMSS_CLAMP_PMTU && in tcpmss_tg6_check()
/Linux-v5.10/drivers/net/ethernet/sfc/
Def100_tx.c60 u32 mss; in ef100_tx_can_tso() local
69 mss = skb_shinfo(skb)->gso_size; in ef100_tx_can_tso()
70 if (unlikely(mss < 4)) { in ef100_tx_can_tso()
71 WARN_ONCE(1, "MSS of %u is too small for TSO\n", mss); in ef100_tx_can_tso()
85 if (skb->data_len / mss > nic_data->tso_max_frames) in ef100_tx_can_tso()
214 u32 mss = skb_shinfo(skb)->gso_size; in ef100_make_tso_desc() local
224 ESF_GZ_TX_TSO_MSS, mss, in ef100_make_tso_desc()
/Linux-v5.10/net/batman-adv/
Dtp_meter.c142 static void batadv_tp_update_cwnd(struct batadv_tp_vars *tp_vars, u32 mss) in batadv_tp_update_cwnd() argument
149 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); in batadv_tp_update_cwnd()
156 ((mss * mss) << 6) / (tp_vars->cwnd << 3)); in batadv_tp_update_cwnd()
157 if (tp_vars->dec_cwnd < (mss << 3)) { in batadv_tp_update_cwnd()
162 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); in batadv_tp_update_cwnd()
630 size_t packet_len, mss; in batadv_tp_recv_ack() local
635 mss = BATADV_TP_PLEN; in batadv_tp_recv_ack()
700 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->ss_threshold, 3 * mss, in batadv_tp_recv_ack()
701 mss); in batadv_tp_recv_ack()
727 mss, mss); in batadv_tp_recv_ack()
[all …]
/Linux-v5.10/ipc/
Dmsg.c193 struct msg_sender *mss, size_t msgsz) in ss_add() argument
195 mss->tsk = current; in ss_add()
196 mss->msgsz = msgsz; in ss_add()
202 list_add_tail(&mss->list, &msq->q_senders); in ss_add()
205 static inline void ss_del(struct msg_sender *mss) in ss_del() argument
207 if (mss->list.next) in ss_del()
208 list_del(&mss->list); in ss_del()
214 struct msg_sender *mss, *t; in ss_wakeup() local
218 list_for_each_entry_safe(mss, t, h, list) { in ss_wakeup()
220 mss->list.next = NULL; in ss_wakeup()
[all …]
/Linux-v5.10/drivers/net/ethernet/google/gve/
Dgve_desc.h38 __be16 mss; /* TSO MSS */ member
65 __be16 mss; member
/Linux-v5.10/net/tipc/
Dmsg.c214 int mss, struct sk_buff_head *txq) in tipc_msg_append() argument
226 if (!skb || skb->len >= mss) { in tipc_msg_append()
227 skb = tipc_buf_acquire(mss, GFP_KERNEL); in tipc_msg_append()
242 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append()
526 bool tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss, in tipc_msg_try_bundle() argument
540 if (mss <= INT_H_SIZE + msg_size(msg)) in tipc_msg_try_bundle()
555 if (unlikely(mss < align(INT_H_SIZE + tsz) + msg_size(msg))) in tipc_msg_try_bundle()
557 if (unlikely(pskb_expand_head(tskb, INT_H_SIZE, mss - tsz - INT_H_SIZE, in tipc_msg_try_bundle()
571 if (likely(tipc_msg_bundle(tskb, msg, mss))) { in tipc_msg_try_bundle()
/Linux-v5.10/include/linux/qed/
Dtcp_common.h86 __le16 mss; member
152 __le16 mss; member
217 __le16 mss; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls_rxtx.c151 int data_len, mss; in mlx5e_tls_complete_sync_skb() local
167 mss = nskb->dev->mtu - (headln - skb_network_offset(nskb)); in mlx5e_tls_complete_sync_skb()
169 if (data_len > mss) { in mlx5e_tls_complete_sync_skb()
170 skb_shinfo(nskb)->gso_size = mss; in mlx5e_tls_complete_sync_skb()
171 skb_shinfo(nskb)->gso_segs = DIV_ROUND_UP(data_len, mss); in mlx5e_tls_complete_sync_skb()

123456789