/fs/btrfs/ |
D | ctree.c | 184 struct extent_buffer *cow; in btrfs_copy_root() local 200 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root() 203 if (IS_ERR(cow)) in btrfs_copy_root() 204 return PTR_ERR(cow); in btrfs_copy_root() 206 copy_extent_buffer_full(cow, buf); in btrfs_copy_root() 207 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root() 208 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root() 209 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root() 210 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root() 213 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 | 175 u64 bytenr, int cow) in btrfs_lookup_csum() argument 190 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum() 233 int cow = mod != 0; in btrfs_lookup_file_extent() local 238 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
|
D | relocation.c | 1203 int cow = 0; in replace_path() local 1226 if (cow) { in replace_path() 1294 if (cow) { in replace_path() 1309 if (!cow) { in replace_path() 1312 cow = 1; in replace_path() 3957 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument 3987 atomic_inc(&cow->refs); in btrfs_reloc_cow_block() 3988 node->eb = cow; in btrfs_reloc_cow_block() 3989 node->new_bytenr = cow->start; in btrfs_reloc_cow_block() 4005 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
|
D | free-space-tree.c | 85 struct btrfs_path *path, int cow) in search_free_space_info() argument 96 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info() 117 int ins_len, int cow) in btrfs_search_prev_slot() argument 121 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
|
D | ctree.h | 2737 int ins_len, int cow); 2936 int cow); 3525 struct extent_buffer *cow);
|
D | inode.c | 385 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument 402 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
|