Home
last modified time | relevance | path

Searched refs:cow (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/arch/um/drivers/
H A Dubd_kern.c45 #include "cow.h"
141 struct cow { struct
156 * backing or the cow file. */
166 struct cow cow; member
191 .cow = DEFAULT_COW, \
378 *error_out = "Can't specify both 'd' and a cow file"; in ubd_setup_common()
388 ubd_dev->cow.file = backing_file; in ubd_setup_common()
572 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
573 file = ubd_dev->cow in ubd_file_size()
641 path_requires_switch(char *from_cmdline, char *from_cow, char *cow) path_requires_switch() argument
[all...]
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dubd_kern.c46 #include "cow.h"
140 struct cow { struct
155 * backing or the cow file. */
166 struct cow cow; member
192 .cow = DEFAULT_COW, \
328 *error_out = "Can't specify both 'd' and a cow file"; in ubd_setup_common()
334 ubd_dev->cow.file = backing_file; in ubd_setup_common()
524 if (ubd_dev->file && ubd_dev->cow.file) { in ubd_file_size()
525 file = ubd_dev->cow in ubd_file_size()
593 path_requires_switch(char *from_cmdline, char *from_cow, char *cow) path_requires_switch() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dctree.c315 struct extent_buffer *cow; in btrfs_copy_root() local
331 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
334 if (IS_ERR(cow)) in btrfs_copy_root()
335 return PTR_ERR(cow); in btrfs_copy_root()
337 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
338 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
339 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
340 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
341 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTE in btrfs_copy_root()
399 update_ref_for_cow(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *cow, int *last_ref) update_ref_for_cow() argument
531 struct extent_buffer *cow; __btrfs_cow_block() local
2124 btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, int ins_len, int cow) btrfs_search_slot() argument
[all...]
H A Drelocation.h14 struct extent_buffer *cow);
H A Dfree-space-tree.h37 struct btrfs_path *path, int cow);
H A Dinode-item.c88 int cow) in btrfs_lookup_inode_extref()
97 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
406 int cow = mod != 0; in btrfs_lookup_inode() local
412 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
83 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct fscrypt_str *name, u64 inode_objectid, u64 ref_objectid, int ins_len, int cow) btrfs_lookup_inode_extref() argument
H A Dinode-item.h101 int cow);
H A Ddir-item.c184 const int cow = (mod != 0); in btrfs_lookup_match_dir() local
187 ret = btrfs_search_slot(trans, root, key, path, ins_len, cow); in btrfs_lookup_match_dir()
H A Dfile-item.c207 u64 bytenr, int cow) in btrfs_lookup_csum()
222 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
264 int cow = mod != 0; in btrfs_lookup_file_extent() local
270 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
204 btrfs_lookup_csum(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, int cow) btrfs_lookup_csum() argument
H A Drelocation.c1227 int cow = 0; in replace_path() local
1249 if (cow) { in replace_path()
1312 if (cow) { in replace_path()
1330 if (!cow) { in replace_path()
1333 cow = 1; in replace_path()
4426 struct extent_buffer *cow) in btrfs_reloc_cow_block()
4455 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
4456 node->eb = cow; in btrfs_reloc_cow_block()
4457 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
4473 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
4424 btrfs_reloc_cow_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *cow) btrfs_reloc_cow_block() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dctree.c184 struct extent_buffer *cow; in btrfs_copy_root() local
200 cow = btrfs_alloc_tree_block(trans, root, 0, new_root_objectid, in btrfs_copy_root()
203 if (IS_ERR(cow)) in btrfs_copy_root()
204 return PTR_ERR(cow); in btrfs_copy_root()
206 copy_extent_buffer_full(cow, buf); in btrfs_copy_root()
207 btrfs_set_header_bytenr(cow, cow->start); in btrfs_copy_root()
208 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
209 btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV); in btrfs_copy_root()
210 btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTE in btrfs_copy_root()
848 update_ref_for_cow(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *cow, int *last_ref) update_ref_for_cow() argument
1022 struct extent_buffer *cow; __btrfs_cow_block() local
2707 btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, int ins_len, int cow) btrfs_search_slot() argument
[all...]
H A 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()
H A Dinode-item.c79 int cow) in btrfs_lookup_inode_extref()
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()
74 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, int ins_len, int cow) btrfs_lookup_inode_extref() argument
H A Dfree-space-tree.h36 struct btrfs_path *path, int cow);
H A Dfile-item.c175 u64 bytenr, int cow) in btrfs_lookup_csum()
190 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
233 int cow = mod != 0; in btrfs_lookup_file_extent() local
238 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
172 btrfs_lookup_csum(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, int cow) btrfs_lookup_csum() argument
H A Drelocation.c1203 int cow = 0; in replace_path() local
1226 if (cow) { in replace_path()
1294 if (cow) { in replace_path()
1309 if (!cow) { in replace_path()
1312 cow = 1; in replace_path()
3957 struct extent_buffer *cow) in btrfs_reloc_cow_block()
3987 atomic_inc(&cow->refs); in btrfs_reloc_cow_block()
3988 node->eb = cow; in btrfs_reloc_cow_block()
3989 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()
4005 ret = replace_file_extents(trans, rc, root, cow); in btrfs_reloc_cow_block()
3955 btrfs_reloc_cow_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *cow) btrfs_reloc_cow_block() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-snap.c53 struct dm_dev *cow; member
180 return s->cow; in dm_snap_cow()
435 * Returns number of snapshots registered using the supplied cow device, plus:
465 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
498 snap->ti->error = "Snapshot cow pairing for exception table handover failed"; in __validate_exception_handover()
890 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1086 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1286 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1291 if (s->cow in snapshot_ctr()
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-snap.c52 struct dm_dev *cow; member
184 return s->cow; in dm_snap_cow()
435 * Returns number of snapshots registered using the supplied cow device, plus:
465 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
498 snap->ti->error = "Snapshot cow pairing for exception " in __validate_exception_handover()
890 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1089 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1309 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1433 dm_put_device(ti, s->cow); in snapshot_ctr()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A DMakefile38 TEST_GEN_FILES = cow
174 $(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS)
H A Drun_vmtests.sh59 - cow
346 CATEGORY="cow" run_test ./cow
/kernel/linux/linux-5.10/net/ipv4/
H A Desp4.c462 goto cow; in esp_output_head()
485 goto cow; in esp_output_head()
517 cow: in esp_output_head()
/kernel/linux/linux-5.10/net/ipv6/
H A Desp6.c496 goto cow; in esp6_output_head()
519 goto cow; in esp6_output_head()
551 cow: in esp6_output_head()
/kernel/linux/linux-6.6/net/ipv4/
H A Desp4.c461 goto cow; in esp_output_head()
484 goto cow; in esp_output_head()
514 cow: in esp_output_head()
/kernel/linux/linux-6.6/net/ipv6/
H A Desp6.c496 goto cow; in esp6_output_head()
519 goto cow; in esp6_output_head()
551 cow: in esp6_output_head()
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs1538 /// When `cow` is the `Cow::Borrowed` variant, this
1543 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from()
1544 match cow { in from()
1576 /// When `cow` is the `Cow::Borrowed` variant, this
1598 fn from(cow: Cow<'_, str>) -> Box<str> { in from()
1599 match cow { in from()

Completed in 48 milliseconds

12