Home
last modified time | relevance | path

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

/Linux-v6.6/arch/um/drivers/
Dubd_kern.c140 struct cow { struct
166 struct cow cow; member
192 .cow = DEFAULT_COW, \
334 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-v6.6/fs/btrfs/
Dctree.c315 struct extent_buffer *cow; in btrfs_copy_root() local
331 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
334 if (IS_ERR(cow)) in btrfs_copy_root()
335 return PTR_ERR(cow); in btrfs_copy_root()
337 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
338 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
339 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
340 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
341 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root()
344 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root()
[all …]
Drelocation.h14 struct extent_buffer *cow);
Dfree-space-tree.h37 struct btrfs_path *path, int cow);
Dinode-item.c88 int cow) in btrfs_lookup_inode_extref() argument
97 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
406 int cow = mod != 0; in btrfs_lookup_inode() local
412 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
Dinode-item.h101 int cow);
Ddir-item.c184 const int cow = (mod != 0); in btrfs_lookup_match_dir() local
187 ret = btrfs_search_slot(trans, root, key, path, ins_len, cow); in btrfs_lookup_match_dir()
Dfile-item.c207 u64 bytenr, int cow) in btrfs_lookup_csum() argument
222 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
264 int cow = mod != 0; in btrfs_lookup_file_extent() local
270 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
Drelocation.c1227 int cow = 0; in replace_path() local
1249 if (cow) { in replace_path()
1312 if (cow) { in replace_path()
1330 if (!cow) { in replace_path()
1333 cow = 1; in replace_path()
4426 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
4455 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
4456 node->eb = cow; in btrfs_reloc_cow_block()
4457 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
4473 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
Dfree-space-tree.c104 struct btrfs_path *path, int cow) in search_free_space_info() argument
115 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info()
136 int ins_len, int cow) in btrfs_search_prev_slot() argument
140 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
Dctree.h563 int ins_len, int cow);
Dinode.c723 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument
740 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
/Linux-v6.6/drivers/md/
Ddm-snap.c53 struct dm_dev *cow; member
180 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()
1086 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1286 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1291 if (s->cow->bdev && s->cow->bdev == s->origin->bdev) { in snapshot_ctr()
1414 dm_put_device(ti, s->cow); in snapshot_ctr()
1511 dm_put_device(ti, s->cow); in snapshot_dtr()
1805 dest.bdev = s->cow->bdev; in start_copy()
[all …]
/Linux-v6.6/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-v6.6/tools/testing/selftests/mm/
D.gitignore2 cow
DMakefile38 TEST_GEN_FILES = cow
174 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
Drun_vmtests.sh59 - cow
346 CATEGORY="cow" run_test ./cow
/Linux-v6.6/rust/alloc/
Dboxed.rs1521 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from()
1522 match cow { in from()
1576 fn from(cow: Cow<'_, str>) -> Box<str> { in from()
1577 match cow { in from()
/Linux-v6.6/net/ipv6/
Desp6.c496 goto cow; in esp6_output_head()
519 goto cow; in esp6_output_head()
551 cow: in esp6_output_head()
/Linux-v6.6/net/ipv4/
Desp4.c461 goto cow; in esp_output_head()
484 goto cow; in esp_output_head()
514 cow: in esp_output_head()
/Linux-v6.6/fs/
Ddax.c1429 bool cow = write && iomap->flags & IOMAP_F_SHARED; in dax_iomap_iter() local
1456 if (iomap->flags & IOMAP_F_NEW || cow) { in dax_iomap_iter()
1463 if (cow) in dax_iomap_iter()
1500 if (cow) { in dax_iomap_iter()
/Linux-v6.6/include/trace/events/
Dbtrfs.h1114 const struct extent_buffer *cow),
1116 TP_ARGS(root, buf, cow),
1131 __entry->cow_start = cow->start;
1133 __entry->cow_level = btrfs_header_level(cow);
/Linux-v6.6/mm/
Dhugetlb.c5035 bool cow = is_cow_mapping(src_vma->vm_flags); in copy_hugetlb_page_range() local
5043 if (cow) { in copy_hugetlb_page_range()
5105 if (!is_readable_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
5186 if (cow) { in copy_hugetlb_page_range()
5208 if (cow) { in copy_hugetlb_page_range()
/Linux-v6.6/rust/alloc/vec/
Dmod.rs96 mod cow; module
/Linux-v6.6/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst617 Example:``ubd0=Filesystem.cow,Filesystem.img``