Home
last modified time | relevance | path

Searched full:clone (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/openbmc/linux/drivers/md/
H A Ddm-clone-target.c33 #include "dm-clone-metadata.h"
35 #define DM_MSG_PREFIX "clone"
60 /* dm-clone metadata modes */
69 struct clone { struct
141 * dm-clone flags argument
152 static enum clone_metadata_mode get_clone_mode(struct clone *clone) in get_clone_mode() argument
154 return READ_ONCE(clone->mode); in get_clone_mode()
157 static const char *clone_device_name(struct clone *clone) in clone_device_name() argument
159 return dm_table_device_name(clone->ti->table); in clone_device_name()
162 static void __set_clone_mode(struct clone *clone, enum clone_metadata_mode new_mode) in __set_clone_mode() argument
[all …]
H A Ddm-rq.c21 struct request *orig, *clone; member
78 static void end_clone_bio(struct bio *clone) in end_clone_bio() argument
81 container_of(clone, struct dm_rq_clone_bio_info, clone); in end_clone_bio()
84 blk_status_t error = clone->bi_status; in end_clone_bio()
85 bool is_last = !clone->bi_next; in end_clone_bio()
87 bio_put(clone); in end_clone_bio()
92 * Once error occurred, just let clone->end_io() handle in end_clone_bio()
115 * the original request before the clone, and break the ordering. in end_clone_bio()
153 * Complete the clone and the original request.
154 * Must be called without clone's queue lock held,
[all …]
H A Ddm-zone.c368 unsigned int zno, struct bio *clone) in dm_zone_map_bio_begin() argument
385 switch (bio_op(clone)) { in dm_zone_map_bio_begin()
392 if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset) in dm_zone_map_bio_begin()
401 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin()
402 (clone->bi_opf & (~REQ_OP_MASK)); in dm_zone_map_bio_begin()
403 clone->bi_iter.bi_sector += zwp_offset; in dm_zone_map_bio_begin()
420 * data written to a zone. Note that at this point, the remapped clone BIO
429 /* The clone BIO may already have been completed and failed */ in dm_zone_map_bio_end()
464 struct bio *clone) in dm_zone_lock() argument
466 if (WARN_ON_ONCE(bio_flagged(clone, BIO_ZONE_WRITE_LOCKED))) in dm_zone_lock()
[all …]
H A Ddm-flakey.c392 static void clone_free(struct bio *clone) in clone_free() argument
396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in clone_free()
397 bio_for_each_folio_all(fi, clone) in clone_free()
401 bio_uninit(clone); in clone_free()
402 kfree(clone); in clone_free()
405 static void clone_endio(struct bio *clone) in clone_endio() argument
407 struct bio *bio = clone->bi_private; in clone_endio()
408 bio->bi_status = clone->bi_status; in clone_endio()
409 clone_free(clone); in clone_endio()
415 struct bio *clone; in clone_bio() local
[all …]
H A Ddm-clone-metadata.h26 /* dm-clone metadata */
32 * @cmd: The dm-clone metadata
43 * @cmd: The dm-clone metadata
61 * @returns: The dm-clone metadata
77 * Commit dm-clone metadata to disk.
89 * This allows dm-clone to flush the destination device after step (1) to
117 * Check whether dm-clone's metadata changed this transaction.
H A Ddm.c92 static inline struct dm_target_io *clone_to_tio(struct bio *clone) in clone_to_tio() argument
94 return container_of(clone, struct dm_target_io, clone); in clone_to_tio()
118 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr()
542 static void dm_start_io_acct(struct dm_io *io, struct bio *clone) in dm_start_io_acct() argument
551 if (!clone || likely(dm_tio_is_normal(clone_to_tio(clone)))) { in dm_start_io_acct()
577 struct bio *clone; in alloc_io() local
579 clone = bio_alloc_clone(NULL, bio, GFP_NOIO, &md->mempools->io_bs); in alloc_io()
580 tio = clone_to_tio(clone); in alloc_io()
609 bio_put(&io->tio.clone); in free_io()
617 struct bio *clone; in alloc_tio() local
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-clone.rst4 dm-clone
10 dm-clone is a device mapper target which produces a one-to-one copy of an
15 The main use case of dm-clone is to clone a potentially remote, high-latency,
26 When the cloning completes, the dm-clone table can be removed altogether and be
29 The dm-clone target reuses the metadata library used by the thin-provisioning
56 clone of the source device.
68 dm-clone divides the source and destination devices in fixed sized regions.
72 The region size is configurable when you first create the dm-clone device. The
92 dm-clone interprets a discard request to a range that hasn't been hydrated yet
97 If the destination device supports discards, then by default dm-clone will pass
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch6 Since commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3]
11 __clone3 returns -1 with ENOSYS, fall back to clone or clone2.
19 So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
71 sysdeps/unix/sysv/linux/clone-internal.c | 2 +-
74 diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c
76 --- a/sysdeps/unix/sysv/linux/clone-internal.c
77 +++ b/sysdeps/unix/sysv/linux/clone-internal.c
/openbmc/qemu/tests/unit/
H A Dtest-clone-visitor.c2 * QAPI Clone Visitor unit-tests.
12 #include "qapi/clone-visitor.h"
131 /* Clone intentionally converts NULL into "" for strings */ in test_clone_complex2()
203 g_test_add_func("/visitor/clone/struct", test_clone_struct); in main()
204 g_test_add_func("/visitor/clone/alternate", test_clone_alternate); in main()
205 g_test_add_func("/visitor/clone/list", test_clone_list); in main()
206 g_test_add_func("/visitor/clone/empty", test_clone_empty); in main()
207 g_test_add_func("/visitor/clone/complex1", test_clone_complex1); in main()
208 g_test_add_func("/visitor/clone/complex2", test_clone_complex2); in main()
209 g_test_add_func("/visitor/clone/complex3", test_clone_complex3); in main()
/openbmc/openbmc-build-scripts/jenkins/
H A Drun-meta-ci20 # git clone https://github.com/openbmc/openbmc-test-automation.git --branch ${GERRIT_BRANCH} --sing…
21 git clone https://github.com/openbmc/openbmc-test-automation.git --branch master --single-branch
29 # Remove openbmc dir in prep for full repo clone
32 # Clone openbmc/openbmc
33 git clone https://github.com/openbmc/openbmc.git --branch "${GERRIT_BRANCH}" --single-branch
/openbmc/linux/Documentation/userspace-api/
H A Dunshare.rst38 threads. On Linux, at the time of thread creation using the clone system
58 when creating a new process using fork or clone, unshare() can benefit
96 works on an active task (as opposed to clone/fork working on a newly
98 changes to copy_* functions utilized by clone/fork system call.
108 unshare() reverses sharing that was done using clone(2) system call,
109 so unshare() should have a similar interface as clone(2). That is,
110 since flags in clone(int flags, void \*stack) specifies what should
113 the meaning of the flags from the way they are used in clone(2).
140 using clone(2).
182 clone(2), fork(2)
[all …]
/openbmc/linux/fs/f2fs/
H A Dacl.c297 struct posix_acl *clone = NULL; in f2fs_acl_clone() local
302 clone = kmemdup(acl, size, flags); in f2fs_acl_clone()
303 if (clone) in f2fs_acl_clone()
304 refcount_set(&clone->a_refcount, 1); in f2fs_acl_clone()
306 return clone; in f2fs_acl_clone()
368 struct posix_acl *clone; in f2fs_acl_create() local
385 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()
386 if (!clone) { in f2fs_acl_create()
391 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create()
396 posix_acl_release(clone); in f2fs_acl_create()
[all …]
/openbmc/openbmc/poky/scripts/contrib/
H A Dpatchtest.sh25 function clone() { function
29 git clone $REPOREMOTE $REPODIR --quiet
77 # clone or pull
78 clone git://git.yoctoproject.org/patchtest $PT
79 clone git://git.yoctoproject.org/patchtest-oe $PTOE
/openbmc/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh507 info "Checking clone depth"
512 'clone(clone(clone(clone(clone(clone(clone(clone(clone(clon
[all...]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/
H A D1024.patch52 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
65 @@ -14,7 +14,7 @@ env_cpp11 = env_cpp11.Clone ()
78 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
91 @@ -11,7 +11,7 @@ env_cpp11 = env_cpp11.Clone ()
104 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
117 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
130 @@ -14,7 +14,7 @@ env_cpp11 = env_cpp11.Clone ()
143 @@ -14,7 +14,7 @@ env_cpp11 = env_cpp11.Clone ()
156 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
169 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
[all …]
/openbmc/linux/net/core/
H A Dtimestamping.c25 struct sk_buff *clone; in skb_clone_tx_timestamp() local
37 clone = skb_clone_sk(skb); in skb_clone_tx_timestamp()
38 if (!clone) in skb_clone_tx_timestamp()
40 mii_ts->txtstamp(mii_ts, clone, type); in skb_clone_tx_timestamp()
/openbmc/linux/fs/
H A Dposix_acl.c216 * Clone an ACL.
221 struct posix_acl *clone = NULL; in posix_acl_clone() local
226 clone = kmemdup(acl, size, flags); in posix_acl_clone()
227 if (clone) in posix_acl_clone()
228 refcount_set(&clone->a_refcount, 1); in posix_acl_clone()
230 return clone; in posix_acl_clone()
559 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
561 if (clone) { in __posix_acl_create()
562 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
564 posix_acl_release(clone); in __posix_acl_create()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dpatchtest-setup-sharedir69 # clone poky if it's not already present; otherwise, update it
72 git clone "${POKY_REPO}" "${SHAREDIR}/${BASENAME}"
77 # clone patchtest if it's not already present; otherwise, update it
80 git clone "${PATCHTEST_REPO}" "${SHAREDIR}/${BASENAME}"
/openbmc/linux/arch/um/kernel/skas/
H A DMakefile6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o
8 # clone.o is in the stub, so it can't be built with profiling
13 UNPROFILE_OBJS := clone.o
/openbmc/linux/drivers/scsi/cxlflash/
H A Dvlun.c42 * marshal_clone_to_rele() - translate clone to release structure
43 * @clone: Source structure from which to translate/copy.
46 static void marshal_clone_to_rele(struct dk_cxlflash_clone *clone, in marshal_clone_to_rele() argument
49 release->hdr = clone->hdr; in marshal_clone_to_rele()
50 release->context_id = clone->context_id_dst; in marshal_clone_to_rele()
121 /* Allocate clone map */ in ba_init()
125 pr_err("%s: Failed to allocate clone map: lun_id=%016llx\n", in ba_init()
275 pr_debug("%s: AUN %llx lun_id=%016llx cloned. Clone count=%x\n", in ba_free()
301 * ba_clone() - Clone a chunk of the block allocation table
303 * @to_clone: Block to clone.
[all …]
/openbmc/openbmc-build-scripts/
H A Drun-rootfs-size-docker.sh46 echo "Clone (${OBMC_BUILD_SCRIPTS}) in ${WORKSPACE}..."
47 …git clone https://gerrit.openbmc.org/openbmc/${OBMC_BUILD_SCRIPTS} "${WORKSPACE}"/${OBMC_BUILD_SCR…
51 echo "Clone (${OBMC_TOOLS}) in ${WORKSPACE}..."
52 git clone https://gerrit.openbmc.org/openbmc/${OBMC_TOOLS} "${WORKSPACE}"/${OBMC_TOOLS}
/openbmc/linux/net/rds/
H A Dtcp_recv.c162 struct sk_buff *clone; in rds_tcp_data_recv() local
219 clone = pskb_extract(skb, offset, to_copy, arg->gfp); in rds_tcp_data_recv()
220 if (!clone) { in rds_tcp_data_recv()
225 skb_queue_tail(&tinc->ti_skb_list, clone); in rds_tcp_data_recv()
228 "clone %p data %p len %d\n", in rds_tcp_data_recv()
230 clone, clone->data, clone->len); in rds_tcp_data_recv()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Ddynptr_fail.c1455 struct bpf_dynptr clone; in clone_invalid2() local
1459 bpf_ringbuf_reserve_dynptr(&ringbuf, 64, 0, &clone); in clone_invalid2()
1462 bpf_dynptr_clone(&ptr1, &clone); in clone_invalid2()
1464 bpf_ringbuf_submit_dynptr(&clone, 0); in clone_invalid2()
1474 struct bpf_dynptr clone; in clone_invalidate1() local
1480 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate1()
1485 bpf_dynptr_read(read_data, sizeof(read_data), &clone, 0, 0); in clone_invalidate1()
1496 struct bpf_dynptr clone; in clone_invalidate2() local
1501 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate2()
1503 bpf_ringbuf_submit_dynptr(&clone, 0); in clone_invalidate2()
[all …]
/openbmc/linux/net/ipv4/
H A Dinet_fragment.c514 struct sk_buff *clone; in inet_frag_reasm_prepare() local
517 clone = alloc_skb(0, GFP_ATOMIC); in inet_frag_reasm_prepare()
518 if (!clone) in inet_frag_reasm_prepare()
520 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in inet_frag_reasm_prepare()
524 clone->data_len = head->data_len - plen; in inet_frag_reasm_prepare()
525 clone->len = clone->data_len; in inet_frag_reasm_prepare()
526 head->truesize += clone->truesize; in inet_frag_reasm_prepare()
527 clone->csum = 0; in inet_frag_reasm_prepare()
528 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare()
529 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drust-oe-selftest.patch164 let m2 = m.clone();
172 let m2 = m.clone();
180 let packet2 = Packet(packet.0.clone());
196 let arc2 = arc.clone();
208 let arc2 = arc.clone();
224 let arc2 = arc.clone();
232 let arc2 = arc.clone();
240 let arc2 = arc.clone();
248 let m2 = m.clone();
256 let m2 = m.clone();
[all …]

12345678910>>...34