Searched refs:csum_type (Results 1 – 3 of 3) sorted by relevance
351 static bool btrfs_supported_super_csum(u16 csum_type) in btrfs_supported_super_csum() argument353 switch (csum_type) { in btrfs_supported_super_csum()2221 static int btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash() argument2224 const char *csum_name = btrfs_super_csum_name(csum_type); in btrfs_init_csum_hash()2589 u16 csum_type; in open_ctree() local2799 csum_type = btrfs_super_csum_type((struct btrfs_super_block *)bh->b_data); in open_ctree()2800 if (!btrfs_supported_super_csum(csum_type)) { in open_ctree()2802 csum_type); in open_ctree()2808 ret = btrfs_init_csum_hash(fs_info, csum_type); in open_ctree()
248 __le16 csum_type; member2157 csum_type, 16);2165 const char *btrfs_super_csum_name(u16 csum_type);
48 const char *btrfs_super_csum_name(u16 csum_type) in btrfs_super_csum_name() argument51 return btrfs_csums[csum_type].name; in btrfs_super_csum_name()