Home
last modified time | relevance | path

Searched refs:subpage_info (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/fs/btrfs/
Dsubpage.c89 void btrfs_init_subpage_info(struct btrfs_subpage_info *subpage_info, u32 sectorsize) in btrfs_init_subpage_info() argument
97 subpage_info->bitmap_nr_bits = nr_bits; in btrfs_init_subpage_info()
99 subpage_info->uptodate_offset = cur; in btrfs_init_subpage_info()
102 subpage_info->error_offset = cur; in btrfs_init_subpage_info()
105 subpage_info->dirty_offset = cur; in btrfs_init_subpage_info()
108 subpage_info->writeback_offset = cur; in btrfs_init_subpage_info()
111 subpage_info->ordered_offset = cur; in btrfs_init_subpage_info()
114 subpage_info->checked_offset = cur; in btrfs_init_subpage_info()
117 subpage_info->total_nr_bits = cur; in btrfs_init_subpage_info()
167 BITS_TO_LONGS(fs_info->subpage_info->total_nr_bits)); in btrfs_alloc_subpage()
[all …]
Dsubpage.h79 void btrfs_init_subpage_info(struct btrfs_subpage_info *subpage_info, u32 sectorsize);
Ddisk-io.c1702 kfree(fs_info->subpage_info); in btrfs_free_fs_info()
3610 struct btrfs_subpage_info *subpage_info; in open_ctree() local
3626 subpage_info = kzalloc(sizeof(*subpage_info), GFP_KERNEL); in open_ctree()
3627 if (!subpage_info) in open_ctree()
3629 btrfs_init_subpage_info(subpage_info, sectorsize); in open_ctree()
3630 fs_info->subpage_info = subpage_info; in open_ctree()
Dextent_io.c3933 struct btrfs_subpage_info *spi = fs_info->subpage_info; in find_next_dirty_byte()
4694 while (bit_start < fs_info->subpage_info->bitmap_nr_bits) { in submit_eb_subpage()
4710 if (!test_bit(bit_start + fs_info->subpage_info->dirty_offset, in submit_eb_subpage()
Dctree.h946 struct btrfs_subpage_info *subpage_info; member