Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dextent_io.h322 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
329 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
H A Dvolumes.h344 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
369 u8 metadata_uuid[BTRFS_FSID_SIZE];
H A Dvolumes.c393 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
394 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
443 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
449 if (memcmp(metadata_fsid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
818 disk_super->metadata_uuid, BTRFS_FSID_SIZE); in device_list_add()
843 BTRFS_FSID_SIZE); in device_list_add()
845 btrfs_sb_fsid_ptr(disk_super), BTRFS_FSID_SIZE); in device_list_add()
1982 ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2448 args->fsid = kzalloc(BTRFS_FSID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2464 memcpy(args->fsid, disk_super->metadata_uuid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path()
[all …]
H A Ddisk-io.c299 BTRFS_FSID_SIZE) == 0); in btree_csum_one_bio()
344 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
347 BTRFS_FSID_SIZE); in check_tree_block_fsid()
355 if (memcmp(fsid, fs_info->fs_devices->metadata_uuid, BTRFS_FSID_SIZE) == 0) in check_tree_block_fsid()
359 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2447 memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2455 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2463 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
3412 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4043 BTRFS_FSID_SIZE); in write_all_supers()
H A Dscrub.c742 BTRFS_FSID_SIZE) != 0) { in scrub_verify_one_metadata()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h485 __u8 fsid[BTRFS_FSID_SIZE];
671 __u8 fsid[BTRFS_FSID_SIZE];
714 __u8 metadata_uuid[BTRFS_FSID_SIZE];
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.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); \