Home
last modified time | relevance | path

Searched refs:cow (Results 1 – 21 of 21) 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/fs/btrfs/
H A Dctree.c315 struct extent_buffer *cow; in btrfs_copy_root() local
334 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
337 if (IS_ERR(cow)) in btrfs_copy_root()
338 return PTR_ERR(cow); in btrfs_copy_root()
340 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
341 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
342 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
343 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
344 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root()
347 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root()
[all …]
H A Drelocation.h24 struct extent_buffer *cow);
H A Dinode-item.c87 int cow) in btrfs_lookup_inode_extref() argument
96 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
405 int cow = mod != 0; in btrfs_lookup_inode() local
411 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
H A Dfree-space-tree.h43 struct btrfs_path *path, int cow);
H A Dinode-item.h110 int cow);
H A Dfile-item.c204 u64 bytenr, int cow) in btrfs_lookup_csum() argument
219 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
261 int cow = mod != 0; in btrfs_lookup_file_extent() local
267 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
H A Drelocation.c1108 int cow = 0; in replace_path() local
1130 if (cow) { in replace_path()
1193 if (cow) { in replace_path()
1211 if (!cow) { in replace_path()
1214 cow = 1; in replace_path()
4384 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
4412 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
4413 node->eb = cow; in btrfs_reloc_cow_block()
4414 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
4430 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
H A 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()
H A Dctree.h616 int ins_len, int cow);
H A Dinode.c796 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument
814 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
/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 DMakefile50 TEST_GEN_FILES = cow
206 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
H A Drun_vmtests.sh64 - cow
427 CATEGORY="cow" run_test ./cow
/linux/net/ipv6/
H A Desp6.c489 goto cow; in esp6_output_head()
512 goto cow; in esp6_output_head()
544 cow: in esp6_output_head()
/linux/net/ipv4/
H A Desp4.c460 goto cow; in esp_output_head()
483 goto cow; in esp_output_head()
513 cow: in esp_output_head()
/linux/fs/
H A Ddax.c1444 bool cow = write && iomap->flags & IOMAP_F_SHARED; in dax_iomap_iter() local
1471 if (iomap->flags & IOMAP_F_NEW || cow) { in dax_iomap_iter()
1478 if (cow) in dax_iomap_iter()
1515 if (cow) { in dax_iomap_iter()
/linux/include/trace/events/
H A Dbtrfs.h1085 const struct extent_buffer *cow),
1087 TP_ARGS(root, buf, cow),
1102 __entry->cow_start = cow->start;
1104 __entry->cow_level = btrfs_header_level(cow);
/linux/mm/
H A Dhugetlb.c5220 bool cow = is_cow_mapping(src_vma->vm_flags); in copy_hugetlb_page_range() local
5228 if (cow) { in copy_hugetlb_page_range()
5290 if (!is_readable_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
5369 if (cow) { in copy_hugetlb_page_range()
5391 if (cow) { in copy_hugetlb_page_range()
/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst652 Example:``ubd0=Filesystem.cow,Filesystem.img``