Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/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
1280 struct clone *clone = container_of(work, typeof(*clone), worker); in do_worker() local
1320 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-zone.c386 switch (bio_op(clone)) { in dm_zone_map_bio_begin()
403 (clone->bi_opf & (~REQ_OP_MASK)); in dm_zone_map_bio_begin()
465 struct bio *clone) in dm_zone_lock() argument
475 struct bio *clone) in dm_zone_unlock() argument
518 struct bio *clone = &tio->clone; in dm_zone_map_bio() local
529 return ti->type->map(ti, clone); in dm_zone_map_bio()
532 zno = bio_zone_no(clone); in dm_zone_map_bio()
533 dm_zone_lock(md->disk, zno, clone); in dm_zone_map_bio()
548 r = ti->type->map(ti, clone); in dm_zone_map_bio()
609 clone->bi_iter.bi_sector & mask; in dm_zone_endio()
[all …]
A Ddm.c94 return container_of(clone, struct dm_target_io, clone); in clone_to_tio()
549 if (!clone || likely(dm_tio_is_normal(clone_to_tio(clone)))) { in dm_start_io_acct()
575 struct bio *clone; in alloc_io() local
612 struct bio *clone; in alloc_tio() local
618 clone = &tio->clone; in alloc_tio()
622 if (!clone) in alloc_tio()
650 return clone; in alloc_tio()
657 bio_put(clone); in free_tio()
1442 free_tio(clone); in __map_bio()
1502 struct bio *clone; in __send_duplicate_bios() local
[all …]
A Ddm-crypt.c1666 struct bio *clone; in crypt_alloc_buffer() local
1687 bio_put(clone); in crypt_alloc_buffer()
1702 bio_put(clone); in crypt_alloc_buffer()
1703 clone = NULL; in crypt_alloc_buffer()
1709 return clone; in crypt_alloc_buffer()
1820 bio_put(clone); in crypt_endio()
1838 struct bio *clone; in kcryptd_io_read() local
1847 if (!clone) in kcryptd_io_read()
1858 bio_put(clone); in kcryptd_io_read()
1955 bio_put(clone); in kcryptd_crypt_write_io_submit()
[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 …]
A Ddm-core.h249 struct bio clone; member
251 #define DM_TARGET_IO_BIO_OFFSET (offsetof(struct dm_target_io, clone))
253 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio))
/linux-6.3-rc2/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-6.3-rc2/fs/f2fs/
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()
396 posix_acl_release(clone); in f2fs_acl_create()
398 *acl = clone; in f2fs_acl_create()
[all …]
/linux-6.3-rc2/fs/
A Dposix_acl.c227 if (clone) in posix_acl_clone()
230 return clone; in posix_acl_clone()
561 if (clone) { in __posix_acl_create()
565 clone = NULL; in __posix_acl_create()
569 *acl = clone; in __posix_acl_create()
579 if (clone) { in __posix_acl_chmod()
583 clone = NULL; in __posix_acl_chmod()
587 *acl = clone; in __posix_acl_chmod()
639 struct posix_acl *clone; in posix_acl_create() local
658 if (!clone) in posix_acl_create()
[all …]
/linux-6.3-rc2/net/core/
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()
/linux-6.3-rc2/include/linux/dsa/
A Docelot.h14 struct sk_buff *clone; member
262 struct sk_buff *clone = OCELOT_SKB_CB(skb)->clone; in ocelot_ptp_rew_op() local
266 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) { in ocelot_ptp_rew_op()
268 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op()
/linux-6.3-rc2/net/ipv4/
A Dinet_fragment.c490 struct sk_buff *clone; in inet_frag_reasm_prepare() local
493 clone = alloc_skb(0, GFP_ATOMIC); in inet_frag_reasm_prepare()
494 if (!clone) in inet_frag_reasm_prepare()
500 clone->data_len = head->data_len - plen; in inet_frag_reasm_prepare()
501 clone->len = clone->data_len; in inet_frag_reasm_prepare()
502 head->truesize += clone->truesize; in inet_frag_reasm_prepare()
503 clone->csum = 0; in inet_frag_reasm_prepare()
504 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare()
505 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare()
506 skb_shinfo(head)->frag_list = clone; in inet_frag_reasm_prepare()
[all …]
/linux-6.3-rc2/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-6.3-rc2/arch/um/kernel/skas/
A DMakefile6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o
13 UNPROFILE_OBJS := clone.o
/linux-6.3-rc2/net/netfilter/
A Dnft_set_pipapo.c1644 pipapo_gc(set, priv->clone);
1660 priv->clone = new_clone;
2105 priv->clone = pipapo_clone(m);
2106 if (IS_ERR(priv->clone)) {
2107 err = PTR_ERR(priv->clone);
2181 if (priv->clone) {
2182 m = priv->clone;
2192 free_percpu(priv->clone->scratch);
2194 pipapo_free_fields(priv->clone);
2195 kfree(priv->clone);
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_ptp.c590 struct sk_buff *clone) in ocelot_port_add_txtstamp_skb() argument
603 skb_shinfo(clone)->tx_flags |= SKBTX_IN_PROGRESS; in ocelot_port_add_txtstamp_skb()
605 OCELOT_SKB_CB(clone)->ts_id = ocelot_port->ts_id; in ocelot_port_add_txtstamp_skb()
614 skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_add_txtstamp_skb()
642 struct sk_buff **clone) in ocelot_port_txtstamp_request() argument
669 *clone = skb_clone_sk(skb); in ocelot_port_txtstamp_request()
670 if (!(*clone)) in ocelot_port_txtstamp_request()
673 err = ocelot_port_add_txtstamp_skb(ocelot, port, *clone); in ocelot_port_txtstamp_request()
678 OCELOT_SKB_CB(*clone)->ptp_class = ptp_class; in ocelot_port_txtstamp_request()
712 static bool ocelot_validate_ptp_skb(struct sk_buff *clone, u16 seqid) in ocelot_validate_ptp_skb() argument
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c378 struct sk_buff *clone; in hellcreek_port_txtstamp() local
395 clone = skb_clone_sk(skb); in hellcreek_port_txtstamp()
396 if (!clone) in hellcreek_port_txtstamp()
401 kfree_skb(clone); in hellcreek_port_txtstamp()
405 ps->tx_skb = clone; in hellcreek_port_txtstamp()
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/staging/fbtft/
A DREADME14 git clone https://github.com/notro/fbtft.git
21 git clone https://github.com/notro/fbtft.git

Completed in 69 milliseconds

123456789