Home
last modified time | relevance | path

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

/Linux-v5.15/arch/um/drivers/
Dubd_kern.c139 struct cow { struct
165 struct cow cow; member
191 .cow = DEFAULT_COW, \
333 ubd_dev->cow.file = backing_file; in ubd_setup_common()
524 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
525 file = ubd_dev->cow.file; in ubd_file_size()
593 static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) in path_requires_switch() argument
620 from_cmdline, from_cow, cow); in path_requires_switch()
732 if(ubd_dev->cow.file == NULL) in ubd_close_dev()
735 os_close_file(ubd_dev->cow.fd); in ubd_close_dev()
[all …]
/Linux-v5.15/fs/btrfs/
Dctree.c185 struct extent_buffer *cow; in btrfs_copy_root() local
201 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
204 if (IS_ERR(cow)) in btrfs_copy_root()
205 return PTR_ERR(cow); in btrfs_copy_root()
207 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
208 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
209 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
210 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
211 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root()
214 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root()
[all …]
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()
402 int cow = mod != 0; in btrfs_lookup_inode() local
408 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);
Ddir-item.c180 const int cow = (mod != 0); in btrfs_lookup_match_dir() local
183 ret = btrfs_search_slot(trans, root, key, path, ins_len, cow); in btrfs_lookup_match_dir()
Dfile-item.c181 u64 bytenr, int cow) in btrfs_lookup_csum() argument
196 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
238 int cow = mod != 0; in btrfs_lookup_file_extent() local
244 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
Drelocation.c1212 int cow = 0; in replace_path() local
1234 if (cow) { in replace_path()
1297 if (cow) { in replace_path()
1315 if (!cow) { in replace_path()
1318 cow = 1; in replace_path()
4376 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
4406 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
4407 node->eb = cow; in btrfs_reloc_cow_block()
4408 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
4424 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.h2864 int ins_len, int cow);
3087 int cow);
3734 struct extent_buffer *cow);
Dinode.c468 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument
485 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
/Linux-v5.15/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.15/drivers/md/
Ddm-snap.c52 struct dm_dev *cow; member
184 return s->cow; in dm_snap_cow()
465 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
891 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1090 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1310 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1434 dm_put_device(ti, s->cow); in snapshot_ctr()
1533 dm_put_device(ti, s->cow); in snapshot_dtr()
1826 dest.bdev = s->cow->bdev; in start_copy()
1929 bio_set_dev(bio, s->cow->bdev); in remap_exception()
[all …]
/Linux-v5.15/include/trace/events/
Dbtrfs.h1020 const struct extent_buffer *cow),
1022 TP_ARGS(root, buf, cow),
1037 __entry->cow_start = cow->start;
1039 __entry->cow_level = btrfs_header_level(cow);
/Linux-v5.15/net/ipv6/
Desp6.c515 goto cow; in esp6_output_head()
547 cow: in esp6_output_head()
/Linux-v5.15/net/ipv4/
Desp4.c479 goto cow; in esp_output_head()
511 cow: in esp_output_head()
/Linux-v5.15/mm/
Dhugetlb.c4276 bool cow = is_cow_mapping(vma->vm_flags); in copy_hugetlb_page_range() local
4284 if (cow) { in copy_hugetlb_page_range()
4340 if (is_writable_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
4401 if (cow) { in copy_hugetlb_page_range()
4421 if (cow) in copy_hugetlb_page_range()
/Linux-v5.15/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst612 Example:``ubd0=Filesystem.cow,Filesystem.img``