Home
last modified time | relevance | path

Searched refs:opt_size (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/mptcp/
Doptions.c655 unsigned int opt_size = 0; in mptcp_established_options() local
669 if (mptcp_established_options_mp(sk, skb, &opt_size, remaining, opts)) in mptcp_established_options()
671 else if (mptcp_established_options_dss(sk, skb, &opt_size, remaining, in mptcp_established_options()
678 if (WARN_ON_ONCE(opt_size > remaining)) in mptcp_established_options()
681 *size += opt_size; in mptcp_established_options()
682 remaining -= opt_size; in mptcp_established_options()
683 if (mptcp_established_options_add_addr(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
684 *size += opt_size; in mptcp_established_options()
685 remaining -= opt_size; in mptcp_established_options()
687 } else if (mptcp_established_options_rm_addr(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
[all …]
/kernel/linux/linux-5.10/tools/vm/
Dpage-types.c170 static unsigned long opt_size[MAX_ADDR_RANGES]; variable
782 opt_size[nr_addr_ranges] = min_t(unsigned long, size, ULONG_MAX-offset); in add_addr_range()
797 walk_pfn(opt_offset[i], opt_offset[i], opt_size[i], 0); in walk_addr_ranges()
799 walk_task(opt_offset[i], opt_size[i]); in walk_addr_ranges()
/kernel/linux/linux-5.10/include/net/
Dtcp.h2113 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() local
2115 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_output.c948 unsigned int opt_size = 0; in tcp_established_options() local
950 if (mptcp_established_options(sk, skb, &opt_size, remaining, in tcp_established_options()
953 size += opt_size; in tcp_established_options()