Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dextent_io.h379 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
386 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
H A Dvolumes.h342 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
367 u8 metadata_uuid[BTRFS_FSID_SIZE];
H A Ddisk-io.c291 BTRFS_FSID_SIZE) == 0); in btree_csum_one_bio()
336 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
339 BTRFS_FSID_SIZE); in check_tree_block_fsid()
347 if (memcmp(fsid, fs_info->fs_devices->metadata_uuid, BTRFS_FSID_SIZE) == 0) in check_tree_block_fsid()
351 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2485 memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0)) { in btrfs_validate_super()
2493 BTRFS_FSID_SIZE) != 0)) { in btrfs_validate_super()
2501 BTRFS_FSID_SIZE) != 0)) { in btrfs_validate_super()
3557 memcpy(&sb->s_uuid, fs_info->super_copy->fsid, BTRFS_FSID_SIZE); in open_ctree()
3559 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
[all …]
H A Dvolumes.c399 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
400 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
449 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
455 if (memcmp(metadata_fsid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
827 disk_super->metadata_uuid, BTRFS_FSID_SIZE); in device_list_add()
852 BTRFS_FSID_SIZE); in device_list_add()
854 btrfs_sb_fsid_ptr(disk_super), BTRFS_FSID_SIZE); in device_list_add()
2135 ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2660 args->fsid = kzalloc(BTRFS_FSID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2676 memcpy(args->fsid, disk_super->metadata_uuid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path()
[all …]
H A Dscrub.c706 BTRFS_FSID_SIZE) != 0) { in scrub_verify_one_metadata()
/linux/include/uapi/linux/
H A Dbtrfs.h62 #define BTRFS_FSID_SIZE 16 macro
279 __u8 fsid[BTRFS_FSID_SIZE]; /* out */
288 __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */
/linux/include/trace/events/
H A Dbtrfs.h188 #define BTRFS_FSID_SIZE 16 macro
189 #define TP_STRUCT__entry_fsid __array(u8, fsid, BTRFS_FSID_SIZE)
195 BTRFS_FSID_SIZE); \
197 memset(__entry->fsid, 0, BTRFS_FSID_SIZE); \