Home
last modified time | relevance | path

Searched refs:BTRFS_UUID_SIZE (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Dbtrfs_tree.h317 #if BTRFS_UUID_SIZE != 16
433 __u8 uuid[BTRFS_UUID_SIZE];
436 __u8 fsid[BTRFS_UUID_SIZE];
442 __u8 dev_uuid[BTRFS_UUID_SIZE];
565 __u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
667 __u8 uuid[BTRFS_UUID_SIZE];
668 __u8 parent_uuid[BTRFS_UUID_SIZE];
669 __u8 received_uuid[BTRFS_UUID_SIZE];
Dbtrfs.h57 #define BTRFS_UUID_SIZE 16 macro
239 __u8 uuid[BTRFS_UUID_SIZE]; /* in/out */
752 char uuid[BTRFS_UUID_SIZE]; /* in */
841 __u8 uuid[BTRFS_UUID_SIZE];
847 __u8 parent_uuid[BTRFS_UUID_SIZE];
853 __u8 received_uuid[BTRFS_UUID_SIZE];
/linux-6.1.9/fs/btrfs/
Duuid-tree.c276 if (memcmp(uuid, subvol_root->root_item.uuid, BTRFS_UUID_SIZE)) in btrfs_check_uuid_tree_entry()
281 BTRFS_UUID_SIZE)) in btrfs_check_uuid_tree_entry()
342 u8 uuid[BTRFS_UUID_SIZE]; in btrfs_uuid_tree_iterate()
Dvolumes.c619 if (memcmp(device->uuid, disk_super->dev_item.uuid, BTRFS_UUID_SIZE)) in btrfs_open_one_device()
1877 write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); in btrfs_add_dev_item()
2362 args->uuid = kzalloc(BTRFS_UUID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2377 memcpy(args->uuid, disk_super->dev_item.uuid, BTRFS_UUID_SIZE); in btrfs_get_dev_args_from_path()
2534 u8 dev_uuid[BTRFS_UUID_SIZE]; in btrfs_finish_sprout()
2575 BTRFS_UUID_SIZE); in btrfs_finish_sprout()
5599 memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE); in btrfs_chunk_alloc_add_chunk_item()
6951 if (args->uuid && memcmp(device->uuid, args->uuid, BTRFS_UUID_SIZE) != 0) in dev_args_match_device()
7066 memcpy(dev->uuid, uuid, BTRFS_UUID_SIZE); in btrfs_alloc_device()
7165 u8 uuid[BTRFS_UUID_SIZE]; in read_one_chunk()
[all …]
Dioctl.c66 char uuid[BTRFS_UUID_SIZE]; /* in */
536 for (i = 0; i < BTRFS_UUID_SIZE; i++) { in btrfs_is_empty_uuid()
3046 memcpy(subvol_info->uuid, root_item->uuid, BTRFS_UUID_SIZE); in btrfs_ioctl_get_subvol_info()
3048 BTRFS_UUID_SIZE); in btrfs_ioctl_get_subvol_info()
3050 BTRFS_UUID_SIZE); in btrfs_ioctl_get_subvol_info()
4847 BTRFS_UUID_SIZE); in _btrfs_ioctl_set_received_subvol()
4859 memcpy(root_item->received_uuid, sa->uuid, BTRFS_UUID_SIZE); in _btrfs_ioctl_set_received_subvol()
4908 memcpy(args64->uuid, args32->uuid, BTRFS_UUID_SIZE); in btrfs_ioctl_set_received_subvol_32()
4921 memcpy(args32->uuid, args64->uuid, BTRFS_UUID_SIZE); in btrfs_ioctl_set_received_subvol_32()
Dvolumes.h145 u8 uuid[BTRFS_UUID_SIZE];
Ddev-replace.c857 u8 uuid_tmp[BTRFS_UUID_SIZE]; in btrfs_dev_replace_finishing()
Dctree.h171 u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
633 u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
Dtransaction.c1721 BTRFS_UUID_SIZE); in create_pending_snapshot()
Ddisk-io.c3622 BTRFS_UUID_SIZE); in open_ctree()
4363 memcpy(dev_item->uuid, dev->uuid, BTRFS_UUID_SIZE); in write_all_supers()
Dcheck-integrity.c727 memcmp(device->uuid, super_tmp->dev_item.uuid, BTRFS_UUID_SIZE) || in btrfsic_process_superblock_dev_mirror()
Dscrub.c2051 BTRFS_UUID_SIZE)) in scrub_checksum_tree_block()
Dsend.c646 return tlv_put(sctx, attr, uuid, BTRFS_UUID_SIZE); in tlv_put_uuid()