Home
last modified time | relevance | path

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

/net/dccp/ccids/lib/
Dpacket_history.c182 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss() local
184 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss()
192 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss()
195 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss()
219 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __two_after_loss() local
222 if (likely(dccp_delta_seqno(s2, s3) > 0)) { /* S2 < S3 */ in __two_after_loss()
249 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
287 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __three_after_loss() local
292 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
294 if (dccp_loss_free(s2, s3, n3)) { in __three_after_loss()
/net/ceph/
Dceph_common.c113 static int strcmp_null(const char *s1, const char *s2) in strcmp_null() argument
115 if (!s1 && !s2) in strcmp_null()
117 if (s1 && !s2) in strcmp_null()
119 if (!s1 && s2) in strcmp_null()
121 return strcmp(s1, s2); in strcmp_null()
/net/dccp/
Ddccp.h158 static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_count() argument
160 s64 delta = dccp_delta_seqno(s1, s2); in dccp_loss_count()
171 static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_free() argument
173 return dccp_loss_count(s1, s2, ndp) == 0; in dccp_loss_free()
/net/rxrpc/
Drxkad.c668 const struct rxkad_key *s2) in rxkad_send_response() argument
697 iov[2].iov_base = (void *)s2->ticket; in rxkad_send_response()
698 iov[2].iov_len = s2->ticket_len; in rxkad_send_response()
736 const struct rxkad_key *s2) in rxkad_encrypt_response() argument
743 memcpy(&iv, s2->session_key, sizeof(iv)); in rxkad_encrypt_response()
/net/sctp/
Dipv6.c77 union sctp_addr *s2);
372 union sctp_addr *s2) in sctp_v6_addr_match_len() argument
374 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr); in sctp_v6_addr_match_len()
/net/xfrm/
Dxfrm_policy.c713 static inline int selector_cmp(struct xfrm_selector *s1, struct xfrm_selector *s2) in selector_cmp() argument
716 u32 *p2 = (u32 *) s2; in selector_cmp()