Home
last modified time | relevance | path

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

/Linux-v5.4/arch/um/drivers/
Dubd_kern.c133 struct cow { struct
158 struct cow cow; member
183 .cow = DEFAULT_COW, \
380 ubd_dev->cow.file = backing_file; in ubd_setup_common()
569 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
570 file = ubd_dev->cow.file; in ubd_file_size()
638 static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) in path_requires_switch() argument
665 from_cmdline, from_cow, cow); in path_requires_switch()
777 if(ubd_dev->cow.file == NULL) in ubd_close_dev()
780 os_close_file(ubd_dev->cow.fd); in ubd_close_dev()
[all …]
/Linux-v5.4/fs/btrfs/
Ddir-item.c188 int cow = mod != 0; in btrfs_lookup_dir_item() local
195 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_dir_item()
281 int cow = mod != 0; in btrfs_lookup_dir_index_item() local
287 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_dir_index_item()
352 int cow = mod != 0; in btrfs_lookup_xattr() local
357 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_xattr()
Dctree.c224 struct extent_buffer *cow; in btrfs_copy_root() local
240 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
242 if (IS_ERR(cow)) in btrfs_copy_root()
243 return PTR_ERR(cow); in btrfs_copy_root()
245 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
246 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
247 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
248 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
249 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root()
252 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root()
[all …]
Dinode-item.c79 int cow) in btrfs_lookup_inode_extref() argument
88 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
408 int cow = mod != 0; in btrfs_lookup_inode() local
414 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
Dfree-space-tree.h36 struct btrfs_path *path, int cow);
Dfile-item.c84 u64 bytenr, int cow) in btrfs_lookup_csum() argument
99 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
142 int cow = mod != 0; in btrfs_lookup_file_extent() local
147 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
Dfree-space-tree.c82 struct btrfs_path *path, int cow) in search_free_space_info() argument
93 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info()
114 int ins_len, int cow) in btrfs_search_prev_slot() argument
118 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
Drelocation.c1783 int cow = 0; in replace_path() local
1806 if (cow) { in replace_path()
1873 if (cow) { in replace_path()
1887 if (!cow) { in replace_path()
1890 cow = 1; in replace_path()
4656 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
4674 __update_reloc_root(root, cow->start); in btrfs_reloc_cow_block()
4691 extent_buffer_get(cow); in btrfs_reloc_cow_block()
4692 node->eb = cow; in btrfs_reloc_cow_block()
4693 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
[all …]
Dctree.h2556 int ins_len, int cow);
2777 int cow);
3349 struct extent_buffer *cow);
Dinode.c381 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument
398 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
/Linux-v5.4/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-v5.4/drivers/md/
Ddm-snap.c52 struct dm_dev *cow; member
179 return s->cow; in dm_snap_cow()
460 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
885 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1084 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1288 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1410 dm_put_device(ti, s->cow); in snapshot_ctr()
1507 dm_put_device(ti, s->cow); in snapshot_dtr()
1800 dest.bdev = s->cow->bdev; in start_copy()
1903 bio_set_dev(bio, s->cow->bdev); in remap_exception()
[all …]
/Linux-v5.4/net/ipv6/
Desp6.c256 goto cow; in esp6_output_head()
292 cow: in esp6_output_head()
/Linux-v5.4/net/ipv4/
Desp4.c311 goto cow; in esp_output_head()
347 cow: in esp_output_head()
/Linux-v5.4/include/trace/events/
Dbtrfs.h987 const struct extent_buffer *cow),
989 TP_ARGS(root, buf, cow),
1004 __entry->cow_start = cow->start;
1006 __entry->cow_level = btrfs_header_level(cow);
/Linux-v5.4/mm/
Dhugetlb.c3376 int cow; in copy_hugetlb_page_range() local
3382 cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in copy_hugetlb_page_range()
3384 if (cow) { in copy_hugetlb_page_range()
3431 if (is_write_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
3443 if (cow) { in copy_hugetlb_page_range()
3464 if (cow) in copy_hugetlb_page_range()
/Linux-v5.4/Documentation/virt/uml/
DUserModeLinux-HOWTO.txt1907 host% ls -l cow.debian debian2.2
1908 -rw-r--r-- 1 jdike jdike 492504064 Aug 6 21:16 cow.debian
1917 host% ls -ls cow.debian debian2.2
1918 880 -rw-r--r-- 1 jdike jdike 492504064 Aug 6 21:16 cow.debian