Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/um/drivers/
Dubd_kern.c141 struct cow { struct
166 struct cow cow; member
191 .cow = DEFAULT_COW, \
388 ubd_dev->cow.file = backing_file; in ubd_setup_common()
572 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
573 file = ubd_dev->cow.file; in ubd_file_size()
641 static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) in path_requires_switch() argument
668 from_cmdline, from_cow, cow); in path_requires_switch()
780 if(ubd_dev->cow.file == NULL) in ubd_close_dev()
783 os_close_file(ubd_dev->cow.fd); in ubd_close_dev()
[all …]
/kernel/linux/linux-5.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.c1203 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()
3951 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
3981 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
3982 node->eb = cow; in btrfs_reloc_cow_block()
3983 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
3999 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.h2739 int ins_len, int cow);
2938 int cow);
3527 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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/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()
890 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1089 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1309 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1433 dm_put_device(ti, s->cow); in snapshot_ctr()
1532 dm_put_device(ti, s->cow); in snapshot_dtr()
1825 dest.bdev = s->cow->bdev; in start_copy()
1928 bio_set_dev(bio, s->cow->bdev); in remap_exception()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c463 goto cow; in esp_output_head()
486 goto cow; in esp_output_head()
518 cow: in esp_output_head()
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c497 goto cow; in esp6_output_head()
520 goto cow; in esp6_output_head()
552 cow: in esp6_output_head()
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.10/mm/
Dhugetlb.c3817 int cow; in copy_hugetlb_page_range() local
3824 cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in copy_hugetlb_page_range()
3826 if (cow) { in copy_hugetlb_page_range()
3881 if (is_write_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
3893 if (cow) { in copy_hugetlb_page_range()
3914 if (cow) in copy_hugetlb_page_range()
/kernel/linux/linux-5.10/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst612 Example:``ubd0=Filesystem.cow,Filesystem.img``