Searched refs:cksum_offset (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_cksum.h | 14 xfs_start_cksum_safe(char *buffer, size_t length, unsigned long cksum_offset) in xfs_start_cksum_safe() argument 20 crc = crc32c(XFS_CRC_SEED, buffer, cksum_offset); in xfs_start_cksum_safe() 26 return crc32c(crc, &buffer[cksum_offset + sizeof(__be32)], in xfs_start_cksum_safe() 27 length - (cksum_offset + sizeof(__be32))); in xfs_start_cksum_safe() 35 xfs_start_cksum_update(char *buffer, size_t length, unsigned long cksum_offset) in xfs_start_cksum_update() argument 38 *(__le32 *)(buffer + cksum_offset) = 0; in xfs_start_cksum_update() 64 xfs_update_cksum(char *buffer, size_t length, unsigned long cksum_offset) in xfs_update_cksum() argument 66 uint32_t crc = xfs_start_cksum_update(buffer, length, cksum_offset); in xfs_update_cksum() 68 *(__le32 *)(buffer + cksum_offset) = xfs_end_cksum(crc); in xfs_update_cksum() 75 xfs_verify_cksum(char *buffer, size_t length, unsigned long cksum_offset) in xfs_verify_cksum() argument [all …]
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_buf.h | 331 xfs_buf_verify_cksum(struct xfs_buf *bp, unsigned long cksum_offset) in xfs_buf_verify_cksum() argument 334 cksum_offset); in xfs_buf_verify_cksum() 338 xfs_buf_update_cksum(struct xfs_buf *bp, unsigned long cksum_offset) in xfs_buf_update_cksum() argument 341 cksum_offset); in xfs_buf_update_cksum()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge_mcp.h | 83 u8 cksum_offset; /* where to start computing cksum */ member
|
D | myri10ge.c | 2627 u16 pseudo_hdr_offset, cksum_offset, queue; in myri10ge_xmit() local 2656 cksum_offset = 0; in myri10ge_xmit() 2661 cksum_offset = skb_checksum_start_offset(skb); in myri10ge_xmit() 2662 pseudo_hdr_offset = cksum_offset + skb->csum_offset; in myri10ge_xmit() 2665 if (unlikely(!mss && (cksum_offset > 255 || in myri10ge_xmit() 2669 cksum_offset = 0; in myri10ge_xmit() 2693 cksum_offset = tcp_hdrlen(skb); in myri10ge_xmit() 2801 req->cksum_offset = cksum_offset; in myri10ge_xmit() 2811 if (cksum_offset != 0 && !(mss && skb_is_gso_v6(skb))) { in myri10ge_xmit() 2812 if (unlikely(cksum_offset > seglen)) in myri10ge_xmit() [all …]
|