Home
last modified time | relevance | path

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

12345678910

/linux/drivers/md/
A Ddm-clone-target.c251 queue_work(clone->wq, &clone->worker); in wake_worker()
530 struct clone *clone; member
671 hd->clone = clone; in alloc_hydration()
704 struct clone *clone = hd->clone; in hydration_update_metadata() local
737 struct clone *clone = hd->clone; in hydration_complete() local
766 struct clone *clone = hd->clone; in hydration_kcopyd_callback() local
798 struct clone *clone = hd->clone; in hydration_copy() local
981 struct clone *clone = hd->clone; in __batch_hydration() local
1276 struct clone *clone = container_of(work, typeof(*clone), worker); in do_worker() local
1316 struct clone *clone = ti->private; in clone_map() local
[all …]
A Ddm-rq.c21 struct request *orig, *clone; member
81 container_of(clone, struct dm_rq_clone_bio_info, clone); in end_clone_bio()
87 bio_put(clone); in end_clone_bio()
163 blk_rq_unprep_clone(clone); in dm_end_request()
195 if (tio->clone) { in dm_requeue_original_request()
255 struct request *clone = tio->clone; in dm_softirq_done() local
257 if (!clone) { in dm_softirq_done()
331 clone->end_io_data = tio; in setup_clone()
333 tio->clone = clone; in setup_clone()
343 tio->clone = NULL; in init_tio()
[all …]
A Ddm-flakey.c401 bio_uninit(clone); in clone_free()
402 kfree(clone); in clone_free()
409 clone_free(clone); in clone_endio()
415 struct bio *clone; in clone_bio() local
426 if (!clone) in clone_bio()
432 clone->bi_private = bio; in clone_bio()
452 clone_free(clone); in clone_bio()
475 return clone; in clone_bio()
536 if (clone) { in flakey_map()
540 corrupt_bio_random(clone); in flakey_map()
[all …]
A Ddm.c95 return container_of(clone, struct dm_target_io, clone); in clone_to_tio()
552 if (!clone || likely(dm_tio_is_normal(clone_to_tio(clone)))) { in dm_start_io_acct()
578 struct bio *clone; in alloc_io() local
620 struct bio *clone; in alloc_tio() local
626 clone = &tio->clone; in alloc_tio()
630 if (!clone) in alloc_tio()
658 return clone; in alloc_tio()
665 bio_put(clone); in free_tio()
1453 free_tio(clone); in __map_bio()
1515 struct bio *clone; in __send_duplicate_bios() local
[all …]
A Ddm-crypt.c1707 struct bio *clone; in crypt_alloc_buffer() local
1749 bio_put(clone); in crypt_alloc_buffer()
1764 bio_put(clone); in crypt_alloc_buffer()
1765 clone = NULL; in crypt_alloc_buffer()
1771 return clone; in crypt_alloc_buffer()
1883 bio_put(clone); in crypt_endio()
1901 struct bio *clone; in kcryptd_io_read() local
1913 crypt_convert_init(cc, &io->ctx, clone, clone, io->sector); in kcryptd_io_read()
1926 if (!clone) in kcryptd_io_read()
1937 bio_put(clone); in kcryptd_io_read()
[all …]
A Ddm-zoned-target.c103 static void dmz_clone_endio(struct bio *clone) in dmz_clone_endio() argument
105 struct dmz_bioctx *bioctx = clone->bi_private; in dmz_clone_endio()
106 blk_status_t status = clone->bi_status; in dmz_clone_endio()
108 bio_put(clone); in dmz_clone_endio()
123 struct bio *clone; in dmz_submit_bio() local
129 if (!clone) in dmz_submit_bio()
133 clone->bi_iter.bi_sector = in dmz_submit_bio()
136 clone->bi_end_io = dmz_clone_endio; in dmz_submit_bio()
137 clone->bi_private = bioctx; in dmz_submit_bio()
139 bio_advance(bio, clone->bi_iter.bi_size); in dmz_submit_bio()
[all …]
/linux/rust/macros/
A Dhelpers.rs133 decl_generics.push(tt.clone()); in parse_generics()
135 match tt.clone() { in parse_generics()
157 impl_generics.push(tt.clone()); in parse_generics()
168 match tt.clone() { in parse_generics()
175 impl_generics.push(name.clone()); in parse_generics()
176 ty_generics.push(name.clone()); in parse_generics()
181 impl_generics.push(tt.clone()); in parse_generics()
186 impl_generics.push(tt.clone()); in parse_generics()
192 impl_generics.push(tt.clone()); in parse_generics()
/linux/Documentation/admin-guide/device-mapper/
A Ddm-clone.rst4 dm-clone
15 The main use case of dm-clone is to clone a potentially remote, high-latency,
56 clone of the source device.
154 passed to dm-clone
187 <clone metadata mode>
231 1. Create the dm-clone device.
235 dmsetup create clone --table "0 1048576000 clone $metadata_dev $dest_dev \
243 mount /dev/mapper/clone /mnt/cloned-fs
257 dmsetup suspend clone
259 dmsetup resume clone
[all …]
/linux/fs/f2fs/
A Dacl.c296 struct posix_acl *clone = NULL; in f2fs_acl_clone() local
301 clone = kmemdup(acl, size, flags); in f2fs_acl_clone()
302 if (clone) in f2fs_acl_clone()
303 refcount_set(&clone->a_refcount, 1); in f2fs_acl_clone()
305 return clone; in f2fs_acl_clone()
367 struct posix_acl *clone; in f2fs_acl_create() local
384 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()
385 if (!clone) { in f2fs_acl_create()
395 posix_acl_release(clone); in f2fs_acl_create()
397 *acl = clone; in f2fs_acl_create()
[all …]
/linux/fs/
A Dposix_acl.c226 if (clone) in posix_acl_clone()
229 return clone; in posix_acl_clone()
560 if (clone) { in __posix_acl_create()
564 clone = NULL; in __posix_acl_create()
568 *acl = clone; in __posix_acl_create()
578 if (clone) { in __posix_acl_chmod()
582 clone = NULL; in __posix_acl_chmod()
586 *acl = clone; in __posix_acl_chmod()
638 struct posix_acl *clone; in posix_acl_create() local
657 if (!clone) in posix_acl_create()
[all …]
/linux/net/core/
A Dtimestamping.c25 struct sk_buff *clone; in skb_clone_tx_timestamp() local
38 clone = skb_clone_sk(skb); in skb_clone_tx_timestamp()
39 if (!clone) in skb_clone_tx_timestamp()
41 mii_ts->txtstamp(mii_ts, clone, type); in skb_clone_tx_timestamp()
/linux/tools/testing/selftests/bpf/progs/
A Ddynptr_fail.c1480 struct bpf_dynptr clone; in clone_invalid2() local
1499 struct bpf_dynptr clone; in clone_invalidate1() local
1505 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate1()
1521 struct bpf_dynptr clone; in clone_invalidate2() local
1526 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate2()
1568 struct bpf_dynptr clone; in clone_invalidate4() local
1573 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate4()
1594 struct bpf_dynptr clone; in clone_invalidate5() local
1602 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate5()
1648 struct bpf_dynptr clone; in clone_skb_packet_data() local
[all …]
/linux/net/ipv4/
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()
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()
530 skb_shinfo(head)->frag_list = clone; in inet_frag_reasm_prepare()
[all …]
/linux/include/linux/dsa/
A Docelot.h16 struct sk_buff *clone; member
264 struct sk_buff *clone = OCELOT_SKB_CB(skb)->clone; in ocelot_ptp_rew_op() local
268 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) { in ocelot_ptp_rew_op()
270 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op()
/linux/net/rds/
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()
230 clone, clone->data, clone->len); in rds_tcp_data_recv()
/linux/fs/btrfs/
A Dfiemap.c308 struct extent_buffer *clone = path->nodes[0]; in fiemap_next_leaf_item() local
322 ASSERT(test_bit(EXTENT_BUFFER_UNMAPPED, &clone->bflags)); in fiemap_next_leaf_item()
323 atomic_inc(&clone->refs); in fiemap_next_leaf_item()
349 clone->start = path->nodes[0]->start; in fiemap_next_leaf_item()
351 copy_extent_buffer_full(clone, path->nodes[0]); in fiemap_next_leaf_item()
355 path->nodes[0] = clone; in fiemap_next_leaf_item()
359 free_extent_buffer(clone); in fiemap_next_leaf_item()
374 struct extent_buffer *clone; in fiemap_search_slot() local
419 clone = btrfs_clone_extent_buffer(path->nodes[0]); in fiemap_search_slot()
420 if (!clone) in fiemap_search_slot()
[all …]
/linux/drivers/net/ethernet/mscc/
A Docelot_ptp.c607 struct sk_buff *clone) in ocelot_port_add_txtstamp_skb() argument
620 skb_shinfo(clone)->tx_flags |= SKBTX_IN_PROGRESS; in ocelot_port_add_txtstamp_skb()
622 OCELOT_SKB_CB(clone)->ts_id = ocelot_port->ts_id; in ocelot_port_add_txtstamp_skb()
631 skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_add_txtstamp_skb()
659 struct sk_buff **clone) in ocelot_port_txtstamp_request() argument
686 *clone = skb_clone_sk(skb); in ocelot_port_txtstamp_request()
687 if (!(*clone)) in ocelot_port_txtstamp_request()
690 err = ocelot_port_add_txtstamp_skb(ocelot, port, *clone); in ocelot_port_txtstamp_request()
695 OCELOT_SKB_CB(*clone)->ptp_class = ptp_class; in ocelot_port_txtstamp_request()
729 static bool ocelot_validate_ptp_skb(struct sk_buff *clone, u16 seqid) in ocelot_validate_ptp_skb() argument
[all …]
/linux/drivers/net/usb/
A Dlg-vl600.c103 struct sk_buff *clone; in vl600_rx_fixup() local
200 clone = skb_clone(buf, GFP_ATOMIC); in vl600_rx_fixup()
201 if (!clone) in vl600_rx_fixup()
204 skb_trim(clone, packet_len); in vl600_rx_fixup()
205 usbnet_skb_return(dev, clone); in vl600_rx_fixup()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/dma/
A Dusernv04.c35 bool clone; member
51 if (dmaobj->clone) { in nv04_dmaobj_bind()
99 dmaobj->clone = true; in nv04_dmaobj_new()
/linux/net/netfilter/
A Dnft_set_pipapo.c1275 if (priv->clone)
1276 return priv->clone;
1280 priv->clone = pipapo_clone(m);
1282 return priv->clone;
1816 if (!priv->clone)
1820 pipapo_gc(set, priv->clone);
1824 priv->clone = NULL;
1834 if (!priv->clone)
1837 priv->clone = NULL;
2336 if (priv->clone) {
[all …]
/linux/tools/perf/Documentation/
A Dbuild-xed.txt4 $ git clone https://github.com/intelxed/mbuild.git mbuild
5 $ git clone https://github.com/intelxed/xed
/linux/Documentation/translations/zh_CN/userspace-api/
A Dno_new_privs.rst27 置 ``no_new_privs`` 。一旦该位被设置,它会在fork、clone和execve中继承下去
55 原则上,当 ``no_new_privs`` 被置位时, ``unshare(2)`` 和 ``clone(2)`` 的几个选
/linux/Documentation/userspace-api/
A Dunshare.rst96 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)
191 versions. Helper functions of clone (copy_*) could not be used
194 1) clone operates on a newly allocated not-yet-active task
[all …]
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c371 struct sk_buff *clone; in hellcreek_port_txtstamp() local
388 clone = skb_clone_sk(skb); in hellcreek_port_txtstamp()
389 if (!clone) in hellcreek_port_txtstamp()
394 kfree_skb(clone); in hellcreek_port_txtstamp()
398 ps->tx_skb = clone; in hellcreek_port_txtstamp()
/linux/net/sched/
A Dsch_etf.c138 struct sk_buff *clone; in report_sock_error() local
145 clone = skb_clone(skb, GFP_ATOMIC); in report_sock_error()
146 if (!clone) in report_sock_error()
149 serr = SKB_EXT_ERR(clone); in report_sock_error()
158 if (sock_queue_err_skb(sk, clone)) in report_sock_error()
159 kfree_skb(clone); in report_sock_error()

Completed in 67 milliseconds

12345678910