/openbmc/linux/drivers/md/ |
H A D | dm-clone-target.c | 69 struct clone { struct 152 static enum clone_metadata_mode get_clone_mode(struct clone *clone) in get_clone_mode() argument 154 return READ_ONCE(clone->mode); in get_clone_mode() 157 static const char *clone_device_name(struct clone *clone) in clone_device_name() argument 159 return dm_table_device_name(clone->ti->table); in clone_device_name() 162 static void __set_clone_mode(struct clone *clone, enum clone_metadata_mode new_mode) in __set_clone_mode() argument 170 enum clone_metadata_mode old_mode = get_clone_mode(clone); in __set_clone_mode() 179 dm_clone_metadata_set_read_only(clone->cmd); in __set_clone_mode() 183 dm_clone_metadata_set_read_write(clone->cmd); in __set_clone_mode() 187 WRITE_ONCE(clone->mode, new_mode); in __set_clone_mode() [all …]
|
H A D | dm-rq.c | 21 struct request *orig, *clone; member 78 static void end_clone_bio(struct bio *clone) in end_clone_bio() argument 81 container_of(clone, struct dm_rq_clone_bio_info, clone); in end_clone_bio() 84 blk_status_t error = clone->bi_status; in end_clone_bio() 85 bool is_last = !clone->bi_next; in end_clone_bio() 87 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 D | dm-zone.c | 368 unsigned int zno, struct bio *clone) in dm_zone_map_bio_begin() argument 385 switch (bio_op(clone)) { in dm_zone_map_bio_begin() 392 if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset) in dm_zone_map_bio_begin() 401 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin() 402 (clone->bi_opf & (~REQ_OP_MASK)); in dm_zone_map_bio_begin() 403 clone->bi_iter.bi_sector += zwp_offset; in dm_zone_map_bio_begin() 464 struct bio *clone) in dm_zone_lock() argument 466 if (WARN_ON_ONCE(bio_flagged(clone, BIO_ZONE_WRITE_LOCKED))) in dm_zone_lock() 470 bio_set_flag(clone, BIO_ZONE_WRITE_LOCKED); in dm_zone_lock() 474 struct bio *clone) in dm_zone_unlock() argument [all …]
|
H A D | dm-flakey.c | 392 static void clone_free(struct bio *clone) in clone_free() argument 396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in clone_free() 397 bio_for_each_folio_all(fi, clone) in clone_free() 401 bio_uninit(clone); in clone_free() 402 kfree(clone); in clone_free() 405 static void clone_endio(struct bio *clone) in clone_endio() argument 407 struct bio *bio = clone->bi_private; in clone_endio() 408 bio->bi_status = clone->bi_status; in clone_endio() 409 clone_free(clone); in clone_endio() 415 struct bio *clone; in clone_bio() local [all …]
|
H A D | dm.c | 92 static inline struct dm_target_io *clone_to_tio(struct bio *clone) in clone_to_tio() argument 94 return container_of(clone, struct dm_target_io, clone); in clone_to_tio() 118 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr() 542 static void dm_start_io_acct(struct dm_io *io, struct bio *clone) in dm_start_io_acct() argument 551 if (!clone || likely(dm_tio_is_normal(clone_to_tio(clone)))) { in dm_start_io_acct() 577 struct bio *clone; in alloc_io() local 579 clone = bio_alloc_clone(NULL, bio, GFP_NOIO, &md->mempools->io_bs); in alloc_io() 580 tio = clone_to_tio(clone); in alloc_io() 609 bio_put(&io->tio.clone); in free_io() 617 struct bio *clone; in alloc_tio() local [all …]
|
H A D | dm-crypt.c | 243 static void crypt_endio(struct bio *clone); 1659 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone); 1684 struct bio *clone; in crypt_alloc_buffer() local 1694 clone = bio_alloc_bioset(cc->dev->bdev, nr_iovecs, io->base_bio->bi_opf, in crypt_alloc_buffer() 1696 clone->bi_private = io; in crypt_alloc_buffer() 1697 clone->bi_end_io = crypt_endio; in crypt_alloc_buffer() 1724 crypt_free_buffer_pages(cc, clone); in crypt_alloc_buffer() 1725 bio_put(clone); in crypt_alloc_buffer() 1733 __bio_add_page(clone, pages, size_to_add, 0); in crypt_alloc_buffer() 1738 if (dm_crypt_integrity_io_alloc(io, clone)) { in crypt_alloc_buffer() [all …]
|
H A D | dm-zoned-target.c | 103 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 128 clone = bio_alloc_clone(dev->bdev, bio, GFP_NOIO, &dmz->bio_set); in dmz_submit_bio() 129 if (!clone) in dmz_submit_bio() 133 clone->bi_iter.bi_sector = in dmz_submit_bio() 135 clone->bi_iter.bi_size = dmz_blk2sect(nr_blocks) << SECTOR_SHIFT; in dmz_submit_bio() 136 clone->bi_end_io = dmz_clone_endio; in dmz_submit_bio() [all …]
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-clone.rst | 4 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 …]
|
/openbmc/linux/fs/ |
H A D | posix_acl.c | 221 struct posix_acl *clone = NULL; in posix_acl_clone() local 226 clone = kmemdup(acl, size, flags); in posix_acl_clone() 227 if (clone) in posix_acl_clone() 228 refcount_set(&clone->a_refcount, 1); in posix_acl_clone() 230 return clone; in posix_acl_clone() 559 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local 561 if (clone) { in __posix_acl_create() 562 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create() 564 posix_acl_release(clone); in __posix_acl_create() 565 clone = NULL; in __posix_acl_create() [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | acl.c | 297 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() 391 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create() 396 posix_acl_release(clone); in f2fs_acl_create() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
H A D | 0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch | 6 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 71 sysdeps/unix/sysv/linux/clone-internal.c | 2 +- 74 diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c 76 --- a/sysdeps/unix/sysv/linux/clone-internal.c 77 +++ b/sysdeps/unix/sysv/linux/clone-internal.c
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 1455 struct bpf_dynptr clone; in clone_invalid2() local 1459 bpf_ringbuf_reserve_dynptr(&ringbuf, 64, 0, &clone); in clone_invalid2() 1462 bpf_dynptr_clone(&ptr1, &clone); in clone_invalid2() 1464 bpf_ringbuf_submit_dynptr(&clone, 0); in clone_invalid2() 1474 struct bpf_dynptr clone; in clone_invalidate1() local 1480 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate1() 1485 bpf_dynptr_read(read_data, sizeof(read_data), &clone, 0, 0); in clone_invalidate1() 1496 struct bpf_dynptr clone; in clone_invalidate2() local 1501 bpf_dynptr_clone(&ptr, &clone); in clone_invalidate2() 1503 bpf_ringbuf_submit_dynptr(&clone, 0); in clone_invalidate2() [all …]
|
/openbmc/linux/net/core/ |
H A D | timestamping.c | 25 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()
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | patchtest.sh | 25 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
|
/openbmc/linux/net/ipv4/ |
H A D | inet_fragment.c | 514 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() 520 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; 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() [all …]
|
/openbmc/linux/include/linux/dsa/ |
H A D | ocelot.h | 16 struct sk_buff *clone; member 265 struct sk_buff *clone = OCELOT_SKB_CB(skb)->clone; in ocelot_ptp_rew_op() local 269 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) { in ocelot_ptp_rew_op() 271 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op()
|
/openbmc/linux/net/rds/ |
H A D | tcp_recv.c | 162 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()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_set_pipapo.c | 525 m = priv->clone; in pipapo_get() 1132 static int pipapo_realloc_scratch(struct nft_pipapo_match *clone, argument 1158 pipapo_free_scratch(clone, i); 1176 *per_cpu_ptr(clone->scratch, i) = scratch; 1200 struct nft_pipapo_match *m = priv->clone; 1701 pipapo_gc(set, priv->clone); 1706 new_clone = pipapo_clone(priv->clone); 1713 rcu_assign_pointer(priv->match, priv->clone); 1717 priv->clone = new_clone; 1747 pipapo_free_match(priv->clone); [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
H A D | rust-oe-selftest.patch | 164 let m2 = m.clone(); 172 let m2 = m.clone(); 180 let packet2 = Packet(packet.0.clone()); 196 let arc2 = arc.clone(); 208 let arc2 = arc.clone(); 224 let arc2 = arc.clone(); 232 let arc2 = arc.clone(); 240 let arc2 = arc.clone(); 248 let m2 = m.clone(); 256 let m2 = m.clone(); [all …]
|
/openbmc/linux/arch/um/kernel/skas/ |
H A D | Makefile | 6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o 13 UNPROFILE_OBJS := clone.o
|
/openbmc/linux/drivers/net/usb/ |
H A D | lg-vl600.c | 103 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()
|
/openbmc/openbmc/poky/scripts/ |
H A D | patchtest-setup-sharedir | 72 git clone "${POKY_REPO}" "${SHAREDIR}/${BASENAME}" 80 git clone "${PATCHTEST_REPO}" "${SHAREDIR}/${BASENAME}"
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
H A D | usernv04.c | 35 bool clone; member 51 if (dmaobj->clone) { in nv04_dmaobj_bind() 99 dmaobj->clone = true; in nv04_dmaobj_new()
|
/openbmc/openbmc-build-scripts/jenkins/ |
H A D | run-meta-ci | 21 git clone https://github.com/openbmc/openbmc-test-automation.git --branch master --single-branch 33 git clone https://github.com/openbmc/openbmc.git --branch "${GERRIT_BRANCH}" --single-branch
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_ptp.c | 671 struct sk_buff *clone) in ocelot_port_queue_ptp_tx_skb() argument 710 OCELOT_SKB_CB(clone)->ts_id = n; in ocelot_port_queue_ptp_tx_skb() 711 OCELOT_SKB_CB(clone)->ptp_tx_time = jiffies; in ocelot_port_queue_ptp_tx_skb() 713 __skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_queue_ptp_tx_skb() 743 struct sk_buff **clone) in ocelot_port_txtstamp_request() argument 770 *clone = skb_clone_sk(skb); in ocelot_port_txtstamp_request() 771 if (!(*clone)) in ocelot_port_txtstamp_request() 775 err = ocelot_port_queue_ptp_tx_skb(ocelot, port, *clone); in ocelot_port_txtstamp_request() 777 kfree_skb(*clone); in ocelot_port_txtstamp_request() 781 skb_shinfo(*clone)->tx_flags |= SKBTX_IN_PROGRESS; in ocelot_port_txtstamp_request() [all …]
|