Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h106 static __always_inline bool before(__u32 seq1, __u32 seq2) in before() argument
108 return (__s32)(seq1-seq2) < 0; in before()
110 #define after(seq2, seq1) before(seq1, seq2) argument
/linux-6.6.21/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()
/linux-6.6.21/drivers/video/
Dvgastate.c52 u8 misc, attr10, gr4, gr5, gr6, seq1, seq2, seq4; in save_vga_text() local
72 seq2 = vga_rseq(state->vgabase, VGA_SEQ_PLANE_WRITE); in save_vga_text()
123 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, seq2); in save_vga_text()
143 u8 seq1, seq2, seq4; in restore_vga_text() local
152 seq2 = vga_rseq(state->vgabase, VGA_SEQ_PLANE_WRITE); in restore_vga_text()
222 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, seq2); in restore_vga_text()
/linux-6.6.21/net/rxrpc/
Dar-internal.h1305 static inline bool before(u32 seq1, u32 seq2) in before() argument
1307 return (s32)(seq1 - seq2) < 0; in before()
1309 static inline bool before_eq(u32 seq1, u32 seq2) in before_eq() argument
1311 return (s32)(seq1 - seq2) <= 0; in before_eq()
1313 static inline bool after(u32 seq1, u32 seq2) in after() argument
1315 return (s32)(seq1 - seq2) > 0; in after()
1317 static inline bool after_eq(u32 seq1, u32 seq2) in after_eq() argument
1319 return (s32)(seq1 - seq2) >= 0; in after_eq()
/linux-6.6.21/include/net/bluetooth/
Dl2cap.h899 static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2) in __seq_offset() argument
901 if (seq1 >= seq2) in __seq_offset()
902 return seq1 - seq2; in __seq_offset()
904 return chan->tx_win_max + 1 - seq2 + seq1; in __seq_offset()
/linux-6.6.21/net/mctp/test/
Droute-test.c163 u8 tag_mask, seq2; in mctp_test_fragment() local
189 seq2 = (hdr2->flags_seq_tag >> MCTP_HDR_SEQ_SHIFT) & in mctp_test_fragment()
193 seq = seq2; in mctp_test_fragment()
196 KUNIT_EXPECT_EQ(test, seq2, seq & MCTP_HDR_SEQ_MASK); in mctp_test_fragment()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_request.h479 static inline bool i915_seqno_passed(u32 seq1, u32 seq2) in i915_seqno_passed() argument
481 return (s32)(seq1 - seq2) >= 0; in i915_seqno_passed()
/linux-6.6.21/fs/nfs/
Dnfs4_fs.h612 u32 seq2 = be32_to_cpu(s2->seqid); in nfs4_stateid_is_next() local
614 return seq2 == seq1 + 1U || (seq2 == 1U && seq1 == 0xffffffffU); in nfs4_stateid_is_next()
/linux-6.6.21/include/net/
Dtcp.h276 static inline bool before(__u32 seq1, __u32 seq2) in before() argument
278 return (__s32)(seq1-seq2) < 0; in before()
280 #define after(seq2, seq1) before(seq1, seq2) argument
283 static inline bool between(__u32 seq1, __u32 seq2, __u32 seq3) in between() argument
285 return seq3 - seq2 >= seq1 - seq2; in between()
1178 static inline bool tcp_skb_sent_after(u64 t1, u64 t2, u32 seq1, u32 seq2) in tcp_skb_sent_after() argument
1180 return t1 > t2 || (t1 == t2 && after(seq1, seq2)); in tcp_skb_sent_after()
/linux-6.6.21/net/smc/
Dsmc_cdc.c274 static inline bool smc_cdc_before(u16 seq1, u16 seq2) in smc_cdc_before() argument
276 return (s16)(seq1 - seq2) < 0; in smc_cdc_before()
/linux-6.6.21/net/mptcp/
Dprotocol.h137 static inline bool before64(__u64 seq1, __u64 seq2) in before64() argument
139 return (__s64)(seq1 - seq2) < 0; in before64()
142 #define after64(seq2, seq1) before64(seq1, seq2) argument
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c314 uint8_t misc, gr4, gr5, gr6, seq2, seq4; in nouveau_hw_save_vga_fonts() local
345 seq2 = NVReadVgaSeq(dev, 0, NV_VIO_SR_PLANE_MASK_INDEX); in nouveau_hw_save_vga_fonts()
365 NVWriteVgaSeq(dev, 0, NV_VIO_SR_PLANE_MASK_INDEX, seq2); in nouveau_hw_save_vga_fonts()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dpci.h831 __le16 seq2; member
Dpci.c1230 txwp_info->seq2 = 0; in rtw89_pci_txwd_submit()