Home
last modified time | relevance | path

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

/linux-6.15/fs/btrfs/
H A Dextent_io.h329 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
336 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 Dvolumes.c396 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
397 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
441 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
817 disk_super->metadata_uuid, BTRFS_FSID_SIZE); in device_list_add()
842 BTRFS_FSID_SIZE); in device_list_add()
1980 ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2456 args->fsid = kzalloc(BTRFS_FSID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2626 u8 fs_uuid[BTRFS_FSID_SIZE]; in btrfs_finish_sprout()
2670 BTRFS_FSID_SIZE); in btrfs_finish_sprout()
7165 u8 fs_uuid[BTRFS_FSID_SIZE]; in read_one_dev()
[all …]
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()
2501 memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2509 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2517 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
3432 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4138 BTRFS_FSID_SIZE); in write_all_supers()
H A Dscrub.c628 BTRFS_FSID_SIZE) != 0) { in scrub_verify_one_metadata()
/linux-6.15/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-6.15/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); \