Searched refs:clone (Results 26 - 50 of 122) sorted by relevance

12345

/linux-master/tools/perf/util/
H A Dmmap.h65 struct mmap_cpu_mask *clone);
H A Dmmap.c364 int mmap_cpu_mask__duplicate(struct mmap_cpu_mask *original, struct mmap_cpu_mask *clone) argument
366 clone->nbits = original->nbits;
367 clone->bits = bitmap_zalloc(original->nbits);
368 if (!clone->bits)
371 memcpy(clone->bits, original->bits, MMAP_CPU_MASK_BYTES(original));
/linux-master/drivers/md/
H A Ddm-zone.c296 void dm_zone_endio(struct dm_io *io, struct bio *clone) argument
306 if (clone->bi_status == BLK_STS_OK &&
307 bio_op(clone) == REQ_OP_ZONE_APPEND) {
310 orig_bio->bi_iter.bi_sector += clone->bi_iter.bi_sector & mask;
H A Ddm-crypt.c245 static void crypt_endio(struct bio *clone);
1655 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone);
1680 struct bio *clone; local
1690 clone = bio_alloc_bioset(cc->dev->bdev, nr_iovecs, io->base_bio->bi_opf,
1692 clone->bi_private = io;
1693 clone->bi_end_io = crypt_endio;
1694 clone->bi_ioprio = io->base_bio->bi_ioprio;
1721 crypt_free_buffer_pages(cc, clone);
1722 bio_put(clone);
1730 __bio_add_page(clone, page
1747 crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) argument
1838 crypt_endio(struct bio *clone) argument
1874 struct bio *clone; local
1938 struct bio *clone = io->ctx.bio_out; local
1999 struct bio *clone = io->ctx.bio_out; local
2097 struct bio *clone; local
[all...]
H A Ddm-zoned-target.c103 static void dmz_clone_endio(struct bio *clone) argument
105 struct dmz_bioctx *bioctx = clone->bi_private;
106 blk_status_t status = clone->bi_status;
108 bio_put(clone);
113 * Issue a clone of a target BIO. The clone may only partially process the
123 struct bio *clone; local
128 clone = bio_alloc_clone(dev->bdev, bio, GFP_NOIO, &dmz->bio_set);
129 if (!clone)
133 clone
[all...]
H A DMakefile26 dm-clone-y += dm-clone-target.o dm-clone-metadata.o
76 obj-$(CONFIG_DM_CLONE) += dm-clone.o
H A Ddm-core.h240 * One of these is allocated per clone bio.
251 struct bio clone; member in struct:dm_target_io
253 #define DM_TARGET_IO_BIO_OFFSET (offsetof(struct dm_target_io, clone))
255 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio))
283 * It contains the first clone used for that original.
H A Ddm-era-target.c1035 struct dm_block *clone; local
1061 &sb_validator, &clone, &inc);
1072 dm_tm_unlock(md->tm, clone);
1080 dm_tm_unlock(md->tm, clone);
1084 md->metadata_snap = dm_block_location(clone);
1086 dm_tm_unlock(md->tm, clone);
1095 struct dm_block *clone; local
1103 r = dm_tm_read_lock(md->tm, md->metadata_snap, &sb_validator, &clone);
1105 DMERR("%s: couldn't read lock superblock clone", __func__);
1115 disk = dm_block_data(clone);
[all...]
/linux-master/drivers/net/usb/
H A Dlg-vl600.c103 struct sk_buff *clone; local
200 clone = skb_clone(buf, GFP_ATOMIC);
201 if (!clone)
204 skb_trim(clone, packet_len);
205 usbnet_skb_return(dev, clone);
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c279 /* Deliver a clone of the original outgoing tx_skb with tx hwtstamp */
371 struct sk_buff *clone; local
388 clone = skb_clone_sk(skb);
389 if (!clone)
394 kfree_skb(clone);
398 ps->tx_skb = clone;
/linux-master/net/sched/
H A Dsch_etf.c138 struct sk_buff *clone; local
145 clone = skb_clone(skb, GFP_ATOMIC);
146 if (!clone)
149 serr = SKB_EXT_ERR(clone);
158 if (sock_queue_err_skb(sk, clone))
159 kfree_skb(clone);
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.h107 struct sk_buff *clone);
157 struct sk_buff *clone)
156 sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, struct sk_buff *clone) argument
H A Dsja1105_ptp.c452 struct sk_buff *clone = SJA1105_SKB_CB(skb)->clone; local
465 SJA1105_SKB_CB(clone)->ts_id = ts_id;
469 skb_queue_tail(&ptp_data->skb_txtstamp_queue, clone);
472 /* Called from dsa_skb_tx_timestamp. This callback is just to clone
479 struct sk_buff *clone; local
484 clone = skb_clone_sk(skb);
485 if (!clone)
488 SJA1105_SKB_CB(skb)->clone = clone;
[all...]
/linux-master/tools/memory-model/scripts/
H A Dcheckghlitmus.sh24 git clone https://github.com/paulmckrcu/litmus
/linux-master/arch/um/os-Linux/
H A Dhelper.c75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data);
78 printk(UM_KERN_ERR "run_helper : clone failed, errno = %d\n",
129 pid = clone(proc, (void *) sp, flags, arg);
132 printk(UM_KERN_ERR "run_helper_thread : clone failed, "
/linux-master/tools/testing/selftests/nsfs/
H A Dpidns.c50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL);
52 return pr_err("clone");
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_ptp.c611 struct sk_buff *clone)
624 skb_shinfo(clone)->tx_flags |= SKBTX_IN_PROGRESS;
625 /* Store timestamp ID in OCELOT_SKB_CB(clone)->ts_id */
626 OCELOT_SKB_CB(clone)->ts_id = ocelot_port->ts_id;
635 skb_queue_tail(&ocelot_port->tx_skbs, clone);
663 struct sk_buff **clone)
690 *clone = skb_clone_sk(skb);
691 if (!(*clone))
694 err = ocelot_port_add_txtstamp_skb(ocelot, port, *clone);
699 OCELOT_SKB_CB(*clone)
610 ocelot_port_add_txtstamp_skb(struct ocelot *ocelot, int port, struct sk_buff *clone) argument
661 ocelot_port_txtstamp_request(struct ocelot *ocelot, int port, struct sk_buff *skb, struct sk_buff **clone) argument
733 ocelot_validate_ptp_skb(struct sk_buff *clone, u16 seqid) argument
[all...]
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c1196 * @clone: Copy of matching data with pending insertions and deletions
1201 static int pipapo_realloc_scratch(struct nft_pipapo_match *clone, argument
1227 pipapo_free_scratch(clone, i);
1245 *per_cpu_ptr(clone->scratch, i) = scratch;
1265 * pipapo_maybe_clone() - Build clone for pending data changes, if not existing
1268 * Return: newly created or existing clone, if any. NULL on allocation failure
1275 if (priv->clone)
1276 return priv->clone;
1280 priv->clone = pipapo_clone(m);
1282 return priv->clone;
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz_ptp.c507 struct sk_buff *clone; local
546 clone = skb_clone_sk(skb);
547 if (!clone)
551 KSZ_SKB_CB(skb)->clone = clone;
575 struct sk_buff *clone, *skb = xmit_work->skb; local
582 clone = KSZ_SKB_CB(skb)->clone;
584 skb_shinfo(clone)->tx_flags |= SKBTX_IN_PROGRESS;
590 ksz_ptp_txtstamp_skb(dev, prt, clone);
[all...]
/linux-master/samples/pidfd/
H A Dpidfd-metadata.c42 return clone(do_child, stack + stack_size, flags | SIGCHLD, NULL, pidfd);
/linux-master/scripts/gcc-plugins/
H A Dgcc-generate-gimple-pass.h97 virtual opt_pass * clone () { return new _PASS_NAME_PASS(); } function in class:__anon1200::_PASS_NAME_PASS
H A Dgcc-generate-simple_ipa-pass.h97 virtual opt_pass *clone() { return new _PASS_NAME_PASS(); } function in class:__anon1203::_PASS_NAME_PASS
H A Dgcc-generate-rtl-pass.h97 virtual opt_pass *clone() { return new _PASS_NAME_PASS(); } function in class:__anon1202::_PASS_NAME_PASS
/linux-master/net/ipv4/
H A Dtcp_cong.c370 char *saved_clone, *clone, *name; local
373 saved_clone = clone = kstrdup(val, GFP_USER);
374 if (!clone)
379 while ((name = strsep(&clone, " ")) && *name) {
/linux-master/include/linux/
H A Ddevice-mapper.h66 struct request **clone);
67 typedef void (*dm_release_clone_request_fn) (struct request *clone,
81 struct request *clone, blk_status_t error,
505 void dm_submit_bio_remap(struct bio *clone, struct bio *tgt_clone);

Completed in 178 milliseconds

12345