Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dextent_io.h346 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
353 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
H A Dvolumes.c398 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
399 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
448 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
454 if (memcmp(metadata_fsid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
823 disk_super->metadata_uuid, BTRFS_FSID_SIZE); in device_list_add()
848 BTRFS_FSID_SIZE); in device_list_add()
850 btrfs_sb_fsid_ptr(disk_super), BTRFS_FSID_SIZE); in device_list_add()
2109 ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2575 args->fsid = kzalloc(BTRFS_FSID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2591 memcpy(args->fsid, disk_super->metadata_uuid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path()
[all …]
H A Ddisk-io.c290 BTRFS_FSID_SIZE) == 0); in btree_csum_one_bio()
335 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
338 BTRFS_FSID_SIZE); in check_tree_block_fsid()
346 if (memcmp(fsid, fs_info->fs_devices->metadata_uuid, BTRFS_FSID_SIZE) == 0) in check_tree_block_fsid()
350 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2456 memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0)) { in btrfs_validate_super()
2464 BTRFS_FSID_SIZE) != 0)) { in btrfs_validate_super()
2472 BTRFS_FSID_SIZE) != 0)) { in btrfs_validate_super()
3454 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4091 BTRFS_FSID_SIZE); in write_all_supers()
H A Dscrub.c740 BTRFS_FSID_SIZE) != 0) { in scrub_verify_one_metadata()
/linux/include/trace/events/
H A Dbtrfs.h160 #define BTRFS_FSID_SIZE 16 macro
161 #define TP_STRUCT__entry_fsid __array(u8, fsid, BTRFS_FSID_SIZE)
167 BTRFS_FSID_SIZE); \
169 memset(__entry->fsid, 0, BTRFS_FSID_SIZE); \