Home
last modified time | relevance | path

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

/Linux-v5.15/include/uapi/linux/
Dbtrfs.h56 #define BTRFS_FSID_SIZE 16 macro
261 __u8 fsid[BTRFS_FSID_SIZE]; /* out */
270 __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */
/Linux-v5.15/fs/btrfs/
Dvolumes.c388 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
391 memcpy(fs_devs->metadata_uuid, metadata_fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
393 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 find_fsid()
445 BTRFS_FSID_SIZE) == 0) in find_fsid()
448 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
470 BTRFS_FSID_SIZE) == 0 && in find_fsid_with_metadata_uuid()
472 BTRFS_FSID_SIZE) == 0) { in find_fsid_with_metadata_uuid()
485 fs_devices->fsid, BTRFS_FSID_SIZE) != 0 && in find_fsid_with_metadata_uuid()
487 BTRFS_FSID_SIZE) == 0) { in find_fsid_with_metadata_uuid()
[all …]
Dvolumes.h234 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
235 u8 metadata_uuid[BTRFS_FSID_SIZE];
Ddisk-io.c436 BTRFS_FSID_SIZE) == 0); in csum_one_extent_buffer()
538 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
542 BTRFS_FSID_SIZE); in check_tree_block_fsid()
553 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
557 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2636 BTRFS_FSID_SIZE)) { in validate_super()
2645 fs_info->super_copy->metadata_uuid, BTRFS_FSID_SIZE)) { in validate_super()
2654 BTRFS_FSID_SIZE) != 0) { in validate_super()
3422 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4160 BTRFS_FSID_SIZE); in write_all_supers()
Dctree.h161 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
228 u8 fsid[BTRFS_FSID_SIZE];
266 u8 metadata_uuid[BTRFS_FSID_SIZE];
Dcheck-integrity.c1659 if (memcmp(h->fsid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE)) in btrfsic_test_for_metadata()
Dextent_io.c6799 memcpy(kaddr, srcv, BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
6809 memcpy(kaddr, srcv, BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dscrub.c1508 ret = memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in scrub_check_fsid()
/Linux-v5.15/include/trace/events/
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); \