Home
last modified time | relevance | path

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

/Linux-v4.19/arch/um/drivers/
Dubd_kern.c131 struct cow { struct
156 struct cow cow; member
183 .cow = DEFAULT_COW, \
378 ubd_dev->cow.file = backing_file; in ubd_setup_common()
573 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
574 file = ubd_dev->cow.file; in ubd_file_size()
642 static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) in path_requires_switch() argument
669 from_cmdline, from_cow, cow); in path_requires_switch()
781 if(ubd_dev->cow.file == NULL) in ubd_close_dev()
784 os_close_file(ubd_dev->cow.fd); in ubd_close_dev()
[all …]
/Linux-v4.19/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.c231 struct extent_buffer *cow; in btrfs_copy_root() local
247 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
249 if (IS_ERR(cow)) in btrfs_copy_root()
250 return PTR_ERR(cow); in btrfs_copy_root()
252 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
253 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
254 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
255 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
256 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | in btrfs_copy_root()
259 btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); in btrfs_copy_root()
[all …]
Dinode-item.c86 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()
416 int cow = mod != 0; in btrfs_lookup_inode() local
422 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
Dfree-space-tree.h35 struct btrfs_path *path, int cow);
Dfile-item.c78 u64 bytenr, int cow) in btrfs_lookup_csum() argument
93 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
136 int cow = mod != 0; in btrfs_lookup_file_extent() local
141 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
Dfree-space-tree.c81 struct btrfs_path *path, int cow) in search_free_space_info() argument
91 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info()
112 int ins_len, int cow) in btrfs_search_prev_slot() argument
116 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
Drelocation.c1753 int cow = 0; in replace_path() local
1776 if (cow) { in replace_path()
1841 if (cow) { in replace_path()
1855 if (!cow) { in replace_path()
1858 cow = 1; in replace_path()
4560 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument
4578 __update_reloc_root(root, cow->start); in btrfs_reloc_cow_block()
4595 extent_buffer_get(cow); in btrfs_reloc_cow_block()
4596 node->eb = cow; in btrfs_reloc_cow_block()
4597 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
[all …]
Dctree.h2865 int ins_len, int cow);
3091 int cow);
3654 struct extent_buffer *cow);
Dinode.c370 static noinline int add_async_extent(struct async_cow *cow, in add_async_extent() argument
387 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
/Linux-v4.19/Documentation/device-mapper/
Dsnapshot.txt96 volumeGroup-snap-cow: 0 204800 linear 8:19 2097536
102 brw------- 1 root root 254, 12 29 ago 18:15 /dev/mapper/volumeGroup-snap-cow
111 "snapshot-merge". The "-real" device is not changed and the "-cow"
112 device is renamed to <origin name>-cow to aid LVM2's cleanup of the
126 volumeGroup-base-cow: 0 204800 linear 8:19 2097536
131 brw------- 1 root root 254, 12 29 ago 18:16 /dev/mapper/volumeGroup-base-cow
/Linux-v4.19/drivers/md/
Ddm-snap.c53 struct dm_dev *cow; member
159 return s->cow; in dm_snap_cow()
440 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
809 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1008 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1153 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1275 dm_put_device(ti, s->cow); in snapshot_ctr()
1376 dm_put_device(ti, s->cow); in snapshot_dtr()
1596 dest.bdev = s->cow->bdev; in start_copy()
1681 bio_set_dev(bio, s->cow->bdev); in remap_exception()
[all …]
/Linux-v4.19/include/trace/events/
Dbtrfs.h951 const struct extent_buffer *cow),
953 TP_ARGS(root, buf, cow),
968 __entry->cow_start = cow->start;
970 __entry->cow_level = btrfs_header_level(cow);
/Linux-v4.19/net/ipv6/
Desp6.c267 goto cow; in esp6_output_head()
303 cow: in esp6_output_head()
/Linux-v4.19/net/ipv4/
Desp4.c299 goto cow; in esp_output_head()
335 cow: in esp_output_head()
/Linux-v4.19/mm/
Dhugetlb.c3239 int cow; in copy_hugetlb_page_range() local
3246 cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in copy_hugetlb_page_range()
3250 if (cow) in copy_hugetlb_page_range()
3278 if (is_write_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range()
3290 if (cow) { in copy_hugetlb_page_range()
3311 if (cow) in copy_hugetlb_page_range()
/Linux-v4.19/Documentation/virtual/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