/fs/btrfs/ |
D | ctree.c | 224 struct extent_buffer *cow; in btrfs_copy_root() local 240 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root() 242 if (IS_ERR(cow)) in btrfs_copy_root() 243 return PTR_ERR(cow); in btrfs_copy_root() 245 copy_extent_buffer_full(cow, buf); in btrfs_copy_root() 246 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root() 247 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root() 248 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root() 249 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root() 252 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root() [all …]
|
D | inode-item.c | 79 int cow) in btrfs_lookup_inode_extref() argument 88 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref() 408 int cow = mod != 0; in btrfs_lookup_inode() local 414 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
|
D | free-space-tree.h | 36 struct btrfs_path *path, int cow);
|
D | dir-item.c | 181 const int cow = (mod != 0); in btrfs_lookup_match_dir() local 184 ret = btrfs_search_slot(trans, root, key, path, ins_len, cow); in btrfs_lookup_match_dir()
|
D | file-item.c | 84 u64 bytenr, int cow) in btrfs_lookup_csum() argument 99 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum() 142 int cow = mod != 0; in btrfs_lookup_file_extent() local 147 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
|
D | free-space-tree.c | 82 struct btrfs_path *path, int cow) in search_free_space_info() argument 93 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info() 114 int ins_len, int cow) in btrfs_search_prev_slot() argument 118 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
|
D | relocation.c | 1834 int cow = 0; in replace_path() local 1857 if (cow) { in replace_path() 1924 if (cow) { in replace_path() 1938 if (!cow) { in replace_path() 1941 cow = 1; in replace_path() 4766 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument 4796 extent_buffer_get(cow); in btrfs_reloc_cow_block() 4797 node->eb = cow; in btrfs_reloc_cow_block() 4798 node->new_bytenr = cow->start; in btrfs_reloc_cow_block() 4814 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
|
D | ctree.h | 2561 int ins_len, int cow); 2782 int cow); 3362 struct extent_buffer *cow);
|
D | inode.c | 382 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument 399 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
|