Lines Matching refs:subpage_info
90 void btrfs_init_subpage_info(struct btrfs_subpage_info *subpage_info, u32 sectorsize) in btrfs_init_subpage_info() argument
98 subpage_info->bitmap_nr_bits = nr_bits; in btrfs_init_subpage_info()
100 subpage_info->uptodate_offset = cur; in btrfs_init_subpage_info()
103 subpage_info->error_offset = cur; in btrfs_init_subpage_info()
106 subpage_info->dirty_offset = cur; in btrfs_init_subpage_info()
109 subpage_info->writeback_offset = cur; in btrfs_init_subpage_info()
112 subpage_info->ordered_offset = cur; in btrfs_init_subpage_info()
115 subpage_info->checked_offset = cur; in btrfs_init_subpage_info()
118 subpage_info->total_nr_bits = cur; in btrfs_init_subpage_info()
168 BITS_TO_LONGS(fs_info->subpage_info->total_nr_bits)); in btrfs_alloc_subpage()
398 start_bit += fs_info->subpage_info->name##_offset; \
404 fs_info->subpage_info->name##_offset, \
405 fs_info->subpage_info->bitmap_nr_bits)
409 fs_info->subpage_info->name##_offset, \
410 fs_info->subpage_info->bitmap_nr_bits)