| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_handlers.c | 137 int required_headroom, additional_header_len, csum_type = 0; in rmnet_map_egress_handler() local 145 csum_type = RMNET_FLAGS_EGRESS_MAP_CKSUMV4; in rmnet_map_egress_handler() 148 csum_type = RMNET_FLAGS_EGRESS_MAP_CKSUMV5; in rmnet_map_egress_handler() 156 if (csum_type) in rmnet_map_egress_handler() 158 csum_type); in rmnet_map_egress_handler()
|
| H A D | rmnet_map.h | 54 int csum_type);
|
| /linux/drivers/scsi/ |
| H A D | sd_dif.c | 48 bi->csum_type = BLK_INTEGRITY_CSUM_IP; in sd_dif_config_host() 50 bi->csum_type = BLK_INTEGRITY_CSUM_CRC; in sd_dif_config_host()
|
| /linux/block/ |
| H A D | blk-integrity.c | 84 switch (bi->csum_type) { in blk_get_meta_cap() 99 if (bi->csum_type != BLK_INTEGRITY_CSUM_NONE) in blk_get_meta_cap() 103 switch (bi->csum_type) { in blk_get_meta_cap() 205 switch (bi->csum_type) { in blk_integrity_profile_name()
|
| H A D | bio-integrity.c | 111 if (bi->csum_type) { in bio_integrity_setup_default() 113 if (bi->csum_type == BLK_INTEGRITY_CSUM_IP) in bio_integrity_setup_default()
|
| /linux/fs/btrfs/ |
| H A D | fs.h | 886 u32 csum_type; member 1088 const char *btrfs_super_csum_name(u16 csum_type); 1091 u16 csum_type; member 1099 void btrfs_csum(u16 csum_type, const u8 *data, size_t len, u8 *out); 1100 void btrfs_csum_init(struct btrfs_csum_ctx *ctx, u16 csum_type);
|
| H A D | disk-io.c | 76 btrfs_csum_init(&csum, fs_info->csum_type); in csum_tree_block() 139 static bool btrfs_supported_super_csum(u16 csum_type) in btrfs_supported_super_csum() argument 141 switch (csum_type) { in btrfs_supported_super_csum() 166 btrfs_csum(fs_info->csum_type, (const u8 *)disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum() 1984 static void btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash() argument 1987 switch (csum_type) { in btrfs_init_csum_hash() 2000 btrfs_super_csum_name(csum_type)); in btrfs_init_csum_hash() 3285 u16 csum_type; in open_ctree() local 3330 csum_type = btrfs_super_csum_type(disk_super); in open_ctree() 3331 if (!btrfs_supported_super_csum(csum_type)) { in open_ctree() [all …]
|
| H A D | sysfs.c | 1257 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show() local 1258 const char *csum_name = btrfs_super_csum_name(csum_type); in btrfs_checksum_show()
|
| H A D | scrub.c | 761 btrfs_csum_init(&csum, fs_info->csum_type); in scrub_verify_one_metadata()
|
| H A D | ioctl.c | 2672 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info()
|
| H A D | inode.c | 3494 btrfs_csum_init(&csum, fs_info->csum_type); in btrfs_calculate_block_csum_pages()
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | kublk.h | 88 __u8 csum_type; 306 .csum_type = ctx->csum_type, in ublk_integrity_len() 86 __u8 csum_type; global() member
|
| H A D | kublk.c | 2159 .csum_type = LBMD_PI_CSUM_NONE, in main() 2247 ctx.csum_type = LBMD_PI_CSUM_IP; in main() 2249 ctx.csum_type = LBMD_PI_CSUM_CRC16_T10DIF; in main() 2251 ctx.csum_type = LBMD_PI_CSUM_CRC64_NVME; in main() 2325 ctx.csum_type != LBMD_PI_CSUM_NONE || in main()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | sge.c | 1082 int csum_type; in hwcsum() local 1087 csum_type = TX_CSUM_TCPIP; in hwcsum() 1089 csum_type = TX_CSUM_UDPIP; in hwcsum() 1105 csum_type = TX_CSUM_TCPIP6; in hwcsum() 1107 csum_type = TX_CSUM_UDPIP6; in hwcsum() 1112 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum() 1120 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum() 1124 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
|
| /linux/drivers/block/ |
| H A D | ublk_drv.c | 862 static int ublk_integrity_pi_tuple_size(u8 csum_type) in ublk_integrity_pi_tuple_size() argument 864 switch (csum_type) { in ublk_integrity_pi_tuple_size() 877 static enum blk_integrity_checksum ublk_integrity_csum_type(u8 csum_type) in ublk_integrity_csum_type() argument 879 switch (csum_type) { in ublk_integrity_csum_type() 975 int pi_tuple_size = ublk_integrity_pi_tuple_size(p->csum_type); in ublk_validate_params() 986 if (p->csum_type == LBMD_PI_CSUM_NONE && in ublk_validate_params() 4480 int pi_tuple_size = ublk_integrity_pi_tuple_size(p->csum_type); in ublk_ctrl_start_dev() 4486 .csum_type = ublk_integrity_csum_type(p->csum_type), in ublk_ctrl_start_dev()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | sge.c | 1146 int csum_type; in hwcsum() local 1166 csum_type = TX_CSUM_TCPIP; in hwcsum() 1168 csum_type = TX_CSUM_UDPIP; in hwcsum() 1181 csum_type = TX_CSUM_TCPIP6; in hwcsum() 1183 csum_type = TX_CSUM_UDPIP6; in hwcsum() 1188 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum() 1208 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum() 1212 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net.h | 259 u8 csum_type; member
|
| /linux/drivers/nvme/host/ |
| H A D | core.c | 1847 bi->csum_type = BLK_INTEGRITY_CSUM_CRC; in nvme_init_integrity() 1852 bi->csum_type = BLK_INTEGRITY_CSUM_CRC64; in nvme_init_integrity() 1864 bi->csum_type = BLK_INTEGRITY_CSUM_CRC; in nvme_init_integrity() 1870 bi->csum_type = BLK_INTEGRITY_CSUM_CRC64; in nvme_init_integrity() 1885 if (bi->csum_type) { in nvme_init_integrity()
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_en.c | 348 unsigned int csum_type; in mana_start_xmit() local 466 csum_type = mana_checksum_info(skb); in mana_start_xmit() 472 if (csum_type == IPPROTO_TCP) { in mana_start_xmit() 479 } else if (csum_type == IPPROTO_UDP) { in mana_start_xmit()
|