| /linux-6.15/arch/um/drivers/ |
| H A D | ubd_kern.c | 131 struct cow { struct 156 struct cow cow; member 181 .cow = DEFAULT_COW, \ 502 file = ubd_dev->cow.file; in ubd_file_size() 731 &ubd_dev->cow.bitmap_len, &ubd_dev->cow.data_offset, in ubd_open_dev() 755 ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len); in ubd_open_dev() 772 ubd_dev->cow.fd = err; in ubd_open_dev() 843 if (ubd_dev->cow.file) in ubd_add() 1217 if (dev->cow.file) { in ubd_map_req() 1220 dev->cow.bitmap, dev->cow.bitmap_offset, in ubd_map_req() [all …]
|
| /linux-6.15/fs/btrfs/ |
| H A D | ctree.c | 270 if (IS_ERR(cow)) in btrfs_copy_root() 271 return PTR_ERR(cow); in btrfs_copy_root() 274 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root() 299 *cow_ret = cow; in btrfs_copy_root() 509 if (IS_ERR(cow)) in btrfs_force_cow_block() 510 return PTR_ERR(cow); in btrfs_force_cow_block() 515 btrfs_set_header_bytenr(cow, cow->start); in btrfs_force_cow_block() 572 cow->start); in btrfs_force_cow_block() 596 *cow_ret = cow; in btrfs_force_cow_block() 2028 if (!cow) in btrfs_search_slot() [all …]
|
| H A D | relocation.h | 24 struct extent_buffer *cow);
|
| H A D | free-space-tree.h | 43 struct btrfs_path *path, int cow);
|
| H A D | inode-item.c | 87 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() 401 int cow = mod != 0; in btrfs_lookup_inode() local 407 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
|
| H A D | inode-item.h | 110 int cow);
|
| H A D | dir-item.c | 181 const int cow = (mod != 0); in btrfs_lookup_match_dir() local 184 ret = btrfs_search_slot(trans, root, key, path, ins_len, cow); in btrfs_lookup_match_dir()
|
| 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 | relocation.c | 1010 int cow = 0; in replace_path() local 1032 if (cow) { in replace_path() 1095 if (cow) { in replace_path() 1113 if (!cow) { in replace_path() 1116 cow = 1; in replace_path() 4308 struct extent_buffer *cow) in btrfs_reloc_cow_block() argument 4346 atomic_inc(&cow->refs); in btrfs_reloc_cow_block() 4347 node->eb = cow; in btrfs_reloc_cow_block() 4348 node->new_bytenr = cow->start; in btrfs_reloc_cow_block() 4364 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
|
| H A D | free-space-tree.c | 103 struct btrfs_path *path, int cow) in search_free_space_info() argument 114 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info() 135 int ins_len, int cow) in btrfs_search_prev_slot() argument 139 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot()
|
| H A D | ctree.h | 601 int ins_len, int cow);
|
| H A D | inode.c | 748 static noinline int add_async_extent(struct async_chunk *cow, in add_async_extent() argument 766 list_add_tail(&async_extent->list, &cow->extents); in add_async_extent()
|
| /linux-6.15/drivers/md/ |
| H A D | dm-snap.c | 53 struct dm_dev *cow; member 180 return s->cow; in dm_snap_cow() 465 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow() 1088 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks() 1293 if (s->cow->bdev && s->cow->bdev == s->origin->bdev) { in snapshot_ctr() 1416 dm_put_device(ti, s->cow); in snapshot_ctr() 1513 dm_put_device(ti, s->cow); in snapshot_dtr() 1807 dest.bdev = s->cow->bdev; in start_copy() 1910 bio_set_dev(bio, s->cow->bdev); in remap_exception() 1932 dest.bdev = s->cow->bdev; in zero_exception() [all …]
|
| /linux-6.15/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-6.15/tools/testing/selftests/mm/ |
| H A D | .gitignore | 2 cow
|
| H A D | Makefile | 57 TEST_GEN_FILES = cow 218 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
|
| H A D | run_vmtests.sh | 66 - cow 472 CATEGORY="cow" run_test ./cow
|
| /linux-6.15/Documentation/translations/zh_CN/mm/ |
| H A D | page_tables.rst | 212 “read”,“cow”和“shared”分别暗示了它处理错误的类型和原因。
|
| /linux-6.15/net/ipv4/ |
| H A D | esp4.c | 421 goto cow; in esp_output_head() 444 goto cow; in esp_output_head() 474 cow: in esp_output_head()
|
| /linux-6.15/net/ipv6/ |
| H A D | esp6.c | 450 goto cow; in esp6_output_head() 473 goto cow; in esp6_output_head() 505 cow: in esp6_output_head()
|
| /linux-6.15/fs/ |
| H A D | dax.c | 1629 bool cow = write && iomap->flags & IOMAP_F_SHARED; in dax_iomap_iter() local 1658 if (iomap->flags & IOMAP_F_NEW || cow) { in dax_iomap_iter() 1665 if (cow) in dax_iomap_iter() 1702 if (cow) { in dax_iomap_iter()
|
| /linux-6.15/include/trace/events/ |
| H A D | btrfs.h | 1086 const struct extent_buffer *cow), 1088 TP_ARGS(root, buf, cow), 1103 __entry->cow_start = cow->start; 1105 __entry->cow_level = btrfs_header_level(cow);
|
| /linux-6.15/mm/ |
| H A D | hugetlb.c | 5567 bool cow = is_cow_mapping(src_vma->vm_flags); in copy_hugetlb_page_range() local 5575 if (cow) { in copy_hugetlb_page_range() 5637 if (!is_readable_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range() 5716 if (cow) { in copy_hugetlb_page_range() 5738 if (cow) { in copy_hugetlb_page_range()
|
| /linux-6.15/Documentation/mm/ |
| H A D | page_tables.rst | 268 "read", "cow", "shared" give hints about the reasons and the kind of fault it's
|
| /linux-6.15/Documentation/virt/uml/ |
| H A D | user_mode_linux_howto_v2.rst | 652 Example:``ubd0=Filesystem.cow,Filesystem.img``
|