Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dvolumes.c361 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
364 memcpy(fs_devs->metadata_uuid, metadata_fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
366 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
453 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0 in find_fsid()
455 BTRFS_FSID_SIZE) == 0) in find_fsid()
458 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
480 BTRFS_FSID_SIZE) == 0 && in find_fsid_with_metadata_uuid()
482 BTRFS_FSID_SIZE) == 0) { in find_fsid_with_metadata_uuid()
495 fs_devices->fsid, BTRFS_FSID_SIZE) != 0 && in find_fsid_with_metadata_uuid()
497 BTRFS_FSID_SIZE) == 0) { in find_fsid_with_metadata_uuid()
[all …]
Dvolumes.h215 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
216 u8 metadata_uuid[BTRFS_FSID_SIZE];
Ddisk-io.c475 BTRFS_FSID_SIZE) == 0); in csum_dirty_buffer()
501 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
505 BTRFS_FSID_SIZE); in check_tree_block_fsid()
516 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
520 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2471 BTRFS_FSID_SIZE) != 0) { in validate_super()
2973 BTRFS_FSID_SIZE)); in open_ctree()
2978 BTRFS_FSID_SIZE)); in open_ctree()
3099 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
3872 BTRFS_FSID_SIZE); in write_all_supers()
Dctree.h165 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
232 u8 fsid[BTRFS_FSID_SIZE];
270 u8 metadata_uuid[BTRFS_FSID_SIZE];
Dextent_io.c5724 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
5734 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dcheck-integrity.c1712 if (memcmp(h->fsid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE)) in btrfsic_test_for_metadata()
Dscrub.c1512 ret = memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in scrub_check_fsid()
/Linux-v5.10/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.10/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); \