Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dvolumes.c389 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
392 memcpy(fs_devs->metadata_uuid, metadata_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 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.h291 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
292 u8 metadata_uuid[BTRFS_FSID_SIZE];
Ddisk-io.c316 BTRFS_FSID_SIZE) == 0); in csum_one_extent_buffer()
432 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
436 BTRFS_FSID_SIZE); in check_tree_block_fsid()
447 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
451 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2698 BTRFS_FSID_SIZE)) { in btrfs_validate_super()
2707 fs_info->super_copy->metadata_uuid, BTRFS_FSID_SIZE)) { in btrfs_validate_super()
2728 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
3592 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4356 BTRFS_FSID_SIZE); in write_all_supers()
Dctree.h166 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
243 u8 fsid[BTRFS_FSID_SIZE];
285 u8 metadata_uuid[BTRFS_FSID_SIZE];
Dextent_io.c5305 memcpy(kaddr, srcv, BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
5315 memcpy(kaddr, srcv, BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dcheck-integrity.c1660 if (memcmp(h->fsid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE)) in btrfsic_test_for_metadata()
Dscrub.c1667 ret = memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in scrub_check_fsid()
/Linux-v6.1/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-v6.1/include/trace/events/
Dbtrfs.h161 #define BTRFS_FSID_SIZE 16 macro
162 #define TP_STRUCT__entry_fsid __array(u8, fsid, BTRFS_FSID_SIZE)
168 BTRFS_FSID_SIZE); \
170 memset(__entry->fsid, 0, BTRFS_FSID_SIZE); \