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/fs/btrfs/
H A Dctree.c249 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 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.c1102 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 Dctree.h597 int ins_len, int cow);
H A Dinode.c709 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()
/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
252 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
H A Drun_vmtests.sh74 - cow
403 CATEGORY="cow" run_test ./cow
/linux/net/ipv6/
H A Desp6.c457 goto cow; in esp6_output_head()
480 goto cow; in esp6_output_head()
512 cow: in esp6_output_head()
/linux/net/ipv4/
H A Desp4.c427 goto cow; in esp_output_head()
450 goto cow; in esp_output_head()
480 cow: in esp_output_head()
/linux/include/trace/events/
H A Dbtrfs.h1964 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);