Lines Matching refs:type
26 static void btrfs_uuid_to_key(u8 *uuid, u8 type, struct btrfs_key *key) in btrfs_uuid_to_key() argument
28 key->type = type; in btrfs_uuid_to_key()
35 u8 type, u64 subid) in btrfs_uuid_tree_lookup() argument
56 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_lookup()
94 struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_tree_add() argument
105 ret = btrfs_uuid_tree_lookup(uuid_root, uuid, type, subid_cpu); in btrfs_uuid_tree_add()
114 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_add()
143 (unsigned long long)key.offset, type); in btrfs_uuid_tree_add()
158 struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_tree_rem() argument
177 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_rem()
238 static int btrfs_uuid_iter_rem(struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_iter_rem() argument
251 ret = btrfs_uuid_tree_rem(trans, uuid_root, uuid, type, subid); in btrfs_uuid_iter_rem()
278 key.type = 0; in btrfs_uuid_tree_iterate()
295 if (key.type != BTRFS_UUID_KEY_SUBVOL && in btrfs_uuid_tree_iterate()
296 key.type != BTRFS_UUID_KEY_RECEIVED_SUBVOL) in btrfs_uuid_tree_iterate()
316 ret = check_func(fs_info, uuid, key.type, subid_cpu); in btrfs_uuid_tree_iterate()
321 ret = btrfs_uuid_iter_rem(root, uuid, key.type, in btrfs_uuid_tree_iterate()