• Home
  • Raw
  • Download

Lines Matching refs:type

14 static void btrfs_uuid_to_key(u8 *uuid, u8 type, struct btrfs_key *key)  in btrfs_uuid_to_key()  argument
16 key->type = type; in btrfs_uuid_to_key()
23 u8 type, u64 subid) in btrfs_uuid_tree_lookup() argument
44 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_lookup()
82 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type, in btrfs_uuid_tree_add() argument
95 ret = btrfs_uuid_tree_lookup(uuid_root, uuid, type, subid_cpu); in btrfs_uuid_tree_add()
104 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_add()
133 (unsigned long long)key.offset, type); in btrfs_uuid_tree_add()
147 int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, u8 *uuid, u8 type, in btrfs_uuid_tree_remove() argument
168 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_remove()
229 static int btrfs_uuid_iter_rem(struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_iter_rem() argument
242 ret = btrfs_uuid_tree_remove(trans, uuid, type, subid); in btrfs_uuid_iter_rem()
258 u8 *uuid, u8 type, u64 subvolid) in btrfs_check_uuid_tree_entry() argument
263 if (type != BTRFS_UUID_KEY_SUBVOL && in btrfs_check_uuid_tree_entry()
264 type != BTRFS_UUID_KEY_RECEIVED_SUBVOL) in btrfs_check_uuid_tree_entry()
275 switch (type) { in btrfs_check_uuid_tree_entry()
309 key.type = 0; in btrfs_uuid_tree_iterate()
330 if (key.type != BTRFS_UUID_KEY_SUBVOL && in btrfs_uuid_tree_iterate()
331 key.type != BTRFS_UUID_KEY_RECEIVED_SUBVOL) in btrfs_uuid_tree_iterate()
353 key.type, subid_cpu); in btrfs_uuid_tree_iterate()
358 ret = btrfs_uuid_iter_rem(root, uuid, key.type, in btrfs_uuid_tree_iterate()