• Home
  • Raw
  • Download

Lines Matching refs:offset

30 	key->offset = get_unaligned_le64(uuid + sizeof(u64));  in btrfs_uuid_to_key()
42 unsigned long offset; in btrfs_uuid_tree_lookup() local
68 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
79 read_extent_buffer(eb, &data, offset, sizeof(data)); in btrfs_uuid_tree_lookup()
84 offset += sizeof(data); in btrfs_uuid_tree_lookup()
102 unsigned long offset; in btrfs_uuid_tree_add() local
128 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
137 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
138 offset += btrfs_item_size_nr(eb, slot) - sizeof(subid_le); in btrfs_uuid_tree_add()
143 (unsigned long long)key.offset, type); in btrfs_uuid_tree_add()
149 write_extent_buffer(eb, &subid_le, offset, sizeof(subid_le)); in btrfs_uuid_tree_add()
166 unsigned long offset; in btrfs_uuid_tree_rem() local
198 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_rem()
209 read_extent_buffer(eb, &read_subid, offset, sizeof(read_subid)); in btrfs_uuid_tree_rem()
212 offset += sizeof(read_subid); in btrfs_uuid_tree_rem()
227 move_dst = offset; in btrfs_uuid_tree_rem()
228 move_src = offset + sizeof(subid); in btrfs_uuid_tree_rem()
269 unsigned long offset; in btrfs_uuid_tree_iterate() local
279 key.offset = 0; in btrfs_uuid_tree_iterate()
299 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
312 put_unaligned_le64(key.offset, uuid + sizeof(u64)); in btrfs_uuid_tree_iterate()
313 read_extent_buffer(leaf, &subid_le, offset, in btrfs_uuid_tree_iterate()
335 key.offset++; in btrfs_uuid_tree_iterate()
339 offset += sizeof(subid_le); in btrfs_uuid_tree_iterate()