Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Ddisk-io.h10 #define BTRFS_SUPER_INFO_SIZE 4096 macro
Dcheck-integrity.c778 if (dev_bytenr + BTRFS_SUPER_INFO_SIZE > device->commit_total_bytes) in btrfsic_process_superblock_dev_mirror()
781 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_superblock_dev_mirror()
1775 BTRFS_SUPER_INFO_SIZE) { in btrfsic_process_written_block()
1780 BUG_ON(BTRFS_SUPER_INFO_SIZE & (PAGE_SIZE - 1)); in btrfsic_process_written_block()
1781 processed_len = BTRFS_SUPER_INFO_SIZE; in btrfsic_process_written_block()
1946 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_block()
2258 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_superblock()
2268 BTRFS_SUPER_INFO_SIZE, in btrfsic_process_written_superblock()
Ddisk-io.c395 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum()
3393 if (bytenr + BTRFS_SUPER_INFO_SIZE >= i_size_read(bdev->bd_inode)) in btrfs_read_dev_one_super()
3396 bh = __bread(bdev, bytenr / BTRFS_BDEV_BLOCKSIZE, BTRFS_SUPER_INFO_SIZE); in btrfs_read_dev_one_super()
3478 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in write_dev_supers()
3486 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in write_dev_supers()
3491 BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
3500 memcpy(bh->b_data, sb, BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
3544 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in wait_dev_supers()
3550 BTRFS_SUPER_INFO_SIZE); in wait_dev_supers()
Dsuper.c1562 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
1563 fs_info->super_for_commit = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_KERNEL); in btrfs_mount_root()
Dscrub.c1939 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super()
3727 if (bytenr + BTRFS_SUPER_INFO_SIZE > in scrub_supers()
3731 ret = scrub_pages(sctx, bytenr, BTRFS_SUPER_INFO_SIZE, bytenr, in scrub_supers()
Dvolumes.c6686 ASSERT(BTRFS_SUPER_INFO_SIZE <= fs_info->nodesize); in btrfs_read_sys_array()
6709 if (PAGE_SIZE > BTRFS_SUPER_INFO_SIZE) in btrfs_read_sys_array()
6712 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
Dextent-tree.c1919 u64 sb_end = sb_start + BTRFS_SUPER_INFO_SIZE; in btrfs_issue_discard()
1924 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) in btrfs_issue_discard()