Home
last modified time | relevance | path

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

/linux-6.12.1/fs/btrfs/
Dextent_io.h322 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
329 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dvolumes.h329 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
354 u8 metadata_uuid[BTRFS_FSID_SIZE];
Dvolumes.c395 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
396 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
440 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
446 if (memcmp(metadata_fsid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
780 disk_super->metadata_uuid, BTRFS_FSID_SIZE); in device_list_add()
805 BTRFS_FSID_SIZE); in device_list_add()
807 btrfs_sb_fsid_ptr(disk_super), BTRFS_FSID_SIZE); in device_list_add()
1926 ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2403 args->fsid = kzalloc(BTRFS_FSID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2419 memcpy(args->fsid, disk_super->metadata_uuid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path()
[all …]
Ddisk-io.c293 BTRFS_FSID_SIZE) == 0); in btree_csum_one_bio()
338 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
341 BTRFS_FSID_SIZE); in check_tree_block_fsid()
349 if (memcmp(fsid, fs_info->fs_devices->metadata_uuid, BTRFS_FSID_SIZE) == 0) in check_tree_block_fsid()
353 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2435 memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2443 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2451 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
3364 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4072 BTRFS_FSID_SIZE); in write_all_supers()
Dscrub.c628 BTRFS_FSID_SIZE) != 0) { in scrub_verify_one_metadata()
/linux-6.12.1/include/uapi/linux/
Dbtrfs_tree.h485 __u8 fsid[BTRFS_FSID_SIZE];
671 __u8 fsid[BTRFS_FSID_SIZE];
714 __u8 metadata_uuid[BTRFS_FSID_SIZE];
Dbtrfs.h62 #define BTRFS_FSID_SIZE 16 macro
279 __u8 fsid[BTRFS_FSID_SIZE]; /* out */
288 __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */
/linux-6.12.1/include/trace/events/
Dbtrfs.h159 #define BTRFS_FSID_SIZE 16 macro
160 #define TP_STRUCT__entry_fsid __array(u8, fsid, BTRFS_FSID_SIZE)
166 BTRFS_FSID_SIZE); \
168 memset(__entry->fsid, 0, BTRFS_FSID_SIZE); \