Searched refs:cksum_offset (Results 1 – 4 of 4) sorted by relevance
/linux/fs/xfs/libxfs/ |
A 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() 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 77 uint32_t crc = xfs_start_cksum_safe(buffer, length, cksum_offset); in xfs_verify_cksum() [all …]
|
/linux/fs/xfs/ |
A D | xfs_buf.h | 325 xfs_buf_verify_cksum(struct xfs_buf *bp, unsigned long cksum_offset) in xfs_buf_verify_cksum() argument 328 cksum_offset); in xfs_buf_verify_cksum() 332 xfs_buf_update_cksum(struct xfs_buf *bp, unsigned long cksum_offset) in xfs_buf_update_cksum() argument 335 cksum_offset); in xfs_buf_update_cksum()
|
/linux/drivers/net/ethernet/myricom/myri10ge/ |
A D | myri10ge_mcp.h | 83 u8 cksum_offset; /* where to start computing cksum */ member
|
A D | myri10ge.c | 2633 u16 pseudo_hdr_offset, cksum_offset, queue; in myri10ge_xmit() local 2662 cksum_offset = 0; in myri10ge_xmit() 2667 cksum_offset = skb_checksum_start_offset(skb); in myri10ge_xmit() 2668 pseudo_hdr_offset = cksum_offset + skb->csum_offset; in myri10ge_xmit() 2671 if (unlikely(!mss && (cksum_offset > 255 || in myri10ge_xmit() 2675 cksum_offset = 0; in myri10ge_xmit() 2699 cksum_offset = tcp_hdrlen(skb); in myri10ge_xmit() 2807 req->cksum_offset = cksum_offset; in myri10ge_xmit() 2818 if (unlikely(cksum_offset > seglen)) in myri10ge_xmit() 2819 cksum_offset -= seglen; in myri10ge_xmit() [all …]
|
Completed in 14 milliseconds