Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dvolumes.c329 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
332 memcpy(fs_devs->metadata_uuid, metadata_fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
334 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
429 BTRFS_FSID_SIZE) == 0 && in find_fsid()
431 BTRFS_FSID_SIZE) == 0) { in find_fsid()
444 fs_devices->fsid, BTRFS_FSID_SIZE) != 0 && in find_fsid()
446 BTRFS_FSID_SIZE) == 0) { in find_fsid()
455 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0 in find_fsid()
457 BTRFS_FSID_SIZE) == 0) in find_fsid()
460 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
[all …]
Dvolumes.h222 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
223 u8 metadata_uuid[BTRFS_FSID_SIZE];
Ddisk-io.c537 btrfs_header_fsid(), BTRFS_FSID_SIZE) == 0); in csum_dirty_buffer()
562 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
565 read_extent_buffer(eb, fsid, btrfs_header_fsid(), BTRFS_FSID_SIZE); in check_tree_block_fsid()
580 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) { in check_tree_block_fsid()
2473 BTRFS_FSID_SIZE) != 0) { in validate_super()
2848 BTRFS_FSID_SIZE)); in open_ctree()
2853 BTRFS_FSID_SIZE)); in open_ctree()
2985 memcpy(&sb->s_uuid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE); in open_ctree()
3811 BTRFS_FSID_SIZE); in write_all_supers()
Dctree.h155 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
222 u8 fsid[BTRFS_FSID_SIZE];
260 u8 metadata_uuid[BTRFS_FSID_SIZE];
Dextent_io.c5665 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
5675 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dcheck-integrity.c1724 if (memcmp(h->fsid, fs_info->fs_devices->fsid, BTRFS_FSID_SIZE)) in btrfsic_test_for_metadata()
Dscrub.c1513 ret = memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in scrub_check_fsid()
/Linux-v5.4/include/uapi/linux/
Dbtrfs.h51 #define BTRFS_FSID_SIZE 16 macro
230 __u8 fsid[BTRFS_FSID_SIZE]; /* out */
/Linux-v5.4/include/trace/events/
Dbtrfs.h121 #define BTRFS_FSID_SIZE 16 macro
122 #define TP_STRUCT__entry_fsid __array(u8, fsid, BTRFS_FSID_SIZE)
128 BTRFS_FSID_SIZE); \
130 memset(__entry->fsid, 0, BTRFS_FSID_SIZE); \