Home
last modified time | relevance | path

Searched refs:BTRFS_SUPER_INFO_SIZE (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/fs/btrfs/
Dfs.h24 #define BTRFS_SUPER_INFO_SIZE 4096 macro
25 static_assert(sizeof(struct btrfs_super_block) == BTRFS_SUPER_INFO_SIZE);
Dzoned.c66 #define SUPER_INFO_SECTORS ((u64)BTRFS_SUPER_INFO_SIZE >> SECTOR_SHIFT)
130 u64 bytenr = ALIGN_DOWN(zone_end, BTRFS_SUPER_INFO_SIZE) - in sb_write_pointer()
131 BTRFS_SUPER_INFO_SIZE; in sb_write_pointer()
865 BTRFS_SUPER_INFO_SIZE); in sb_log_location()
867 wp -= BTRFS_SUPER_INFO_SIZE; in sb_log_location()
1089 sb_pos + BTRFS_SUPER_INFO_SIZE <= pos)) { in btrfs_find_allocatable_zones()
1091 pos = ALIGN(sb_pos + BTRFS_SUPER_INFO_SIZE, in btrfs_find_allocatable_zones()
Dcheck-integrity.c718 if (dev_bytenr + BTRFS_SUPER_INFO_SIZE > device->commit_total_bytes) in btrfsic_process_superblock_dev_mirror()
1722 BTRFS_SUPER_INFO_SIZE) { in btrfsic_process_written_block()
1727 BUG_ON(!PAGE_ALIGNED(BTRFS_SUPER_INFO_SIZE)); in btrfsic_process_written_block()
1728 processed_len = BTRFS_SUPER_INFO_SIZE; in btrfsic_process_written_block()
1890 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_block()
2166 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_superblock()
2176 BTRFS_SUPER_INFO_SIZE, in btrfsic_process_written_superblock()
Ddisk-io.c158 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE, result); in btrfs_check_super_csum()
3681 if (bytenr + BTRFS_SUPER_INFO_SIZE >= bdev_nr_bytes(bdev)) in btrfs_read_dev_one_super()
3694 (bytenr + BTRFS_SUPER_INFO_SIZE) >> PAGE_SHIFT); in btrfs_read_dev_one_super()
3786 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in write_dev_supers()
3793 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE, in write_dev_supers()
3810 memcpy(disk_super, sb, BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
3823 __bio_add_page(bio, page, BTRFS_SUPER_INFO_SIZE, in write_dev_supers()
3873 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in wait_dev_supers()
Dsuper.c1476 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
1477 fs_info->super_for_commit = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
Dscrub.c2690 __bio_add_page(&bio, page, BTRFS_SUPER_INFO_SIZE, 0); in scrub_one_super()
2743 if (bytenr + BTRFS_SUPER_INFO_SIZE > in scrub_supers()
Dextent-tree.c1266 u64 sb_end = sb_start + BTRFS_SUPER_INFO_SIZE; in btrfs_issue_discard()
1271 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) in btrfs_issue_discard()
Dvolumes.c7066 ASSERT(BTRFS_SUPER_INFO_SIZE <= fs_info->nodesize); in btrfs_read_sys_array()
7078 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()