cow 158 arch/um/drivers/ubd_kern.c struct cow cow; cow 183 arch/um/drivers/ubd_kern.c .cow = DEFAULT_COW, \ cow 380 arch/um/drivers/ubd_kern.c ubd_dev->cow.file = backing_file; cow 569 arch/um/drivers/ubd_kern.c if (ubd_dev->file && ubd_dev->cow.file) { cow 570 arch/um/drivers/ubd_kern.c file = ubd_dev->cow.file; cow 638 arch/um/drivers/ubd_kern.c static int path_requires_switch(char *from_cmdline, char *from_cow, char *cow) cow 665 arch/um/drivers/ubd_kern.c from_cmdline, from_cow, cow); cow 777 arch/um/drivers/ubd_kern.c if(ubd_dev->cow.file == NULL) cow 780 arch/um/drivers/ubd_kern.c os_close_file(ubd_dev->cow.fd); cow 781 arch/um/drivers/ubd_kern.c vfree(ubd_dev->cow.bitmap); cow 782 arch/um/drivers/ubd_kern.c ubd_dev->cow.bitmap = NULL; cow 794 arch/um/drivers/ubd_kern.c create_ptr = (ubd_dev->cow.file != NULL) ? &create_cow : NULL; cow 795 arch/um/drivers/ubd_kern.c back_ptr = ubd_dev->no_cow ? NULL : &ubd_dev->cow.file; cow 798 arch/um/drivers/ubd_kern.c back_ptr, &ubd_dev->cow.bitmap_offset, cow 799 arch/um/drivers/ubd_kern.c &ubd_dev->cow.bitmap_len, &ubd_dev->cow.data_offset, cow 803 arch/um/drivers/ubd_kern.c fd = create_cow_file(ubd_dev->file, ubd_dev->cow.file, cow 805 arch/um/drivers/ubd_kern.c &ubd_dev->cow.bitmap_offset, cow 806 arch/um/drivers/ubd_kern.c &ubd_dev->cow.bitmap_len, cow 807 arch/um/drivers/ubd_kern.c &ubd_dev->cow.data_offset); cow 810 arch/um/drivers/ubd_kern.c "\"%s\"\n", ubd_dev->file, ubd_dev->cow.file); cow 821 arch/um/drivers/ubd_kern.c if(ubd_dev->cow.file != NULL){ cow 825 arch/um/drivers/ubd_kern.c ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len); cow 826 arch/um/drivers/ubd_kern.c if(ubd_dev->cow.bitmap == NULL){ cow 832 arch/um/drivers/ubd_kern.c err = read_cow_bitmap(ubd_dev->fd, ubd_dev->cow.bitmap, cow 833 arch/um/drivers/ubd_kern.c ubd_dev->cow.bitmap_offset, cow 834 arch/um/drivers/ubd_kern.c ubd_dev->cow.bitmap_len); cow 840 arch/um/drivers/ubd_kern.c err = open_ubd_file(ubd_dev->cow.file, &flags, ubd_dev->shared, NULL, cow 843 arch/um/drivers/ubd_kern.c ubd_dev->cow.fd = err; cow 1034 arch/um/drivers/ubd_kern.c if(ubd_dev->cow.file != NULL){ cow 1036 arch/um/drivers/ubd_kern.c CONFIG_CHUNK(str, size, len, ubd_dev->cow.file, 1); cow 1324 arch/um/drivers/ubd_kern.c if (dev->cow.file) cow 1325 arch/um/drivers/ubd_kern.c io_req->fds[0] = dev->cow.fd; cow 1344 arch/um/drivers/ubd_kern.c io_req->offsets[1] = dev->cow.data_offset; cow 1346 arch/um/drivers/ubd_kern.c if (dev->cow.file) cow 1347 arch/um/drivers/ubd_kern.c cowify_req(io_req, dev->cow.bitmap, cow 1348 arch/um/drivers/ubd_kern.c dev->cow.bitmap_offset, dev->cow.bitmap_len); cow 52 drivers/md/dm-snap.c struct dm_dev *cow; cow 179 drivers/md/dm-snap.c return s->cow; cow 460 drivers/md/dm-snap.c if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) cow 885 drivers/md/dm-snap.c cow_dev_size = get_dev_size(s->cow->bdev); cow 1084 drivers/md/dm-snap.c src.bdev = s->cow->bdev; cow 1288 drivers/md/dm-snap.c r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); cow 1410 drivers/md/dm-snap.c dm_put_device(ti, s->cow); cow 1507 drivers/md/dm-snap.c dm_put_device(ti, s->cow); cow 1800 drivers/md/dm-snap.c dest.bdev = s->cow->bdev; cow 1903 drivers/md/dm-snap.c bio_set_dev(bio, s->cow->bdev); cow 1925 drivers/md/dm-snap.c dest.bdev = s->cow->bdev; cow 1953 drivers/md/dm-snap.c bio_set_dev(bio, s->cow->bdev); cow 2122 drivers/md/dm-snap.c bio_set_dev(bio, s->cow->bdev); cow 2355 drivers/md/dm-snap.c DMEMIT("%s %s", snap->origin->name, snap->cow->name); cow 2379 drivers/md/dm-snap.c r = fn(ti, snap->cow, 0, get_dev_size(snap->cow->bdev), data); cow 224 fs/btrfs/ctree.c struct extent_buffer *cow; cow 240 fs/btrfs/ctree.c cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, cow 242 fs/btrfs/ctree.c if (IS_ERR(cow)) cow 243 fs/btrfs/ctree.c return PTR_ERR(cow); cow 245 fs/btrfs/ctree.c copy_extent_buffer_full(cow, buf); cow 246 fs/btrfs/ctree.c btrfs_set_header_bytenr(cow, cow->start); cow 247 fs/btrfs/ctree.c btrfs_set_header_generation(cow, trans->transid); cow 248 fs/btrfs/ctree.c btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); cow 249 fs/btrfs/ctree.c btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | cow 252 fs/btrfs/ctree.c btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); cow 254 fs/btrfs/ctree.c btrfs_set_header_owner(cow, new_root_objectid); cow 256 fs/btrfs/ctree.c write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid); cow 260 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 1); cow 262 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 0); cow 267 fs/btrfs/ctree.c btrfs_mark_buffer_dirty(cow); cow 268 fs/btrfs/ctree.c *cow_ret = cow; cow 887 fs/btrfs/ctree.c struct extent_buffer *cow, cow 951 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 1); cow 960 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 1); cow 962 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 0); cow 980 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 1); cow 982 fs/btrfs/ctree.c ret = btrfs_inc_ref(trans, root, cow, 0); cow 1058 fs/btrfs/ctree.c struct extent_buffer *cow; cow 1084 fs/btrfs/ctree.c cow = alloc_tree_block_no_bg_flush(trans, root, parent_start, &disk_key, cow 1086 fs/btrfs/ctree.c if (IS_ERR(cow)) cow 1087 fs/btrfs/ctree.c return PTR_ERR(cow); cow 1091 fs/btrfs/ctree.c copy_extent_buffer_full(cow, buf); cow 1092 fs/btrfs/ctree.c btrfs_set_header_bytenr(cow, cow->start); cow 1093 fs/btrfs/ctree.c btrfs_set_header_generation(cow, trans->transid); cow 1094 fs/btrfs/ctree.c btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); cow 1095 fs/btrfs/ctree.c btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN | cow 1098 fs/btrfs/ctree.c btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC); cow 1100 fs/btrfs/ctree.c btrfs_set_header_owner(cow, root->root_key.objectid); cow 1102 fs/btrfs/ctree.c write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid); cow 1104 fs/btrfs/ctree.c ret = update_ref_for_cow(trans, root, buf, cow, &last_ref); cow 1111 fs/btrfs/ctree.c ret = btrfs_reloc_cow_block(trans, root, buf, cow); cow 1124 fs/btrfs/ctree.c extent_buffer_get(cow); cow 1125 fs/btrfs/ctree.c ret = tree_mod_log_insert_root(root->node, cow, 1); cow 1127 fs/btrfs/ctree.c rcu_assign_pointer(root->node, cow); cow 1138 fs/btrfs/ctree.c cow->start); cow 1155 fs/btrfs/ctree.c btrfs_mark_buffer_dirty(cow); cow 1156 fs/btrfs/ctree.c *cow_ret = cow; cow 2732 fs/btrfs/ctree.c int ins_len, int cow) cow 2749 fs/btrfs/ctree.c BUG_ON(!cow && ins_len); cow 2767 fs/btrfs/ctree.c if (!cow) cow 2770 fs/btrfs/ctree.c if (cow && (p->keep_locks || p->lowest_level)) cow 2790 fs/btrfs/ctree.c if (cow) { cow 2554 fs/btrfs/ctree.h int ins_len, int cow); cow 2775 fs/btrfs/ctree.h int cow); cow 3351 fs/btrfs/ctree.h struct extent_buffer *cow); cow 188 fs/btrfs/dir-item.c int cow = mod != 0; cow 195 fs/btrfs/dir-item.c ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); cow 281 fs/btrfs/dir-item.c int cow = mod != 0; cow 287 fs/btrfs/dir-item.c ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); cow 352 fs/btrfs/dir-item.c int cow = mod != 0; cow 357 fs/btrfs/dir-item.c ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); cow 84 fs/btrfs/file-item.c u64 bytenr, int cow) cow 99 fs/btrfs/file-item.c ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); cow 142 fs/btrfs/file-item.c int cow = mod != 0; cow 147 fs/btrfs/file-item.c ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); cow 82 fs/btrfs/free-space-tree.c struct btrfs_path *path, int cow) cow 93 fs/btrfs/free-space-tree.c ret = btrfs_search_slot(trans, root, &key, path, 0, cow); cow 114 fs/btrfs/free-space-tree.c int ins_len, int cow) cow 118 fs/btrfs/free-space-tree.c ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); cow 36 fs/btrfs/free-space-tree.h struct btrfs_path *path, int cow); cow 79 fs/btrfs/inode-item.c int cow) cow 88 fs/btrfs/inode-item.c ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); cow 408 fs/btrfs/inode-item.c int cow = mod != 0; cow 414 fs/btrfs/inode-item.c ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); cow 381 fs/btrfs/inode.c static noinline int add_async_extent(struct async_chunk *cow, cow 398 fs/btrfs/inode.c list_add_tail(&async_extent->list, &cow->extents); cow 1821 fs/btrfs/relocation.c int cow = 0; cow 1844 fs/btrfs/relocation.c if (cow) { cow 1911 fs/btrfs/relocation.c if (cow) { cow 1925 fs/btrfs/relocation.c if (!cow) { cow 1928 fs/btrfs/relocation.c cow = 1; cow 4708 fs/btrfs/relocation.c struct extent_buffer *cow) cow 4738 fs/btrfs/relocation.c extent_buffer_get(cow); cow 4739 fs/btrfs/relocation.c node->eb = cow; cow 4740 fs/btrfs/relocation.c node->new_bytenr = cow->start; cow 4756 fs/btrfs/relocation.c ret = replace_file_extents(trans, rc, root, cow); cow 987 include/trace/events/btrfs.h const struct extent_buffer *cow), cow 989 include/trace/events/btrfs.h TP_ARGS(root, buf, cow), cow 1004 include/trace/events/btrfs.h __entry->cow_start = cow->start; cow 1006 include/trace/events/btrfs.h __entry->cow_level = btrfs_header_level(cow); cow 3425 mm/hugetlb.c int cow; cow 3431 mm/hugetlb.c cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; cow 3433 mm/hugetlb.c if (cow) { cow 3480 mm/hugetlb.c if (is_write_migration_entry(swp_entry) && cow) { cow 3492 mm/hugetlb.c if (cow) { cow 3513 mm/hugetlb.c if (cow) cow 311 net/ipv4/esp4.c goto cow; cow 347 net/ipv4/esp4.c cow: cow 256 net/ipv6/esp6.c goto cow; cow 292 net/ipv6/esp6.c cow: