Home
last modified time | relevance | path

Searched refs:new_key (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/
Dreflink.c165 struct btrfs_key *new_key, in clone_copy_inline_extent() argument
175 const u64 aligned_end = ALIGN(new_key->offset + datal, in clone_copy_inline_extent()
182 if (new_key->offset > 0) { in clone_copy_inline_extent()
183 ret = copy_inline_to_page(BTRFS_I(dst), new_key->offset, in clone_copy_inline_extent()
271 ret = btrfs_insert_empty_item(trans, root, path, new_key, size); in clone_copy_inline_extent()
316 ret = copy_inline_to_page(BTRFS_I(dst), new_key->offset, in clone_copy_inline_extent()
371 struct btrfs_key new_key; in btrfs_clone() local
455 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone()
456 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
458 new_key.offset = key.offset + destoff - off; in btrfs_clone()
[all …]
Dfile.c202 struct btrfs_key new_key; in btrfs_drop_extents() local
340 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents()
341 new_key.offset = args->start; in btrfs_drop_extents()
343 &new_key); in btrfs_drop_extents()
372 new_key.objectid, in btrfs_drop_extents()
399 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents()
400 new_key.offset = args->end; in btrfs_drop_extents()
401 btrfs_set_item_key_safe(fs_info, path, &new_key); in btrfs_drop_extents()
596 struct btrfs_key new_key; in btrfs_mark_extent_written() local
651 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written()
[all …]
Dfree-space-tree.c869 struct btrfs_key key, new_key; in add_free_space_extent() local
893 new_key.objectid = start; in add_free_space_extent()
894 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent()
895 new_key.offset = size; in add_free_space_extent()
930 new_key.objectid = found_start; in add_free_space_extent()
931 new_key.offset += key.offset; in add_free_space_extent()
971 new_key.offset += key.offset; in add_free_space_extent()
978 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
Dctree.c2478 const struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument
2488 if (unlikely(comp_keys(&disk_key, new_key) >= 0)) { in btrfs_set_item_key_safe()
2494 new_key->objectid, new_key->type, in btrfs_set_item_key_safe()
2495 new_key->offset); in btrfs_set_item_key_safe()
2502 if (unlikely(comp_keys(&disk_key, new_key) <= 0)) { in btrfs_set_item_key_safe()
2508 new_key->objectid, new_key->type, in btrfs_set_item_key_safe()
2509 new_key->offset); in btrfs_set_item_key_safe()
2515 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe()
3777 const struct btrfs_key *new_key, in split_item() argument
3811 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item()
[all …]
Dctree.h3021 const struct btrfs_key *new_key);
3048 const struct btrfs_key *new_key,
3053 const struct btrfs_key *new_key);
/fs/ntfs3/
Dbitmap.c366 size_t end3, end, new_key, new_len, max_new_len; in wnd_remove_free_ext() local
377 new_key = new_len = 0; in wnd_remove_free_ext()
385 new_key = end_in; in wnd_remove_free_ext()
442 e->start.key = new_key; in wnd_remove_free_ext()
481 e->start.key = new_key; in wnd_remove_free_ext()