Home
last modified time | relevance | path

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

12345678910>>...42

/OK3568_Linux_fs/kernel/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
147 * dm-clone flags argument
158 static enum clone_metadata_mode get_clone_mode(struct clone *clone) in get_clone_mode() argument
160 return READ_ONCE(clone->mode); in get_clone_mode()
163 static const char *clone_device_name(struct clone *clone) in clone_device_name() argument
165 return dm_table_device_name(clone->ti->table); in clone_device_name()
168 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
79 static void end_clone_bio(struct bio *clone) in end_clone_bio() argument
82 container_of(clone, struct dm_rq_clone_bio_info, clone); in end_clone_bio()
85 blk_status_t error = clone->bi_status; in end_clone_bio()
86 bool is_last = !clone->bi_next; in end_clone_bio()
88 bio_put(clone); in end_clone_bio()
93 * Once error occurred, just let clone->end_io() handle in end_clone_bio()
116 * 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.c78 * One of these is allocated per clone bio.
88 struct bio clone; member
93 * It contains the first clone used for that original.
111 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_per_bio_data()
113 return (char *)bio - offsetof(struct dm_target_io, clone) - data_size; in dm_per_bio_data()
114 …return (char *)bio - offsetof(struct dm_target_io, clone) - offsetof(struct dm_io, tio) - data_siz… in dm_per_bio_data()
122 …rn (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clone)); in dm_bio_from_per_bio_data()
124 return (struct bio *)((char *)io + offsetof(struct dm_target_io, clone)); in dm_bio_from_per_bio_data()
130 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr()
592 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_start_time_ns_from_clone()
[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.
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/fs/
H A Dposix_acl.c189 * Clone an ACL.
194 struct posix_acl *clone = NULL; in posix_acl_clone() local
199 clone = kmemdup(acl, size, flags); in posix_acl_clone()
200 if (clone) in posix_acl_clone()
201 refcount_set(&clone->a_refcount, 1); in posix_acl_clone()
203 return clone; in posix_acl_clone()
521 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
523 if (clone) { in __posix_acl_create()
524 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
526 posix_acl_release(clone); in __posix_acl_create()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/
H A D0024-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
70 sysdeps/unix/sysv/linux/clone-internal.c | 2 +-
73 diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c
75 --- a/sysdeps/unix/sysv/linux/clone-internal.c
76 +++ b/sysdeps/unix/sysv/linux/clone-internal.c
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dipa-param-manipulation.h42 memory footprint because they are allocated for each clone of a call graph node
43 that has its prototype changed and live until the end of IPA clone
48 the course of materialization of each single clone that needs it or only when a
54 When these classes are used in the context of call graph clone materialization
98 right after clone materialization/ modification and cannot be "added"
103 Therefore, when clone materialization finds a call statement which it knows is
110 clone->performed_splits vector (which is storing structures of type
185 clone. If there is no previous clone, it must be equal to base_index. */
192 IPA clone, any transformations are thus not to be re-done. */
217 sits in the call in the meantime between clone materialization and call
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dipa-param-manipulation.h42 memory footprint because they are allocated for each clone of a call graph node
43 that has its prototype changed and live until the end of IPA clone
48 the course of materialization of each single clone that needs it or only when a
54 When these classes are used in the context of call graph clone materialization
98 right after clone materialization/ modification and cannot be "added"
103 Therefore, when clone materialization finds a call statement which it knows is
110 clone->performed_splits vector (which is storing structures of type
185 clone. If there is no previous clone, it must be equal to base_index. */
192 IPA clone, any transformations are thus not to be re-done. */
217 sits in the call in the meantime between clone materialization and call
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dacl.c288 struct posix_acl *clone = NULL; in f2fs_acl_clone() local
293 clone = kmemdup(acl, size, flags); in f2fs_acl_clone()
294 if (clone) in f2fs_acl_clone()
295 refcount_set(&clone->a_refcount, 1); in f2fs_acl_clone()
297 return clone; in f2fs_acl_clone()
359 struct posix_acl *clone; in f2fs_acl_create() local
376 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()
377 if (!clone) { in f2fs_acl_create()
382 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create()
387 posix_acl_release(clone); in f2fs_acl_create()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/
H A D1024.patch50 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
63 @@ -14,7 +14,7 @@ env_cpp11 = env_cpp11.Clone ()
76 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
89 @@ -11,7 +11,7 @@ env_cpp11 = env_cpp11.Clone ()
102 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
115 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
128 @@ -14,7 +14,7 @@ env_cpp11 = env_cpp11.Clone ()
141 @@ -14,7 +14,7 @@ env_cpp11 = env_cpp11.Clone ()
154 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
167 @@ -13,7 +13,7 @@ env_cpp11 = env_cpp11.Clone ()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-git/
H A D0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch6 Forbid unsafe protocol URLs in Repo.clone{,_from}()
7 Since the URL is passed directly to git clone, and the remote-ext helper
160 :param url: url to clone from
165 - clone = git.Repo.clone_from(url, module_checkout_path, **kwargs)
166 + clone = git.Repo.clone_from(url, module_checkout_path, allow_unsafe_options=allow_unsafe_o…
210 … progress.update(END | CLONE, 0, 1, prefix + "Done cloning to %s" % checkout_module_abspath)
398 + # https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---upload-packltupload-pac…
403 + # https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---configltkeygtltvaluegt
431 …proc = git.clone("--", multi, Git.polish_url(str(url)), clone_path, with_extended_output=True, as_…
437 def clone(self, path: PathLike, progress: Optional[Callable] = None,
[all …]
/OK3568_Linux_fs/yocto/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
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dinet_fragment.c453 struct sk_buff *clone; in inet_frag_reasm_prepare() local
456 clone = alloc_skb(0, GFP_ATOMIC); in inet_frag_reasm_prepare()
457 if (!clone) in inet_frag_reasm_prepare()
459 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in inet_frag_reasm_prepare()
463 clone->data_len = head->data_len - plen; in inet_frag_reasm_prepare()
464 clone->len = clone->data_len; in inet_frag_reasm_prepare()
465 head->truesize += clone->truesize; in inet_frag_reasm_prepare()
466 clone->csum = 0; in inet_frag_reasm_prepare()
467 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare()
468 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare()
[all …]
/OK3568_Linux_fs/kernel/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
317 pr_debug("%s: Received a request to clone AUN %llx on lun_id=%016llx\n", in ba_clone()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/qi/string/detail/
H A Dtst.hpp53 tst_node* clone = alloc->new_node(p->id); in clone_node() local
55 clone->data = alloc->new_data(*p->data); in clone_node()
56 clone->lt = clone_node(p->lt, alloc); in clone_node()
57 clone->eq = clone_node(p->eq, alloc); in clone_node()
58 clone->gt = clone_node(p->gt, alloc); in clone_node()
59 return clone; in clone_node()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsched.h62 # define CLONE_DETACHED 0x00400000 /* Create clone detached. */
64 force CLONE_PTRACE on this clone. */
73 # define CLONE_IO 0x80000000 /* Clone I/O context. */
81 /* Clone current process. */
82 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsched.h62 # define CLONE_DETACHED 0x00400000 /* Create clone detached. */
64 force CLONE_PTRACE on this clone. */
73 # define CLONE_IO 0x80000000 /* Clone I/O context. */
81 /* Clone current process. */
82 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
/OK3568_Linux_fs/kernel/net/rds/
H A Dtcp_recv.c161 struct sk_buff *clone; in rds_tcp_data_recv() local
218 clone = pskb_extract(skb, offset, to_copy, arg->gfp); in rds_tcp_data_recv()
219 if (!clone) { in rds_tcp_data_recv()
224 skb_queue_tail(&tinc->ti_skb_list, clone); in rds_tcp_data_recv()
227 "clone %p data %p len %d\n", in rds_tcp_data_recv()
229 clone, clone->data, clone->len); in rds_tcp_data_recv()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sync.c350 * amdgpu_sync_clone - clone a sync object
352 * @source: sync object to clone
353 * @clone: pointer to destination sync object
355 * Adds references to all unsignaled fences in @source to @clone. Also
358 int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone) in amdgpu_sync_clone() argument
368 r = amdgpu_sync_fence(clone, f); in amdgpu_sync_clone()
378 dma_fence_put(clone->last_vm_update); in amdgpu_sync_clone()
379 clone->last_vm_update = dma_fence_get(source->last_vm_update); in amdgpu_sync_clone()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/rtl8723b/usb/
H A Dusb_ops.c166 //clone/copy to if2 in pre_recv_entry()
270 u8 clone = _TRUE;
289 clone = _FALSE;
295 if(clone==_FALSE)
297 clone = _TRUE;
301 clone = _FALSE;
310 clone = _TRUE;
320 clone = _FALSE;
335 clone = _FALSE;
345 if(_TRUE == clone)
[all …]
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dpti.c51 * Define the page-table levels we clone for user-space on 32
309 * Clone the populated PMDs which cover start to end. These PMD areas in pti_clone_pgtable()
350 * Only clone present PMDs. This ensures only setting in pti_clone_pgtable()
388 /* Only clone present PTEs */ in pti_clone_pgtable()
401 /* Clone the PTE */ in pti_clone_pgtable()
414 * Clone a single p4d (i.e. a top-level entry on 4-level systems and a
432 * Clone the CPU_ENTRY_AREA and associated data into the user space visible
469 * address space into the user page-tables, making PTI useless. So clone
484 * Clone the ESPFIX P4D into the user space visible page table
494 * Clone the populated PMDs of the entry text and force it RO.
[all …]
/OK3568_Linux_fs/kernel/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

12345678910>>...42