| /linux/arch/um/drivers/ |
| H A D | ubd_kern.c | 131 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 D | ctree.c | 249 struct extent_buffer *cow; in btrfs_copy_root() local 269 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root() 272 if (IS_ERR(cow)) in btrfs_copy_root() 273 return PTR_ERR(cow); in btrfs_copy_root() 275 copy_extent_buffer_full(cow, buf); in btrfs_copy_root() 276 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root() 277 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root() 278 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root() 279 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root() 282 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root() [all …]
|
| H A D | file-item.c | 202 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 D | free-space-tree.c | 98 struct btrfs_path *path, int cow) in btrfs_search_free_space_info() argument 109 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in btrfs_search_free_space_info() 130 int ins_len, int cow) in btrfs_search_prev_slot() argument 134 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
|
| H A D | relocation.c | 1102 bool cow = false; in replace_path() local 1124 if (cow) { in replace_path() 1187 if (cow) { in replace_path() 1205 if (!cow) { in replace_path() 1208 cow = true; in replace_path() 5858 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument 5897 refcount_inc(&cow->refs); in btrfs_reloc_cow_block() 5898 node->eb = cow; in btrfs_reloc_cow_block() 5899 node->new_bytenr = cow->start; in btrfs_reloc_cow_block() 5915 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
|
| H A D | ctree.h | 597 int ins_len, int cow);
|
| H A D | inode.c | 598 * If being used directly, you must have already checked we're allowed to cow 709 static int add_async_extent(struct async_chunk *cow, u64 start, u64 ram_size, in add_async_extent() argument 721 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent() 1716 * If we need to fallback to cow and the inode corresponds to a free in fallback_to_cow() 1976 * If no cow copies or snapshots exist, we write directly to the existing 6606 * Currently only the compression flags and the cow flags are inherited.
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | snapshot.rst | 113 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 | Makefile | 58 TEST_GEN_FILES = cow 253 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
|
| H A D | run_vmtests.sh | 74 - cow 403 CATEGORY="cow" run_test ./cow
|
| /linux/net/ipv6/ |
| H A D | esp6.c | 457 goto cow; in esp6_output_head() 486 goto cow; in esp6_output_head() 518 cow: in esp6_output_head()
|
| /linux/net/ipv4/ |
| H A D | esp4.c | 427 goto cow; in esp_output_head() 456 goto cow; in esp_output_head() 486 cow: in esp_output_head()
|
| /linux/fs/ |
| H A D | dax.c | 1628 bool cow = write && iomap->flags & IOMAP_F_SHARED; in dax_iomap_iter() local 1657 if (iomap->flags & IOMAP_F_NEW || cow) { in dax_iomap_iter() 1664 if (cow) in dax_iomap_iter() 1701 if (cow) { in dax_iomap_iter()
|
| /linux/include/trace/events/ |
| H A D | btrfs.h | 1964 const struct extent_buffer *cow), 1966 TP_ARGS(root, buf, cow), 1981 __entry->cow_start = cow->start; 1983 __entry->cow_level = btrfs_header_level(cow);
|
| /linux/mm/ |
| H A D | hugetlb.c | 4902 bool cow = vma_is_cow_mapping(src_vma); in copy_hugetlb_page_range() local 4911 if (cow) { in copy_hugetlb_page_range() 4972 if (!softleaf_is_migration_read(softleaf) && cow) { in copy_hugetlb_page_range() 5059 if (cow) { in copy_hugetlb_page_range() 5080 if (cow) { in copy_hugetlb_page_range()
|