Home
last modified time | relevance | path

Searched refs:csum_type (Results 1 – 3 of 3) sorted by relevance

/fs/btrfs/
Ddisk-io.c351 static bool btrfs_supported_super_csum(u16 csum_type) in btrfs_supported_super_csum() argument
353 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() argument
2224 const char *csum_name = btrfs_super_csum_name(csum_type); in btrfs_init_csum_hash()
2589 u16 csum_type; in open_ctree() local
2799 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()
Dctree.h248 __le16 csum_type; member
2157 csum_type, 16);
2165 const char *btrfs_super_csum_name(u16 csum_type);
Dctree.c48 const char *btrfs_super_csum_name(u16 csum_type) in btrfs_super_csum_name() argument
51 return btrfs_csums[csum_type].name; in btrfs_super_csum_name()