Lines Matching full:remaining
650 unsigned int remaining, in mptcp_established_options_add_addr() argument
665 !mptcp_pm_add_addr_signal(msk, skb, opt_size, remaining, &opts->addr, in mptcp_established_options_add_addr()
670 remaining += opt_size; in mptcp_established_options_add_addr()
672 if (remaining < len) in mptcp_established_options_add_addr()
705 unsigned int remaining, in mptcp_established_options_rm_addr() argument
714 !(mptcp_pm_rm_addr_signal(msk, remaining, &rm_list))) in mptcp_established_options_rm_addr()
720 if (remaining < len) in mptcp_established_options_rm_addr()
735 unsigned int remaining, in mptcp_established_options_mp_prio() argument
747 if (remaining < TCPOLEN_MPTCP_PRIO_ALIGN) in mptcp_established_options_mp_prio()
761 unsigned int remaining, in mptcp_established_options_rst() argument
766 if (remaining < TCPOLEN_MPTCP_RST) in mptcp_established_options_rst()
780 unsigned int remaining, in mptcp_established_options_fastclose() argument
789 if (remaining < TCPOLEN_MPTCP_FASTCLOSE) in mptcp_established_options_fastclose()
803 unsigned int remaining, in mptcp_established_options_mp_fail() argument
811 if (remaining < TCPOLEN_MPTCP_FAIL) in mptcp_established_options_mp_fail()
825 unsigned int *size, unsigned int remaining, in mptcp_established_options() argument
840 if (mptcp_established_options_fastclose(sk, &opt_size, remaining, opts) || in mptcp_established_options()
841 mptcp_established_options_mp_fail(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
843 remaining -= opt_size; in mptcp_established_options()
846 if (mptcp_established_options_rst(sk, skb, &opt_size, remaining, opts)) { in mptcp_established_options()
848 remaining -= opt_size; in mptcp_established_options()
861 remaining - opt_size, opts)) { in mptcp_established_options()
863 remaining -= opt_size - mp_fail_size; in mptcp_established_options()
871 if (WARN_ON_ONCE(opt_size > remaining)) in mptcp_established_options()
875 remaining -= opt_size; in mptcp_established_options()
876 if (mptcp_established_options_add_addr(sk, skb, &opt_size, remaining, opts)) { in mptcp_established_options()
878 remaining -= opt_size; in mptcp_established_options()
880 } else if (mptcp_established_options_rm_addr(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
882 remaining -= opt_size; in mptcp_established_options()
886 if (mptcp_established_options_mp_prio(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
888 remaining -= opt_size; in mptcp_established_options()