Searched refs:BTRFS_SUPER_INFO_SIZE (Results 1 – 7 of 7) sorted by relevance
/fs/btrfs/ |
D | disk-io.h | 23 #define BTRFS_SUPER_INFO_SIZE 4096 macro
|
D | check-integrity.c | 808 if (dev_bytenr + BTRFS_SUPER_INFO_SIZE > device->commit_total_bytes) in btrfsic_process_superblock_dev_mirror() 811 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_superblock_dev_mirror() 1855 BTRFS_SUPER_INFO_SIZE) { in btrfsic_process_written_block() 1861 BUG_ON(BTRFS_SUPER_INFO_SIZE & (PAGE_CACHE_SIZE - 1)); in btrfsic_process_written_block() 1862 processed_len = BTRFS_SUPER_INFO_SIZE; in btrfsic_process_written_block() 2047 BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_block() 2376 next_bytenr, BTRFS_SUPER_INFO_SIZE); in btrfsic_process_written_superblock() 2388 BTRFS_SUPER_INFO_SIZE, in btrfsic_process_written_superblock()
|
D | disk-io.c | 418 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum() 3168 if (bytenr + BTRFS_SUPER_INFO_SIZE >= i_size_read(bdev->bd_inode)) in btrfs_read_dev_one_super() 3171 bh = __bread(bdev, bytenr / 4096, BTRFS_SUPER_INFO_SIZE); in btrfs_read_dev_one_super() 3254 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in write_dev_supers() 3260 BTRFS_SUPER_INFO_SIZE); in write_dev_supers() 3281 BTRFS_SUPER_INFO_SIZE - in write_dev_supers() 3290 BTRFS_SUPER_INFO_SIZE); in write_dev_supers() 3299 memcpy(bh->b_data, sb, BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
|
D | super.c | 1492 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount() 1493 fs_info->super_for_commit = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount()
|
D | volumes.c | 1903 if (bytenr + BTRFS_SUPER_INFO_SIZE >= in btrfs_rm_device() 1909 BTRFS_SUPER_INFO_SIZE); in btrfs_rm_device() 6589 ASSERT(BTRFS_SUPER_INFO_SIZE <= root->nodesize); in btrfs_read_sys_array() 6612 if (PAGE_CACHE_SIZE > BTRFS_SUPER_INFO_SIZE) in btrfs_read_sys_array() 6615 write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); in btrfs_read_sys_array()
|
D | scrub.c | 1958 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super() 3712 if (bytenr + BTRFS_SUPER_INFO_SIZE > in scrub_supers() 3716 ret = scrub_pages(sctx, bytenr, BTRFS_SUPER_INFO_SIZE, bytenr, in scrub_supers()
|
D | extent-tree.c | 1973 u64 sb_end = sb_start + BTRFS_SUPER_INFO_SIZE; in btrfs_issue_discard() 1978 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) in btrfs_issue_discard()
|