Searched refs:new_key (Results 1 – 5 of 5) sorted by relevance
/fs/btrfs/ |
D | file.c | 702 struct btrfs_key new_key; in __btrfs_drop_extents() local 827 memcpy(&new_key, &key, sizeof(new_key)); in __btrfs_drop_extents() 828 new_key.offset = start; in __btrfs_drop_extents() 830 &new_key); in __btrfs_drop_extents() 857 new_key.objectid, in __btrfs_drop_extents() 873 memcpy(&new_key, &key, sizeof(new_key)); in __btrfs_drop_extents() 874 new_key.offset = end; in __btrfs_drop_extents() 875 btrfs_set_item_key_safe(root->fs_info, path, &new_key); in __btrfs_drop_extents() 1081 struct btrfs_key new_key; in btrfs_mark_extent_written() local 1136 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written() [all …]
|
D | free-space-tree.c | 866 struct btrfs_key key, new_key; in add_free_space_extent() local 890 new_key.objectid = start; in add_free_space_extent() 891 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent() 892 new_key.offset = size; in add_free_space_extent() 927 new_key.objectid = found_start; in add_free_space_extent() 928 new_key.offset += key.offset; in add_free_space_extent() 968 new_key.offset += key.offset; in add_free_space_extent() 975 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
|
D | ioctl.c | 3402 struct btrfs_key *new_key, in clone_copy_inline_extent() argument 3410 const u64 aligned_end = ALIGN(new_key->offset + datal, in clone_copy_inline_extent() 3415 if (new_key->offset > 0) in clone_copy_inline_extent() 3498 ret = btrfs_insert_empty_item(trans, root, path, new_key, size); in clone_copy_inline_extent() 3610 struct btrfs_key new_key; in btrfs_clone() local 3655 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone() 3656 new_key.objectid = btrfs_ino(inode); in btrfs_clone() 3658 new_key.offset = key.offset + destoff - off; in btrfs_clone() 3660 new_key.offset = destoff; in btrfs_clone() 3669 if (new_key.offset != last_dest_end) in btrfs_clone() [all …]
|
D | ctree.c | 3158 struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument 3168 BUG_ON(comp_keys(&disk_key, new_key) >= 0); in btrfs_set_item_key_safe() 3172 BUG_ON(comp_keys(&disk_key, new_key) <= 0); in btrfs_set_item_key_safe() 3175 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe() 4410 struct btrfs_key *new_key, in split_item() argument 4448 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item() 4496 struct btrfs_key *new_key, in btrfs_split_item() argument 4505 ret = split_item(trans, root, path, new_key, split_offset); in btrfs_split_item() 4520 struct btrfs_key *new_key) in btrfs_duplicate_item() argument 4534 setup_items_for_insert(root, path, new_key, &item_size, in btrfs_duplicate_item()
|
D | ctree.h | 2765 struct btrfs_key *new_key); 2807 struct btrfs_key *new_key, 2812 struct btrfs_key *new_key);
|