Lines Matching refs:extent_type
1874 u8 extent_type;
1880 extent_type = btrfs_file_extent_type(leaf, fi);
1882 if (extent_type == BTRFS_FILE_EXTENT_INLINE)
1891 extent_type == BTRFS_FILE_EXTENT_REG)
2014 int extent_type;
2074 extent_type = 0;
2084 extent_type = btrfs_file_extent_type(leaf, fi);
2086 ASSERT(extent_type < BTRFS_NR_FILE_EXTENT_TYPES);
2087 if (WARN_ON(extent_type >= BTRFS_NR_FILE_EXTENT_TYPES)) {
2148 is_prealloc = extent_type == BTRFS_FILE_EXTENT_PREALLOC;
6822 int extent_type = -1;
6898 extent_type = btrfs_file_extent_type(leaf, item);
6901 if (extent_type == BTRFS_FILE_EXTENT_REG ||
6902 extent_type == BTRFS_FILE_EXTENT_PREALLOC) {
6913 } else if (extent_type == BTRFS_FILE_EXTENT_INLINE) {
6949 if (extent_type == BTRFS_FILE_EXTENT_REG ||
6950 extent_type == BTRFS_FILE_EXTENT_PREALLOC) {
6952 } else if (extent_type == BTRFS_FILE_EXTENT_INLINE) {