Home
last modified time | relevance | path

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

12345678910

/linux-6.6.21/fs/proc/ !
Dtask_mmu.c410 static void smaps_page_accumulate(struct mem_size_stats *mss, in smaps_page_accumulate() argument
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()
429 mss->private_dirty += size; in smaps_page_accumulate()
431 mss->shared_dirty += size; in smaps_page_accumulate()
434 mss->private_clean += size; in smaps_page_accumulate()
[all …]
/linux-6.6.21/net/ipv4/ !
Dtcp_offload.c17 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument
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
82 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
83 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
89 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
112 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
114 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment()
121 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.c157 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()
434 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v4_check()
Dudp_offload.c254 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()
284 mss); in __udp_gso_segment()
310 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment()
321 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment()
380 unsigned int mss; in udp4_ufo_fragment() local
401 mss = skb_shinfo(skb)->gso_size; in udp4_ufo_fragment()
[all …]
Dtcp_timer.c165 int mss; in tcp_mtu_probing() local
175 mss = tcp_mtu_to_mss(sk, icsk->icsk_mtup.search_low) >> 1; in tcp_mtu_probing()
176 mss = min(READ_ONCE(net->ipv4.sysctl_tcp_base_mss), mss); in tcp_mtu_probing()
177 mss = max(mss, READ_ONCE(net->ipv4.sysctl_tcp_mtu_probe_floor)); in tcp_mtu_probing()
178 mss = max(mss, READ_ONCE(net->ipv4.sysctl_tcp_min_snd_mss)); in tcp_mtu_probing()
179 icsk->icsk_mtup.search_low = tcp_mss_to_mtu(sk, mss); in tcp_mtu_probing()
Dtcp_output.c125 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()
205 void tcp_select_initial_window(const struct sock *sk, int __space, __u32 mss, in tcp_select_initial_window() argument
218 if (space > mss) in tcp_select_initial_window()
219 space = rounddown(space, mss); in tcp_select_initial_window()
235 *rcv_wnd = min(*rcv_wnd, init_rcv_wnd * mss); in tcp_select_initial_window()
443 u16 mss; /* 0 to disable */ member
[all …]
Dtcp_metrics.c29 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()
716 if (tfom->mss && in tcp_metrics_fill_info()
718 tfom->mss) < 0) in tcp_metrics_fill_info()
/linux-6.6.21/Documentation/devicetree/bindings/remoteproc/ !
Dqcom,msm8916-mss-pil.yaml4 $id: http://devicetree.org/schemas/remoteproc/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
26 description: Deprecated, prefer using qcom,msm8916-mss-pil
74 (only valid for qcom,msm8953-mss-pil)
81 - const: mss # only valid for qcom,msm8953-mss-pil
87 mss-supply:
88 description: MSS power domain supply (only valid for qcom,msm8974-mss-pil)
[all …]
Dqcom,msm8996-mss-pil.yaml4 $id: http://devicetree.org/schemas/remoteproc/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
70 - description: MSS power domain (only valid for qcom,sdm845-mss-pil)
77 - const: mss # only valid for qcom,sdm845-mss-pil
86 - description: PDC reset (only valid for qcom,sdm845-mss-pil)
92 - const: pdc_reset # only valid for qcom,sdm845-mss-pil
211 const: qcom,msm8996-mss-pil
[all …]
/linux-6.6.21/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}"
Dtcp_mmap.c455 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()
/linux-6.6.21/drivers/pmdomain/qcom/ !
Drpmhpd.c152 static struct rpmhpd mss = { variable
255 [SDM670_MSS] = &mss,
273 [SDM845_MSS] = &mss,
286 [SDX55_MSS] = &mss,
299 [SDX65_MSS] = &mss,
314 [RPMHPD_MSS] = &mss,
331 [SM6350_MSS] = &mss,
350 [SM8150_MSS] = &mss,
365 [SA8155P_MSS] = &mss,
404 [RPMHPD_MSS] = &mss,
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/clock/ !
Dqcom,sc7180-mss.yaml4 $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";
/linux-6.6.21/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
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()
/linux-6.6.21/drivers/scsi/fnic/ !
Dwq_enet_desc.h40 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()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/ !
Dwq_enet_desc.h41 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()
/linux-6.6.21/drivers/scsi/snic/ !
Dwq_enet_desc.h38 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()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/bpf/progs/ !
Dxdp_synproxy_kern.c308 static __always_inline void values_get_tcpipopts(__u16 *mss, __u8 *wscale, in values_get_tcpipopts() argument
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()
480 static __always_inline __u8 tcp_mkoptions(__be32 *buf, __be32 *tsopt, __u16 mss, in tcp_mkoptions() argument
485 *buf++ = bpf_htonl((TCPOPT_MSS << 24) | (TCPOLEN_MSS << 16) | mss); in tcp_mkoptions()
514 __u16 mss, __u8 wscale) in tcp_gen_synack() argument
530 tcp_header->doff += tcp_mkoptions(tcp_options, tsopt, mss, wscale); in tcp_gen_synack()
537 __u16 mss; in tcpv4_gen_synack() local
540 values_get_tcpipopts(&mss, &wscale, &ttl, false); in tcpv4_gen_synack()
[all …]
/linux-6.6.21/net/batman-adv/ !
Dtp_meter.c143 static void batadv_tp_update_cwnd(struct batadv_tp_vars *tp_vars, u32 mss) in batadv_tp_update_cwnd() argument
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()
704 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->ss_threshold, 3 * mss, in batadv_tp_recv_ack()
705 mss); in batadv_tp_recv_ack()
731 mss, mss); in batadv_tp_recv_ack()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/ !
Def100_tx.c58 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()
/linux-6.6.21/ipc/ !
Dmsg.c194 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()
206 static inline void ss_del(struct msg_sender *mss) in ss_del() argument
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
219 list_for_each_entry_safe(mss, t, h, list) { in ss_wakeup()
221 mss->list.next = NULL; in ss_wakeup()
[all …]
/linux-6.6.21/net/tipc/ !
Dmsg.c202 int mss, struct sk_buff_head *txq) in tipc_msg_append() argument
214 if (!skb || skb->len >= mss) { in tipc_msg_append()
215 skb = tipc_buf_acquire(mss, GFP_KERNEL); in tipc_msg_append()
230 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append()
516 bool tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss, in tipc_msg_try_bundle() argument
530 if (mss <= INT_H_SIZE + msg_size(msg)) in tipc_msg_try_bundle()
545 if (unlikely(mss < BUF_ALIGN(INT_H_SIZE + tsz) + msg_size(msg))) in tipc_msg_try_bundle()
547 if (unlikely(pskb_expand_head(tskb, INT_H_SIZE, mss - tsz - INT_H_SIZE, in tipc_msg_try_bundle()
561 if (likely(tipc_msg_bundle(tskb, msg, mss))) { in tipc_msg_try_bundle()
/linux-6.6.21/drivers/net/ethernet/google/gve/ !
Dgve_desc.h48 __be16 mss; /* TSO MSS */ member
87 __be16 mss; member

12345678910