| /linux-6.15/drivers/md/ |
| H A D | dm-clone-target.c | 251 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 …]
|
| H A D | dm-rq.c | 21 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 …]
|
| H A D | dm-flakey.c | 401 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() 429 bio_init(clone, fc->dev->bdev, clone->bi_inline_vecs, nr_iovecs, bio->bi_opf); 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() [all …]
|
| H A D | dm.c | 95 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() 1514 struct bio *clone; in __send_duplicate_bios() local [all …]
|
| H A D | dm-crypt.c | 1687 struct bio *clone; in crypt_alloc_buffer() local 1730 bio_put(clone); in crypt_alloc_buffer() 1745 bio_put(clone); in crypt_alloc_buffer() 1746 clone = NULL; in crypt_alloc_buffer() 1752 return clone; in crypt_alloc_buffer() 1864 bio_put(clone); in crypt_endio() 1882 struct bio *clone; in kcryptd_io_read() local 1893 crypt_convert_init(cc, &io->ctx, clone, clone, io->sector); in kcryptd_io_read() 1906 if (!clone) in kcryptd_io_read() 1917 bio_put(clone); in kcryptd_io_read() [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 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-6.15/rust/pin-init/internal/src/ |
| H A D | helpers.rs | 68 decl_generics.push(tt.clone()); in parse_generics() 70 match tt.clone() { in parse_generics() 92 impl_generics.push(tt.clone()); in parse_generics() 103 match tt.clone() { in parse_generics() 110 impl_generics.push(name.clone()); in parse_generics() 111 ty_generics.push(name.clone()); in parse_generics() 116 impl_generics.push(tt.clone()); in parse_generics() 121 impl_generics.push(tt.clone()); in parse_generics() 127 impl_generics.push(tt.clone()); in parse_generics()
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 71 struct fbnic_net *clone; in fbnic_clone_create() local 74 if (!clone) in fbnic_clone_create() 77 memset(clone->tx, 0, sizeof(clone->tx)); in fbnic_clone_create() 78 memset(clone->rx, 0, sizeof(clone->rx)); in fbnic_clone_create() 79 memset(clone->napi, 0, sizeof(clone->napi)); in fbnic_clone_create() 80 return clone; in fbnic_clone_create() 136 kfree(clone); in fbnic_clone_free() 228 struct fbnic_net *clone; in fbnic_set_ringparam() local 255 if (!clone) in fbnic_set_ringparam() 286 fbnic_clone_free(clone); in fbnic_set_ringparam() [all …]
|
| /linux-6.15/Documentation/admin-guide/device-mapper/ |
| H A D | dm-clone.rst | 4 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.15/fs/f2fs/ |
| H A D | acl.c | 296 struct posix_acl *clone = NULL; in f2fs_acl_clone() local 301 if (clone) in f2fs_acl_clone() 302 refcount_set(&clone->a_refcount, 1); in f2fs_acl_clone() 304 return clone; in f2fs_acl_clone() 366 struct posix_acl *clone; in f2fs_acl_create() local 383 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create() 384 if (!clone) { in f2fs_acl_create() 389 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create() 394 posix_acl_release(clone); in f2fs_acl_create() 396 *acl = clone; in f2fs_acl_create() [all …]
|
| /linux-6.15/fs/ |
| H A D | posix_acl.c | 225 if (clone) in posix_acl_clone() 228 return clone; in posix_acl_clone() 559 if (clone) { in __posix_acl_create() 563 clone = NULL; in __posix_acl_create() 567 *acl = clone; in __posix_acl_create() 577 if (clone) { in __posix_acl_chmod() 581 clone = NULL; in __posix_acl_chmod() 585 *acl = clone; in __posix_acl_chmod() 637 struct posix_acl *clone; in posix_acl_create() local 656 if (!clone) in posix_acl_create() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_fail.c | 1480 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-6.15/net/core/ |
| H A D | timestamping.c | 28 struct sk_buff *clone; in skb_clone_tx_timestamp() local 59 clone = skb_clone_sk(skb); in skb_clone_tx_timestamp() 60 if (!clone) in skb_clone_tx_timestamp() 62 mii_ts->txtstamp(mii_ts, clone, type); in skb_clone_tx_timestamp()
|
| /linux-6.15/net/ipv4/ |
| H A D | inet_fragment.c | 513 struct sk_buff *clone; in inet_frag_reasm_prepare() local 516 clone = alloc_skb(0, GFP_ATOMIC); in inet_frag_reasm_prepare() 517 if (!clone) in inet_frag_reasm_prepare() 523 clone->data_len = head->data_len - plen; in inet_frag_reasm_prepare() 524 clone->len = clone->data_len; in inet_frag_reasm_prepare() 525 head->truesize += clone->truesize; in inet_frag_reasm_prepare() 526 clone->csum = 0; in inet_frag_reasm_prepare() 527 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare() 528 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare() 529 skb_shinfo(head)->frag_list = clone; in inet_frag_reasm_prepare() [all …]
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/fs/btrfs/ |
| H A D | fiemap.c | 308 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-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/net/netfilter/ |
| H A D | nft_set_pipapo.c | 1275 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-6.15/tools/perf/Documentation/ |
| H A D | build-xed.txt | 4 $ git clone https://github.com/intelxed/mbuild.git mbuild 5 $ git clone https://github.com/intelxed/xed
|
| /linux-6.15/Documentation/translations/zh_CN/userspace-api/ |
| H A D | no_new_privs.rst | 27 置 ``no_new_privs`` 。一旦该位被设置,它会在fork、clone和execve中继承下去 55 原则上,当 ``no_new_privs`` 被置位时, ``unshare(2)`` 和 ``clone(2)`` 的几个选
|
| /linux-6.15/Documentation/userspace-api/ |
| H A D | unshare.rst | 96 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.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot_ptp.c | 667 struct sk_buff *clone) in ocelot_port_queue_ptp_tx_skb() argument 711 OCELOT_SKB_CB(clone)->ts_id = n; in ocelot_port_queue_ptp_tx_skb() 712 OCELOT_SKB_CB(clone)->ptp_tx_time = jiffies; in ocelot_port_queue_ptp_tx_skb() 714 __skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_queue_ptp_tx_skb() 744 struct sk_buff **clone) in ocelot_port_txtstamp_request() argument 778 *clone = skb_clone_sk(skb); in ocelot_port_txtstamp_request() 779 if (!(*clone)) { in ocelot_port_txtstamp_request() 785 err = ocelot_port_queue_ptp_tx_skb(ocelot, port, *clone); in ocelot_port_txtstamp_request() 787 kfree_skb(*clone); in ocelot_port_txtstamp_request() 791 skb_shinfo(*clone)->tx_flags |= SKBTX_IN_PROGRESS; in ocelot_port_txtstamp_request() [all …]
|
| /linux-6.15/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek_hwtstamp.c | 371 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()
|