Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Dbtrfs.h51 #define BTRFS_FSID_SIZE 16 macro
230 __u8 fsid[BTRFS_FSID_SIZE]; /* out */
/Linux-v4.19/fs/btrfs/
Ddisk-io.c555 btrfs_header_fsid(), BTRFS_FSID_SIZE) == 0); in csum_dirty_buffer()
564 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid()
567 read_extent_buffer(eb, fsid, btrfs_header_fsid(), BTRFS_FSID_SIZE); in check_tree_block_fsid()
569 if (!memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE)) { in check_tree_block_fsid()
2483 if (memcmp(fs_info->fsid, sb->dev_item.fsid, BTRFS_FSID_SIZE) != 0) { in validate_super()
2825 memcpy(fs_info->fsid, fs_info->super_copy->fsid, BTRFS_FSID_SIZE); in open_ctree()
2946 memcpy(&sb->s_uuid, fs_info->fsid, BTRFS_FSID_SIZE); in open_ctree()
3764 memcpy(dev_item->fsid, dev->fs_devices->fsid, BTRFS_FSID_SIZE); in write_all_supers()
Dvolumes.h212 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
Dvolumes.c262 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
376 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
1712 write_extent_buffer(leaf, trans->fs_info->fsid, ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2229 memcpy(fs_info->fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in btrfs_prepare_sprout()
2230 memcpy(disk_super->fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in btrfs_prepare_sprout()
2252 u8 fs_uuid[BTRFS_FSID_SIZE]; in btrfs_finish_sprout()
2295 BTRFS_FSID_SIZE); in btrfs_finish_sprout()
6237 !memcmp(cur_devices->fsid, fsid, BTRFS_FSID_SIZE)) { in btrfs_find_device()
6560 if (!memcmp(fs_devices->fsid, fsid, BTRFS_FSID_SIZE)) in open_seed_devices()
6612 u8 fs_uuid[BTRFS_FSID_SIZE]; in read_one_dev()
[all …]
Dctree.h140 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
206 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
753 u8 fsid[BTRFS_FSID_SIZE];
Dextent_io.c5480 BTRFS_FSID_SIZE); in write_extent_buffer_chunk_tree_uuid()
5490 BTRFS_FSID_SIZE); in write_extent_buffer_fsid()
Dcheck-integrity.c1723 if (memcmp(h->fsid, fs_info->fsid, BTRFS_FSID_SIZE)) in btrfsic_test_for_metadata()
Dscrub.c1497 ret = memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in scrub_check_fsid()
/Linux-v4.19/include/trace/events/
Dbtrfs.h91 #define BTRFS_FSID_SIZE 16 macro
92 #define TP_STRUCT__entry_fsid __array(u8, fsid, BTRFS_FSID_SIZE)
95 memcpy(__entry->fsid, fs_info->fsid, BTRFS_FSID_SIZE)