Searched refs:csum (Results 176 - 200 of 386) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_82575.h78 __le16 csum; /* Packet Checksum */ member in struct:e1000_adv_rx_desc::__anon610::__anon611::__anon613::__anon614
/linux-master/drivers/net/ethernet/intel/igbvf/
H A Dvf.h55 __le16 csum; /* Packet Checksum */ member in struct:e1000_adv_rx_desc::__anon412::__anon413::__anon416::__anon417
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_ipip.sh137 )"E7:E6:"$( : IP header csum
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Ddefines.h222 __le16 csum; /* Packet Checksum */ member in struct:ixgbe_adv_rx_desc::__anon1246::__anon1247::__anon1250::__anon1251
/linux-master/drivers/scsi/fnic/
H A Dvnic_devcmd.h417 u32 csum; /* checksum over following words */ member in struct:vnic_devcmd_notify
H A Dvnic_dev.c794 u32 csum; local
800 csum = 0;
805 csum += words[i];
806 } while (csum != words[0]);
/linux-master/drivers/s390/scsi/
H A Dzfcp_sysfs.c553 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \
559 csum = lat->_name.channel.sum * adapter->timer_ticks; \
568 do_div(csum, 1000); \
573 fmin, fmax, fsum, cmin, cmax, csum, cc); \
/linux-master/drivers/crypto/cavium/zip/
H A Dzip_crypto.c69 zip_ops->csum = 1; /* Adler checksum desired */
/linux-master/include/rdma/
H A Dib_pack.h234 __be16 csum; member in struct:ib_unpacked_udp
/linux-master/drivers/md/persistent-data/
H A Ddm-array.c25 __le32 csum; member in struct:array_block
48 bh_le->csum = cpu_to_le32(dm_bm_checksum(&bh_le->max_entries,
70 if (csum_disk != bh_le->csum) {
71 DMERR_LIMIT("%s failed: csum %u != wanted %u", __func__,
73 (unsigned int) le32_to_cpu(bh_le->csum));
/linux-master/drivers/cdx/controller/
H A Dmcdi.c209 u8 csum = 0; local
213 csum += p[i];
217 csum += p[i];
219 return ~csum & 0xff;
/linux-master/drivers/md/bcache/
H A Dmovinggc.c105 op->csum = KEY_CSUM(&io->w->key);
/linux-master/drivers/net/ethernet/sfc/
H A Drx_common.c512 unsigned int n_frags, u8 *eh, __wsum csum)
531 if (csum) {
532 skb->csum = csum;
511 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, __wsum csum) argument
/linux-master/drivers/net/ethernet/sfc/siena/
H A Drx_common.c514 unsigned int n_frags, u8 *eh, __wsum csum)
532 if (csum) {
533 skb->csum = csum;
512 efx_siena_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, __wsum csum) argument
/linux-master/tools/testing/selftests/net/
H A DMakefile84 TEST_GEN_FILES += csum
/linux-master/net/core/
H A Dgro.c487 NAPI_GRO_CB(skb)->csum = skb->csum;
761 /* NAPI_GRO_CB(skb)->csum holds pseudo checksum */
762 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum));
770 NAPI_GRO_CB(skb)->csum = wsum;
/linux-master/net/mptcp/
H A Dsubflow.c971 __sum16 csum; local
982 * DSS mapping and accumulating the related csum.
983 * Preserve the accoumlate csum across multiple calls, to compute
984 * the csum only once
991 /* if the current skb has not been accounted yet, csum its contents
995 __wsum csum; local
998 csum = skb_checksum(skb, offset, len, 0);
999 subflow->map_data_csum = csum_block_add(subflow->map_data_csum, csum,
1017 /* not enough data to validate the csum */
1032 csum
[all...]
/linux-master/fs/bcachefs/
H A Djournal_io.c61 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) argument
64 *csum = (struct bch_csum) {};
68 *csum = csum_vstruct(c, JSET_CSUM_TYPE(j), journal_nonce(j), j);
69 return !bch2_crc_cmp(j->csum, *csum);
890 "%s sector %llu seq %llu: journal entry with unknown csum type %llu",
1072 struct bch_csum csum; local
1073 csum_good = jset_csum_good(c, j, &csum);
1079 bch2_csum_err_msg(&err, csum_type, j->csum, csum),
[all...]
H A Dsuper-io.c672 struct bch_csum csum = csum_vstruct(NULL, csum_type, null_nonce(), sb->sb); local
673 if (bch2_crc_cmp(csum, sb->sb->csum)) {
674 bch2_csum_err_msg(err, csum_type, sb->sb->csum, csum);
900 sb->csum = csum_vstruct(c, BCH_SB_CSUM_TYPE(sb),
/linux-master/fs/ext4/
H A Dinode.c56 __u32 csum; local
61 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, offset);
62 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, csum_size);
64 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset,
69 csum = ext4_chksum(sbi, csum, (__u8 *)raw +
73 csum = ext4_chksum(sbi, csum, (__u
108 __u32 csum; local
4734 __u32 csum; local
[all...]
/linux-master/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c1820 credit += (__force u32)skb->csum;
1847 u32 csum; local
1856 csum = (__force u32)p->csum;
1857 if (unlikely(credits < csum)) {
1861 csum);
1862 p->csum = (__force __wsum)(csum - credits);
1867 credits -= csum;
/linux-master/drivers/input/mouse/
H A Delan_i2c_i2c.c368 bool iap, u16 *csum)
383 *csum = le16_to_cpup((__le16 *)val);
367 elan_i2c_get_checksum(struct i2c_client *client, bool iap, u16 *csum) argument
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_defs.h151 u32 ext1:1; /* set to 1 to indicate inner csum/tso, vmxnet3 v7 */
153 u32 oco:1; /* Outer csum offload */
159 u32 oco:1; /* Outer csum offload */
161 u32 ext1:1; /* set to 1 to indicate inner csum/tso, vmxnet3 v7 */
306 u32 csum:16; member in struct:Vmxnet3_RxCompDesc
308 u32 csum:16; member in struct:Vmxnet3_RxCompDesc
364 /* csum OK for TCP/UDP pkts over IP */
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h256 __le16 csum; member in union:hns3_desc::__anon1096
451 __le16 csum; member in union:ring_stats::__anon1108
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw.h679 static inline __wsum siw_csum_combine(__wsum csum, __wsum csum2, int offset, argument
682 return (__force __wsum)__crc32c_le_combine((__force __u32)csum,

Completed in 288 milliseconds

1234567891011>>