/openbmc/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);
|
H A D | rmnet_map_data.c | 477 int csum_type) in rmnet_map_checksum_uplink_packet() argument 479 switch (csum_type) { in rmnet_map_checksum_uplink_packet()
|
/openbmc/u-boot/fs/btrfs/ |
H A D | super.c | 58 u16 csum_type = le16_to_cpu(disk_sb->csum_type); in btrfs_check_super_csum() local 60 if (csum_type == BTRFS_CSUM_TYPE_CRC32) { in btrfs_check_super_csum()
|
H A D | conv-funcs.h | 169 incompat_flags, csum_type, dev_item, cache_generation,
|
H A D | ctree.h | 170 __u16 csum_type; member
|
/openbmc/linux/net/netfilter/ |
H A D | nft_payload.c | 803 u8 csum_type; member 903 if ((priv->csum_type == NFT_PAYLOAD_CSUM_INET || priv->csum_flags) && in nft_payload_set_eval() 913 if (priv->csum_type == NFT_PAYLOAD_CSUM_INET && in nft_payload_set_eval() 926 if (priv->csum_type == NFT_PAYLOAD_CSUM_SCTP && in nft_payload_set_eval() 944 u32 csum_offset, csum_type = NFT_PAYLOAD_CSUM_NONE; in nft_payload_set_init() local 952 csum_type = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_TYPE])); in nft_payload_set_init() 971 switch (csum_type) { in nft_payload_set_init() 985 priv->csum_type = csum_type; in nft_payload_set_init() 1000 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_TYPE, htonl(priv->csum_type)) || in nft_payload_set_dump()
|
/openbmc/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()
|
/openbmc/linux/fs/btrfs/ |
H A D | ctree.h | 722 const char *btrfs_super_csum_name(u16 csum_type); 723 const char *btrfs_super_csum_driver(u16 csum_type);
|
H A D | disk-io.c | 127 static bool btrfs_supported_super_csum(u16 csum_type) in btrfs_supported_super_csum() argument 129 switch (csum_type) { in btrfs_supported_super_csum() 2006 static int btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash() argument 2009 const char *csum_driver = btrfs_super_csum_driver(csum_type); in btrfs_init_csum_hash() 2026 switch (csum_type) { in btrfs_init_csum_hash() 2039 btrfs_super_csum_name(csum_type), in btrfs_init_csum_hash() 3171 u16 csum_type; in open_ctree() local 3215 csum_type = btrfs_super_csum_type(disk_super); in open_ctree() 3216 if (!btrfs_supported_super_csum(csum_type)) { in open_ctree() 3218 csum_type); in open_ctree() [all …]
|
H A D | super.c | 2262 u16 csum_type; in check_dev_super() local 2278 csum_type = btrfs_super_csum_type(sb); in check_dev_super() 2279 if (csum_type != btrfs_super_csum_type(fs_info->super_copy)) { in check_dev_super() 2281 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
|
H A D | ctree.c | 166 const char *btrfs_super_csum_name(u16 csum_type) in btrfs_super_csum_name() argument 169 return btrfs_csums[csum_type].name; in btrfs_super_csum_name() 176 const char *btrfs_super_csum_driver(u16 csum_type) in btrfs_super_csum_driver() argument 179 return btrfs_csums[csum_type].driver[0] ? in btrfs_super_csum_driver() 180 btrfs_csums[csum_type].driver : in btrfs_super_csum_driver() 181 btrfs_csums[csum_type].name; in btrfs_super_csum_driver()
|
H A D | sysfs.c | 1146 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show() local 1149 btrfs_super_csum_name(csum_type), in btrfs_checksum_show()
|
H A D | accessors.h | 912 csum_type, 16);
|
H A D | ioctl.c | 2856 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | dp.c | 668 if (meta->csum_type) { in nfp_nfd3_rx_csum() 669 skb->ip_summed = meta->csum_type; in nfp_nfd3_rx_csum() 777 meta->csum_type = CHECKSUM_COMPLETE; in nfp_nfd3_parse_meta()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | dp.c | 681 if (meta->csum_type) { in nfp_nfdk_rx_csum() 682 skb->ip_summed = meta->csum_type; in nfp_nfdk_rx_csum() 777 meta->csum_type = CHECKSUM_COMPLETE; in nfp_nfdk_parse_meta()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1160 int csum_type; in hwcsum() local 1180 csum_type = TX_CSUM_TCPIP; in hwcsum() 1182 csum_type = TX_CSUM_UDPIP; in hwcsum() 1195 csum_type = TX_CSUM_TCPIP6; in hwcsum() 1197 csum_type = TX_CSUM_UDPIP6; in hwcsum() 1202 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum() 1222 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum() 1226 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
|
/openbmc/linux/include/uapi/linux/ |
H A D | btrfs_tree.h | 681 __le16 csum_type; member
|
H A D | btrfs.h | 283 __u16 csum_type; /* out */ member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net.h | 259 u8 csum_type; member
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 232 unsigned int csum_type; in mana_start_xmit() local 336 csum_type = mana_checksum_info(skb); in mana_start_xmit() 342 if (csum_type == IPPROTO_TCP) { in mana_start_xmit() 349 } else if (csum_type == IPPROTO_UDP) { in mana_start_xmit()
|