Home
last modified time | relevance | path

Searched refs:csum2 (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/include/net/
H A Dchecksum.h96 csum_block_add(__wsum csum, __wsum csum2, int offset) in csum_block_add() argument
98 return csum_add(csum, csum_shift(csum2, offset)); in csum_block_add()
102 csum_block_add_ext(__wsum csum, __wsum csum2, int offset, int len) in csum_block_add_ext() argument
104 return csum_block_add(csum, csum2, offset); in csum_block_add_ext()
108 csum_block_sub(__wsum csum, __wsum csum2, int offset) in csum_block_sub() argument
110 return csum_block_add(csum, ~csum2, offset); in csum_block_sub()
/openbmc/linux/net/sunrpc/
H A Dsocklib.c69 __wsum csum2; in xdr_skb_read_and_csum_bits() local
74 csum2 = skb_copy_and_csum_bits(desc->skb, pos, to, len); in xdr_skb_read_and_csum_bits()
75 desc->csum = csum_block_add(desc->csum, csum2, pos); in xdr_skb_read_and_csum_bits()
185 __wsum csum2; in csum_partial_copy_to_xdr() local
186 csum2 = skb_checksum(skb, desc.offset, skb->len - desc.offset, 0); in csum_partial_copy_to_xdr()
187 desc.csum = csum_block_add(desc.csum, csum2, desc.offset); in csum_partial_copy_to_xdr()
/openbmc/linux/include/net/sctp/
H A Dchecksum.h39 static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2, in sctp_csum_combine() argument
43 (__force __u32)csum2, len); in sctp_csum_combine()
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_traceonoff_triggers.tc95 csum2=`md5sum trace`
97 if [ "$csum1" != "$csum2" ]; then
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw.h681 static inline __wsum siw_csum_combine(__wsum csum, __wsum csum2, int offset, in siw_csum_combine() argument
685 (__force __u32)csum2, len); in siw_csum_combine()
/openbmc/linux/net/core/
H A Dskbuff.c3310 __wsum csum2; in __skb_checksum() local
3320 csum2 = INDIRECT_CALL_1(ops->update, in __skb_checksum()
3326 csum2, pos, p_len); in __skb_checksum()
3344 __wsum csum2; in __skb_checksum() local
3347 csum2 = __skb_checksum(frag_iter, offset - start, in __skb_checksum()
3350 csum, csum2, pos, copy); in __skb_checksum()
3410 __wsum csum2; in skb_copy_and_csum_bits() local
3424 csum = csum_block_add(csum, csum2, pos); in skb_copy_and_csum_bits()
3437 __wsum csum2; in skb_copy_and_csum_bits() local
3446 csum2 = skb_copy_and_csum_bits(frag_iter, in skb_copy_and_csum_bits()
[all …]
/openbmc/linux/include/linux/
H A Djbd2.h1380 JBD2_FEATURE_INCOMPAT_FUNCS(csum2, CSUM_V2)
H A Dskbuff.h4055 __wsum (*combine)(__wsum csum, __wsum csum2, int offset, int len);
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c494 __wsum csum, csum2; in enetc_map_tx_tso_buffs() local
540 csum2 = csum_partial(tso.data, size, 0); in enetc_map_tx_tso_buffs()
541 csum = csum_block_add(csum, csum2, pos); in enetc_map_tx_tso_buffs()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dskge.h2370 u16 csum2; member
H A Dskge.c961 rd->csum2 = 0; in skge_rx_setup()
979 rd->csum2 = 0; in skge_rx_reuse()
3220 skb = skge_rx_get(dev, e, control, rd->status, rd->csum2); in skge_poll()