Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-clone-target.c69 struct clone { struct
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
176 enum clone_metadata_mode old_mode = get_clone_mode(clone); in __set_clone_mode()
185 dm_clone_metadata_set_read_only(clone->cmd); in __set_clone_mode()
189 dm_clone_metadata_set_read_write(clone->cmd); in __set_clone_mode()
193 WRITE_ONCE(clone->mode, new_mode); in __set_clone_mode()
[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()
157 static void dm_end_request(struct request *clone, blk_status_t error) in dm_end_request() argument
159 struct dm_rq_target_io *tio = clone->end_io_data; in dm_end_request()
163 blk_rq_unprep_clone(clone); in dm_end_request()
164 tio->ti->type->release_clone_rq(clone, NULL); in dm_end_request()
[all …]
H A Ddm.c88 struct bio clone; member
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()
634 struct bio *clone; in alloc_io() local
636 clone = bio_alloc_bioset(GFP_NOIO, 0, &md->io_bs); in alloc_io()
[all …]
H A Ddm-crypt.c1635 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone);
1657 struct bio *clone; in crypt_alloc_buffer() local
1667 clone = bio_alloc_bioset(GFP_NOIO, nr_iovecs, &cc->bs); in crypt_alloc_buffer()
1668 if (!clone) in crypt_alloc_buffer()
1671 clone_init(io, clone); in crypt_alloc_buffer()
1678 crypt_free_buffer_pages(cc, clone); in crypt_alloc_buffer()
1679 bio_put(clone); in crypt_alloc_buffer()
1686 bio_add_page(clone, page, len, 0); in crypt_alloc_buffer()
1692 if (dm_crypt_integrity_io_alloc(io, clone)) { in crypt_alloc_buffer()
1693 crypt_free_buffer_pages(cc, clone); in crypt_alloc_buffer()
[all …]
/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.c194 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()
527 clone = NULL; in __posix_acl_create()
[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/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/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/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/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/yocto/poky/scripts/contrib/
H A Dpatchtest.sh25 function clone() { function
29 git clone $REPOREMOTE $REPODIR --quiet
78 clone git://git.yoctoproject.org/patchtest $PT
79 clone git://git.yoctoproject.org/patchtest-oe $PTOE
/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()
229 clone, clone->data, clone->len); in rds_tcp_data_recv()
/OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.h119 struct sk_buff *clone, unsigned int type);
121 struct sk_buff *clone, unsigned int type);
148 struct sk_buff *clone, in mv88e6xxx_port_rxtstamp() argument
155 struct sk_buff *clone, in mv88e6xxx_port_txtstamp() argument
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeoshape_p.h76 virtual QGeoShapePrivate *clone() const = 0;
86 Q_INLINE_TEMPLATE QGeoShapePrivate *QSharedDataPointer<QGeoShapePrivate>::clone() in clone() function
88 return d->clone(); in clone()
/OK3568_Linux_fs/
H A Drelease_ok3568.sh15 git clone $OK3568_source_url OK3568_Linux_fs
19 git clone $OK3568_kernel_url $source_path/kernel
23 git clone $OK3568_uboot_url $source_path/u-boot
/OK3568_Linux_fs/kernel/net/dsa/
H A Dtag_ocelot.c140 struct sk_buff *clone = DSA_SKB_CB(skb)->clone; in ocelot_xmit() local
162 if (clone) { in ocelot_xmit()
168 rew_op |= clone->cb[0] << 3; in ocelot_xmit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/rtl8723b/usb/
H A Dusb_ops.c270 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)
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_set_pipapo.c520 struct nft_pipapo_match *m = priv->clone; in pipapo_get()
1106 static int pipapo_realloc_scratch(struct nft_pipapo_match *clone, argument
1131 kfree(*per_cpu_ptr(clone->scratch, i));
1133 *per_cpu_ptr(clone->scratch, i) = scratch;
1137 *per_cpu_ptr(clone->scratch_aligned, i) = scratch_aligned;
1162 struct nft_pipapo_match *m = priv->clone;
1640 pipapo_gc(set, priv->clone);
1645 new_clone = pipapo_clone(priv->clone);
1652 rcu_assign_pointer(priv->match, priv->clone);
1656 priv->clone = new_clone;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/
H A Dqplacecontent_p.h70 virtual QPlaceContentPrivate *clone() const { return new Class##Private(*this); } \
87 virtual QPlaceContentPrivate *clone() const = 0;
98 template<> QPlaceContentPrivate *QSharedDataPointer<QPlaceContentPrivate>::clone();
H A Dqplacesearchresult_p.h68 … virtual QPlaceSearchResultPrivate *clone() const override { return new Class##Private(*this); } \
89 … virtual QPlaceSearchResultPrivate *clone() const { return new QPlaceSearchResultPrivate(*this); } in clone() function
103 template<> QPlaceSearchResultPrivate *QSharedDataPointer<QPlaceSearchResultPrivate>::clone();
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/iterators/detail/
H A Dcombine_policies.hpp248 inline static void clone(MultiPass& mp) in clone() function
249 { Ownership::clone(mp); } in clone()
310 inline static void clone(MultiPass& mp) in clone() function
311 { Ownership::clone(mp); } in clone()
360 inline static void clone(MultiPass& mp) in clone() function
361 { Ownership::clone(mp); } in clone()
425 inline static void clone(MultiPass& mp) in clone() function
426 { Ownership::clone(mp); } in clone()
/OK3568_Linux_fs/u-boot/board/rockchip/evb_rk3229/
H A DREADME6 > git clone git://git.denx.de/u-boot.git
7 > git clone https://github.com/OP-TEE/optee_os.git
8 > git clone https://github.com/rockchip-linux/rkbin.git
9 > git clone https://github.com/rockchip-linux/rkdeveloptool.git
/OK3568_Linux_fs/u-boot/board/rockchip/gva_rk3229/
H A DREADME6 > git clone git://git.denx.de/u-boot.git
7 > git clone https://github.com/OP-TEE/optee_os.git
8 > git clone https://github.com/rockchip-linux/rkbin.git
9 > git clone https://github.com/rockchip-linux/rkdeveloptool.git
/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…
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,
442 """Create a clone from this repository.
[all …]

12345678910>>...17