/drivers/md/ |
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 …]
|
D | dm-rq.c | 21 struct request *orig, *clone; member 79 static void end_clone_bio(struct bio *clone) in end_clone_bio() argument 82 container_of(clone, struct dm_rq_clone_bio_info, clone); in end_clone_bio() 85 blk_status_t error = clone->bi_status; in end_clone_bio() 86 bool is_last = !clone->bi_next; in end_clone_bio() 88 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 …]
|
D | dm-zone.c | 370 struct bio *orig_bio, struct bio *clone) in dm_zone_map_bio_begin() argument 396 if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset) in dm_zone_map_bio_begin() 405 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE | in dm_zone_map_bio_begin() 407 clone->bi_iter.bi_sector = in dm_zone_map_bio_begin() 471 unsigned int zno, struct bio *clone) in dm_zone_lock() argument 473 if (WARN_ON_ONCE(bio_flagged(clone, BIO_ZONE_WRITE_LOCKED))) in dm_zone_lock() 477 bio_set_flag(clone, BIO_ZONE_WRITE_LOCKED); in dm_zone_lock() 481 unsigned int zno, struct bio *clone) in dm_zone_unlock() argument 483 if (!bio_flagged(clone, BIO_ZONE_WRITE_LOCKED)) in dm_zone_unlock() 491 bio_clear_flag(clone, BIO_ZONE_WRITE_LOCKED); in dm_zone_unlock() [all …]
|
D | dm.c | 78 #define DM_TARGET_IO_BIO_OFFSET (offsetof(struct dm_target_io, clone)) 80 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio)) 84 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_per_bio_data() 103 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr() 479 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_start_time_ns_from_clone() 534 struct bio *clone; in alloc_io() local 536 clone = bio_alloc_bioset(GFP_NOIO, 0, &md->io_bs); in alloc_io() 537 if (!clone) in alloc_io() 540 tio = container_of(clone, struct dm_target_io, clone); in alloc_io() 562 bio_put(&io->tio.clone); in free_io() [all …]
|
D | dm-crypt.c | 1638 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone); 1660 struct bio *clone; in crypt_alloc_buffer() local 1670 clone = bio_alloc_bioset(GFP_NOIO, nr_iovecs, &cc->bs); in crypt_alloc_buffer() 1671 if (!clone) in crypt_alloc_buffer() 1674 clone_init(io, clone); in crypt_alloc_buffer() 1675 clone->bi_ioprio = io->base_bio->bi_ioprio; in crypt_alloc_buffer() 1682 crypt_free_buffer_pages(cc, clone); in crypt_alloc_buffer() 1683 bio_put(clone); in crypt_alloc_buffer() 1690 bio_add_page(clone, page, len, 0); in crypt_alloc_buffer() 1696 if (dm_crypt_integrity_io_alloc(io, clone)) { in crypt_alloc_buffer() [all …]
|
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_clone_fast(bio, GFP_NOIO, &dmz->bio_set); in dmz_submit_bio() 129 if (!clone) in dmz_submit_bio() 132 bio_set_dev(clone, dev->bdev); in dmz_submit_bio() 134 clone->bi_iter.bi_sector = in dmz_submit_bio() 136 clone->bi_iter.bi_size = dmz_blk2sect(nr_blocks) << SECTOR_SHIFT; in dmz_submit_bio() [all …]
|
D | dm-era-target.c | 1020 struct dm_block *clone; in metadata_take_snap() local 1046 &sb_validator, &clone, &inc); in metadata_take_snap() 1057 dm_tm_unlock(md->tm, clone); in metadata_take_snap() 1065 dm_tm_unlock(md->tm, clone); in metadata_take_snap() 1069 md->metadata_snap = dm_block_location(clone); in metadata_take_snap() 1071 dm_tm_unlock(md->tm, clone); in metadata_take_snap() 1080 struct dm_block *clone; in metadata_drop_snap() local 1088 r = dm_tm_read_lock(md->tm, md->metadata_snap, &sb_validator, &clone); in metadata_drop_snap() 1100 disk = dm_block_data(clone); in metadata_drop_snap() 1105 dm_tm_unlock(md->tm, clone); in metadata_drop_snap() [all …]
|
D | Makefile | 26 dm-clone-y += dm-clone-target.o dm-clone-metadata.o 82 obj-$(CONFIG_DM_CLONE) += dm-clone.o
|
D | dm-mpath.c | 510 struct request *clone; in multipath_clone_and_map() local 533 clone = blk_get_request(q, rq->cmd_flags | REQ_NOMERGE, in multipath_clone_and_map() 535 if (IS_ERR(clone)) { in multipath_clone_and_map() 552 clone->bio = clone->biotail = NULL; in multipath_clone_and_map() 553 clone->rq_disk = bdev->bd_disk; in multipath_clone_and_map() 554 clone->cmd_flags |= REQ_FAILFAST_TRANSPORT; in multipath_clone_and_map() 555 *__clone = clone; in multipath_clone_and_map() 564 static void multipath_release_clone(struct request *clone, in multipath_release_clone() argument 579 clone->io_start_time_ns); in multipath_release_clone() 582 blk_put_request(clone); in multipath_release_clone() [all …]
|
D | dm-target.c | 134 struct request **clone) in io_err_clone_and_map_rq() argument 139 static void io_err_release_clone_rq(struct request *clone, in io_err_release_clone_rq() argument
|
D | dm-rq.h | 30 struct bio clone; member
|
/drivers/net/usb/ |
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()
|
/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | usernv04.c | 35 bool clone; member 51 if (dmaobj->clone) { in nv04_dmaobj_bind() 99 dmaobj->clone = true; in nv04_dmaobj_new()
|
/drivers/net/dsa/hirschmann/ |
D | hellcreek_hwtstamp.c | 382 struct sk_buff *clone; in hellcreek_port_txtstamp() local 399 clone = skb_clone_sk(skb); in hellcreek_port_txtstamp() 400 if (!clone) in hellcreek_port_txtstamp() 405 kfree_skb(clone); in hellcreek_port_txtstamp() 409 ps->tx_skb = clone; in hellcreek_port_txtstamp()
|
D | hellcreek_hwtstamp.h | 46 struct sk_buff *clone, unsigned int type);
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sync.c | 377 int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone) in amdgpu_sync_clone() argument 387 r = amdgpu_sync_fence(clone, f); in amdgpu_sync_clone() 397 dma_fence_put(clone->last_vm_update); in amdgpu_sync_clone() 398 clone->last_vm_update = dma_fence_get(source->last_vm_update); in amdgpu_sync_clone()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 462 struct sk_buff *clone = SJA1105_SKB_CB(skb)->clone; in sja1110_txtstamp() local 475 SJA1105_SKB_CB(clone)->ts_id = ts_id; in sja1110_txtstamp() 479 skb_queue_tail(&sp->data->skb_txtstamp_queue, clone); in sja1110_txtstamp() 490 struct sk_buff *clone; in sja1105_port_txtstamp() local 495 clone = skb_clone_sk(skb); in sja1105_port_txtstamp() 496 if (!clone) in sja1105_port_txtstamp() 499 SJA1105_SKB_CB(skb)->clone = clone; in sja1105_port_txtstamp()
|
D | sja1105_ptp.h | 88 struct sk_buff *clone); 135 struct sk_buff *clone) in sja1105_ptp_txtstamp_skb() argument
|
/drivers/staging/fbtft/ |
D | README | 14 git clone https://github.com/notro/fbtft.git 21 git clone https://github.com/notro/fbtft.git
|
/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.h | 119 struct sk_buff *clone, unsigned int type); 148 struct sk_buff *clone, in mv88e6xxx_port_rxtstamp() argument
|
D | hwtstamp.c | 477 struct sk_buff *clone; in mv88e6xxx_port_txtstamp() local 488 clone = skb_clone_sk(skb); in mv88e6xxx_port_txtstamp() 489 if (!clone) in mv88e6xxx_port_txtstamp() 494 kfree_skb(clone); in mv88e6xxx_port_txtstamp() 498 ps->tx_skb = clone; in mv88e6xxx_port_txtstamp()
|
/drivers/scsi/cxlflash/ |
D | vlun.c | 46 static void marshal_clone_to_rele(struct dk_cxlflash_clone *clone, in marshal_clone_to_rele() argument 49 release->hdr = clone->hdr; in marshal_clone_to_rele() 50 release->context_id = clone->context_id_dst; in marshal_clone_to_rele() 1191 struct dk_cxlflash_clone *clone) in cxlflash_disk_clone() argument 1205 u64 ctxid_src = DECODE_CTXID(clone->context_id_src), in cxlflash_disk_clone() 1206 ctxid_dst = DECODE_CTXID(clone->context_id_dst), in cxlflash_disk_clone() 1207 rctxid_src = clone->context_id_src, in cxlflash_disk_clone() 1208 rctxid_dst = clone->context_id_dst; in cxlflash_disk_clone() 1306 marshal_clone_to_rele(clone, &release); in cxlflash_disk_clone()
|
/drivers/net/ethernet/mscc/ |
D | ocelot.c | 576 struct sk_buff *clone) in ocelot_port_add_txtstamp_skb() argument 589 skb_shinfo(clone)->tx_flags |= SKBTX_IN_PROGRESS; in ocelot_port_add_txtstamp_skb() 591 OCELOT_SKB_CB(clone)->ts_id = ocelot_port->ts_id; in ocelot_port_add_txtstamp_skb() 600 skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_add_txtstamp_skb() 628 struct sk_buff **clone) in ocelot_port_txtstamp_request() argument 655 *clone = skb_clone_sk(skb); in ocelot_port_txtstamp_request() 656 if (!(*clone)) in ocelot_port_txtstamp_request() 659 err = ocelot_port_add_txtstamp_skb(ocelot, port, *clone); in ocelot_port_txtstamp_request() 664 OCELOT_SKB_CB(*clone)->ptp_class = ptp_class; in ocelot_port_txtstamp_request() 698 static bool ocelot_validate_ptp_skb(struct sk_buff *clone, u16 seqid) in ocelot_validate_ptp_skb() argument [all …]
|
/drivers/net/ethernet/8390/ |
D | Kconfig | 33 tristate "ASIX AX88796 NE2000 clone support" if !ZORRO 50 tristate "Amiga XSurf 100 AX88796/NE2000 clone support" 113 NE2000 and clone support" below. 128 This driver also works for the following NE2000 clone cards:
|
/drivers/net/dsa/ocelot/ |
D | felix.c | 1087 struct sk_buff *clone = OCELOT_SKB_CB(skb)->clone; in ocelot_port_purge_txtstamp_skb() local 1091 if (!clone) in ocelot_port_purge_txtstamp_skb() 1097 if (skb != clone) in ocelot_port_purge_txtstamp_skb() 1410 struct sk_buff *clone = NULL; in felix_txtstamp() local 1415 if (ocelot_port_txtstamp_request(ocelot, port, skb, &clone)) { in felix_txtstamp() 1422 if (clone) in felix_txtstamp() 1423 OCELOT_SKB_CB(skb)->clone = clone; in felix_txtstamp()
|