Home
last modified time | relevance | path

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

/linux/arch/um/drivers/
H A Dubd_kern.c131 struct cow { struct
156 struct cow cow; member
181 .cow = DEFAULT_COW, \
323 ubd_dev->cow.file = backing_file; in ubd_setup_common()
501 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
502 file = ubd_dev->cow.file; in ubd_file_size()
570 static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) in path_requires_switch() argument
597 from_cmdline, from_cow, cow); in path_requires_switch()
709 if(ubd_dev->cow.file == NULL) in ubd_close_dev()
712 os_close_file(ubd_dev->cow.fd); in ubd_close_dev()
[all …]
/linux/drivers/md/
H A Ddm-snap.c58 struct dm_dev *cow; member
185 return s->cow; in dm_snap_cow()
467 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
883 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1079 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1279 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1284 if (s->cow->bdev && s->cow->bdev == s->origin->bdev) { in snapshot_ctr()
1407 dm_put_device(ti, s->cow); in snapshot_ctr()
1504 dm_put_device(ti, s->cow); in snapshot_dtr()
1798 dest.bdev = s->cow->bdev; in start_copy()
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A 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/tools/testing/selftests/mm/
H A D.gitignore2 cow
H A DMakefile58 TEST_GEN_FILES = cow
250 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
H A Drun_vmtests.sh74 - cow
482 CATEGORY="cow" run_test ./cow
/linux/fs/btrfs/
H A Dfile-item.c202 u64 bytenr, int cow) in btrfs_lookup_csum() argument
217 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
259 int cow = mod != 0; in btrfs_lookup_file_extent() local
265 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
H A Drelocation.c1024 int cow = 0; in replace_path() local
1046 if (cow) { in replace_path()
1109 if (cow) { in replace_path()
1127 if (!cow) { in replace_path()
1130 cow = 1; in replace_path()
5670 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
5708 refcount_inc(&cow->refs); in btrfs_reloc_cow_block()
5709 node->eb = cow; in btrfs_reloc_cow_block()
5710 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
5726 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
H A Dinode.c779 static int add_async_extent(struct async_chunk *cow, u64 start, u64 ram_size, in add_async_extent() argument
791 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
/linux/fs/
H A Ddax.c1588 bool cow = write && iomap->flags & IOMAP_F_SHARED; in dax_iomap_iter() local
1617 if (iomap->flags & IOMAP_F_NEW || cow) { in dax_iomap_iter()
1624 if (cow) in dax_iomap_iter()
1661 if (cow) { in dax_iomap_iter()
/linux/include/trace/events/
H A Dbtrfs.h1081 const struct extent_buffer *cow),
1083 TP_ARGS(root, buf, cow),
1098 __entry->cow_start = cow->start;
1100 __entry->cow_level = btrfs_header_level(cow);
/linux/mm/
H A Dhugetlb.c4892 bool cow = is_cow_mapping(src_vma->vm_flags); in copy_hugetlb_page_range() local
4901 if (cow) { in copy_hugetlb_page_range()
4958 if (!softleaf_is_migration_read(softleaf) && cow) { in copy_hugetlb_page_range()
5034 if (cow) { in copy_hugetlb_page_range()
5058 if (cow) { in copy_hugetlb_page_range()
/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst619 Example:``ubd0=Filesystem.cow,Filesystem.img``