Home
last modified time | relevance | path

Searched refs:blk_integrity (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/include/linux/
Dblk-integrity.h39 void blk_integrity_register(struct gendisk *, struct blk_integrity *);
46 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity()
48 struct blk_integrity *bi = &disk->queue->integrity; in blk_get_integrity()
56 static inline struct blk_integrity *
90 static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, in bio_integrity_intervals()
96 static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, in bio_integrity_bytes()
129 static inline struct blk_integrity *bdev_get_integrity(struct block_device *b) in bdev_get_integrity()
133 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity()
147 struct blk_integrity *b) in blk_integrity_register()
163 static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, in bio_integrity_intervals()
[all …]
Dblkdev.h107 struct blk_integrity { struct
433 struct blk_integrity integrity;
/linux-6.6.21/block/
Dblk-integrity.c123 struct blk_integrity *b1 = &gd1->queue->integrity; in blk_integrity_compare()
124 struct blk_integrity *b2 = &gd2->queue->integrity; in blk_integrity_compare()
215 static inline struct blk_integrity *dev_to_bi(struct device *dev) in dev_to_bi()
223 struct blk_integrity *bi = dev_to_bi(dev); in format_show()
233 struct blk_integrity *bi = dev_to_bi(dev); in tag_size_show()
242 struct blk_integrity *bi = dev_to_bi(dev); in protection_interval_bytes_show()
252 struct blk_integrity *bi = dev_to_bi(dev); in read_verify_store()
267 struct blk_integrity *bi = dev_to_bi(dev); in read_verify_show()
276 struct blk_integrity *bi = dev_to_bi(dev); in write_generate_store()
292 struct blk_integrity *bi = dev_to_bi(dev); in write_generate_show()
[all …]
Dbio-integrity.c172 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_process()
215 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_prep()
318 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_verify_fn()
344 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in __bio_integrity_endio()
370 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_advance()
386 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_trim()
/linux-6.6.21/drivers/scsi/
Dsd_dif.c32 struct blk_integrity bi; in sd_dif_config_host()
Dvirtio_scsi.c532 struct blk_integrity *bi; in virtio_scsi_init_hdr_pi()
/linux-6.6.21/drivers/md/
Ddm-io-rewind.c59 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in dm_bio_integrity_rewind()
Ddm-crypt.c1179 struct blk_integrity *bi = blk_get_integrity(cc->dev->bdev->bd_disk); in crypt_integrity_ctr()
Ddm-integrity.c3656 struct blk_integrity bi; in dm_integrity_set()
Dmd.c2379 struct blk_integrity *bi_mddev; in md_integrity_add_rdev()
/linux-6.6.21/Documentation/block/
Ddata-integrity.rst158 profile (struct blk_integrity). This optional profile is registered
259 `int blk_integrity_register(gendisk, blk_integrity);`
261 The blk_integrity struct is a template and should contain the
264 static struct blk_integrity my_profile = {
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-bdev.c61 struct blk_integrity *bi = bdev_get_integrity(ns->bdev); in nvmet_bdev_ns_enable_integrity()
191 struct blk_integrity *bi; in nvmet_bdev_alloc_bip()
Drdma.c577 static void nvmet_rdma_set_sig_domain(struct blk_integrity *bi, in nvmet_rdma_set_sig_domain()
601 struct blk_integrity *bi; in nvmet_rdma_set_sig_attrs()
/linux-6.6.21/drivers/target/
Dtarget_core_iblock.c95 struct blk_integrity *bi; in iblock_configure_device()
674 struct blk_integrity *bi; in iblock_alloc_bip()
/linux-6.6.21/drivers/nvdimm/
Dcore.c514 struct blk_integrity bi; in nd_integrity_init()
/linux-6.6.21/drivers/nvme/host/
Drdma.c1345 static void nvme_rdma_set_sig_domain(struct blk_integrity *bi, in nvme_rdma_set_sig_domain()
1363 static void nvme_rdma_set_sig_attrs(struct blk_integrity *bi, in nvme_rdma_set_sig_attrs()
Dcore.c1669 struct blk_integrity integrity = { }; in nvme_init_integrity()