Searched defs:s1 (Results 1 - 5 of 5) sorted by relevance

/net/dccp/ccids/lib/
H A Dpacket_history.c170 s1 = DCCP_SKB_CB(skb)->dccpd_seq; local
172 if (!dccp_loss_free(s0, s1, n1)) { /* gap between S0 and S1 */
181 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, local
184 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */
195 if (dccp_loss_free(s2, s1, n1)) {
218 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, local
230 if (dccp_delta_seqno(s1, s3) > 0) { /* S1 < S3 < S2 */
245 if (dccp_loss_free(s3, s1, n1)) {
249 if (dccp_loss_free(s1, s2, n2)) {
286 u64 s1 local
[all...]
/net/dccp/
H A Ddccp.h154 * @s1: last known sequence number before the loss ('hole')
158 static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) argument
160 s64 delta = dccp_delta_seqno(s1, s2);
171 static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp)
173 return dccp_loss_count(s1, s2, ndp) == 0;
/net/ceph/
H A Dceph_common.c114 static int strcmp_null(const char *s1, const char *s2) argument
116 if (!s1 && !s2)
118 if (s1 && !s2)
120 if (!s1 && s2)
122 return strcmp(s1, s2);
/net/sctp/
H A Dipv6.c76 static inline int sctp_v6_addr_match_len(union sctp_addr *s1,
347 static inline int sctp_v6_addr_match_len(union sctp_addr *s1, argument
350 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr);
/net/xfrm/
H A Dxfrm_policy.c689 static inline int selector_cmp(struct xfrm_selector *s1, struct xfrm_selector *s2) argument
691 u32 *p1 = (u32 *) s1;

Completed in 521 milliseconds