Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Ddisk-io.h10 #define BTRFS_SUPER_INFO_SIZE 4096 macro
Dcheck-integrity.c779 if (dev_bytenr + BTRFS_SUPER_INFO_SIZE > device->commit_total_bytes) in btrfsic_process_superblock_dev_mirror()
782 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_superblock_dev_mirror()
1780 BTRFS_SUPER_INFO_SIZE) { in btrfsic_process_written_block()
1785 BUG_ON(!PAGE_ALIGNED(BTRFS_SUPER_INFO_SIZE)); in btrfsic_process_written_block()
1786 processed_len = BTRFS_SUPER_INFO_SIZE; in btrfsic_process_written_block()
1951 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_block()
2263 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_superblock()
2273 BTRFS_SUPER_INFO_SIZE, in btrfsic_process_written_superblock()
Ddisk-io.c382 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum()
3416 if (bytenr + BTRFS_SUPER_INFO_SIZE >= i_size_read(bdev->bd_inode)) in btrfs_read_dev_one_super()
3419 bh = __bread(bdev, bytenr / BTRFS_BDEV_BLOCKSIZE, BTRFS_SUPER_INFO_SIZE); in btrfs_read_dev_one_super()
3504 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in write_dev_supers()
3512 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in write_dev_supers()
3517 BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
3526 memcpy(bh->b_data, sb, BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
3570 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in wait_dev_supers()
3576 BTRFS_SUPER_INFO_SIZE); in wait_dev_supers()
Dsuper.c1509 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
1510 fs_info->super_for_commit = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
Dscrub.c1943 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super()
3733 if (bytenr + BTRFS_SUPER_INFO_SIZE > in scrub_supers()
3737 ret = scrub_pages(sctx, bytenr, BTRFS_SUPER_INFO_SIZE, bytenr, in scrub_supers()
Dvolumes.c7022 ASSERT(BTRFS_SUPER_INFO_SIZE <= fs_info->nodesize); in btrfs_read_sys_array()
7045 if (PAGE_SIZE > BTRFS_SUPER_INFO_SIZE) in btrfs_read_sys_array()
7048 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
Dextent-tree.c1258 u64 sb_end = sb_start + BTRFS_SUPER_INFO_SIZE; in btrfs_issue_discard()
1263 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) in btrfs_issue_discard()