Home
last modified time | relevance | path

Searched refs:cow (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/arch/um/drivers/
Dubd_kern.c134 struct cow { struct
159 struct cow cow; member
184 .cow = DEFAULT_COW, \
381 ubd_dev->cow.file = backing_file; in ubd_setup_common()
570 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
571 file = ubd_dev->cow.file; in ubd_file_size()
639 static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) in path_requires_switch() argument
666 from_cmdline, from_cow, cow); in path_requires_switch()
778 if(ubd_dev->cow.file == NULL) in ubd_close_dev()
781 os_close_file(ubd_dev->cow.fd); in ubd_close_dev()
[all …]
/Linux-v5.10/fs/btrfs/
Dctree.c184 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 …]
Ddir-item.c188 int cow = mod != 0; in btrfs_lookup_dir_item() local
195 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_dir_item()
281 int cow = mod != 0; in btrfs_lookup_dir_index_item() local
287 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_dir_index_item()
352 int cow = mod != 0; in btrfs_lookup_xattr() local
357 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_xattr()
Dinode-item.c79 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()
Dfree-space-tree.h36 struct btrfs_path *path, int cow);
Dfile-item.c175 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()
Drelocation.c1185 int cow = 0; in replace_path() local
1208 if (cow) { in replace_path()
1276 if (cow) { in replace_path()
1291 if (!cow) { in replace_path()
1294 cow = 1; in replace_path()
3928 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
3958 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
3959 node->eb = cow; in btrfs_reloc_cow_block()
3960 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
3976 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
Dfree-space-tree.c85 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()
Dctree.h2732 int ins_len, int cow);
2931 int cow);
3519 struct extent_buffer *cow);
Dinode.c385 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()
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Dsnapshot.rst113 volumeGroup-snap-cow: 0 204800 linear 8:19 2097536
119 brw------- 1 root root 254, 12 29 ago 18:15 /dev/mapper/volumeGroup-snap-cow
128 "snapshot-merge". The "-real" device is not changed and the "-cow"
129 device is renamed to <origin name>-cow to aid LVM2's cleanup of the
143 volumeGroup-base-cow: 0 204800 linear 8:19 2097536
148 brw------- 1 root root 254, 12 29 ago 18:16 /dev/mapper/volumeGroup-base-cow
/Linux-v5.10/drivers/md/
Ddm-snap.c52 struct dm_dev *cow; member
179 return s->cow; in dm_snap_cow()
460 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
885 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1084 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1288 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1410 dm_put_device(ti, s->cow); in snapshot_ctr()
1507 dm_put_device(ti, s->cow); in snapshot_dtr()
1800 dest.bdev = s->cow->bdev; in start_copy()
1903 bio_set_dev(bio, s->cow->bdev); in remap_exception()
[all …]
/Linux-v5.10/include/trace/events/
Dbtrfs.h1022 const struct extent_buffer *cow),
1024 TP_ARGS(root, buf, cow),
1039 __entry->cow_start = cow->start;
1041 __entry->cow_level = btrfs_header_level(cow);
/Linux-v5.10/net/ipv4/
Desp4.c482 goto cow; in esp_output_head()
518 cow: in esp_output_head()
/Linux-v5.10/net/ipv6/
Desp6.c516 goto cow; in esp6_output_head()
552 cow: in esp6_output_head()
/Linux-v5.10/mm/
Dhugetlb.c3741 int cow; in copy_hugetlb_page_range() local
3748 cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in copy_hugetlb_page_range()
3750 if (cow) { in copy_hugetlb_page_range()
3805 if (is_write_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
3817 if (cow) { in copy_hugetlb_page_range()
3838 if (cow) in copy_hugetlb_page_range()
/Linux-v5.10/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst612 Example:``ubd0=Filesystem.cow,Filesystem.img``