Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 7 of 7) sorted by relevance

/net/dccp/ccids/lib/
Dpacket_history.c167 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss() local
169 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss()
177 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss()
180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss()
204 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __two_after_loss() local
207 if (likely(dccp_delta_seqno(s2, s3) > 0)) { /* S2 < S3 */ in __two_after_loss()
234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
272 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __three_after_loss() local
277 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
279 if (dccp_loss_free(s2, s3, n3)) { in __three_after_loss()
/net/dccp/
Ddccp.h150 static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_count() argument
152 s64 delta = dccp_delta_seqno(s1, s2); in dccp_loss_count()
163 static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_free() argument
165 return dccp_loss_count(s1, s2, ndp) == 0; in dccp_loss_free()
/net/ceph/
Dceph_common.c120 static int strcmp_null(const char *s1, const char *s2) in strcmp_null() argument
122 if (!s1 && !s2) in strcmp_null()
124 if (s1 && !s2) in strcmp_null()
126 if (!s1 && s2) in strcmp_null()
128 return strcmp(s1, s2); in strcmp_null()
/net/rxrpc/
Drxkad.c796 const struct rxkad_key *s2) in rxkad_send_response() argument
825 iov[2].iov_base = (void *)s2->ticket; in rxkad_send_response()
826 iov[2].iov_len = s2->ticket_len; in rxkad_send_response()
866 const struct rxkad_key *s2) in rxkad_encrypt_response() argument
877 memcpy(&iv, s2->session_key, sizeof(iv)); in rxkad_encrypt_response()
/net/sctp/
Dipv6.c63 union sctp_addr *s2);
434 union sctp_addr *s2) in sctp_v6_addr_match_len() argument
436 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr); in sctp_v6_addr_match_len()
/net/tipc/
Dcrypto.c1583 goto s2; in tipc_crypto_timeout()
1594 s2: in tipc_crypto_timeout()
/net/xfrm/
Dxfrm_policy.c1405 static inline int selector_cmp(struct xfrm_selector *s1, struct xfrm_selector *s2) in selector_cmp() argument
1408 u32 *p2 = (u32 *) s2; in selector_cmp()