Home
last modified time | relevance | path

Searched refs:seq2 (Results 1 – 5 of 5) sorted by relevance

/net/dccp/
Ddccp.h125 static inline int before48(const u64 seq1, const u64 seq2) in before48() argument
127 return (s64)((seq2 << 16) - (seq1 << 16)) > 0; in before48()
131 #define after48(seq1, seq2) before48(seq2, seq1) argument
134 static inline int between48(const u64 seq1, const u64 seq2, const u64 seq3) in between48() argument
136 return (seq3 << 16) - (seq2 << 16) >= (seq1 << 16) - (seq2 << 16); in between48()
139 static inline u64 max48(const u64 seq1, const u64 seq2) in max48() argument
141 return after48(seq1, seq2) ? seq1 : seq2; in max48()
/net/rxrpc/
Dar-internal.h1088 static inline bool before(u32 seq1, u32 seq2) in before() argument
1090 return (s32)(seq1 - seq2) < 0; in before()
1092 static inline bool before_eq(u32 seq1, u32 seq2) in before_eq() argument
1094 return (s32)(seq1 - seq2) <= 0; in before_eq()
1096 static inline bool after(u32 seq1, u32 seq2) in after() argument
1098 return (s32)(seq1 - seq2) > 0; in after()
1100 static inline bool after_eq(u32 seq1, u32 seq2) in after_eq() argument
1102 return (s32)(seq1 - seq2) >= 0; in after_eq()
/net/mptcp/
Dprotocol.h497 static inline bool before64(__u64 seq1, __u64 seq2) in before64() argument
499 return (__s64)(seq1 - seq2) < 0; in before64()
502 #define after64(seq2, seq1) before64(seq1, seq2) argument
/net/ipv4/
Dtcp_recovery.c5 static bool tcp_rack_sent_after(u64 t1, u64 t2, u32 seq1, u32 seq2) in tcp_rack_sent_after() argument
7 return t1 > t2 || (t1 == t2 && after(seq1, seq2)); in tcp_rack_sent_after()
/net/smc/
Dsmc_cdc.c263 static inline bool smc_cdc_before(u16 seq1, u16 seq2) in smc_cdc_before() argument
265 return (s16)(seq1 - seq2) < 0; in smc_cdc_before()