Home
last modified time | relevance | path

Searched refs:csums (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dinode.c89 u8 *csums; member
3442 static u8 *btrfs_csum_ptr(const struct btrfs_fs_info *fs_info, u8 *csums, u64 offset) in btrfs_csum_ptr() argument
3446 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()
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1268 const netdev_features_t csums = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mvpp2_set_hw_csum() local
1277 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()