Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dextent_io.h254 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
261 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dvolumes.c387 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
389 metadata_fsid ?: fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
433 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
439 if (memcmp(metadata_fsid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
469 BTRFS_FSID_SIZE) != 0 && in check_fsid_changed()
470 memcmp(fs_devices->metadata_uuid, fsid, BTRFS_FSID_SIZE) == 0; in check_fsid_changed()
732 BTRFS_FSID_SIZE) != 0) in find_fsid_changed()
737 BTRFS_FSID_SIZE) == 0 && in find_fsid_changed()
739 BTRFS_FSID_SIZE) == 0) in find_fsid_changed()
843 BTRFS_FSID_SIZE); in device_list_add()
[all …]
Dvolumes.h282 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
294 u8 metadata_uuid[BTRFS_FSID_SIZE];
Ddisk-io.c270 BTRFS_FSID_SIZE) == 0); in btree_csum_one_bio()
315 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
318 BTRFS_FSID_SIZE); in check_tree_block_fsid()
325 if (memcmp(fsid, fs_info->fs_devices->metadata_uuid, BTRFS_FSID_SIZE) == 0) in check_tree_block_fsid()
329 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2384 if (memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2392 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
2400 BTRFS_FSID_SIZE) != 0) { in btrfs_validate_super()
3334 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
4109 BTRFS_FSID_SIZE); in write_all_supers()
Dscrub.c629 BTRFS_FSID_SIZE) != 0) { in scrub_verify_one_metadata()
Dcheck-integrity.c1667 if (memcmp(h->fsid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE)) in btrfsic_test_for_metadata()
/Linux-v6.6/include/uapi/linux/
Dbtrfs_tree.h464 __u8 fsid[BTRFS_FSID_SIZE];
650 __u8 fsid[BTRFS_FSID_SIZE];
693 __u8 metadata_uuid[BTRFS_FSID_SIZE];
Dbtrfs.h62 #define BTRFS_FSID_SIZE 16 macro
278 __u8 fsid[BTRFS_FSID_SIZE]; /* out */
287 __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */
/Linux-v6.6/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); \