Searched refs:csums (Results 1 – 2 of 2) sorted by relevance
89 u8 *csums; member3442 static u8 *btrfs_csum_ptr(const struct btrfs_fs_info *fs_info, u8 *csums, u64 offset) in btrfs_csum_ptr() argument3446 return csums + offset_in_sectors * fs_info->csum_size; in btrfs_csum_ptr()7823 kfree(dip->csums); in btrfs_dio_private_put()7937 btrfs_bio(bio)->csum = btrfs_csum_ptr(fs_info, dip->csums, in btrfs_submit_dio_bio()7971 dip->csums = NULL; in btrfs_submit_direct()7982 dip->csums = kcalloc(nr_sectors, fs_info->csum_size, GFP_NOFS); in btrfs_submit_direct()7983 if (!dip->csums) in btrfs_submit_direct()7986 status = btrfs_lookup_bio_sums(inode, dio_bio, dip->csums); in btrfs_submit_direct()
1268 const netdev_features_t csums = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mvpp2_set_hw_csum() local1277 port->dev->features &= ~csums; in mvpp2_set_hw_csum()1278 port->dev->hw_features &= ~csums; in mvpp2_set_hw_csum()1280 port->dev->features |= csums; in mvpp2_set_hw_csum()1281 port->dev->hw_features |= csums; in mvpp2_set_hw_csum()