Searched refs:integrity (Results 1 - 25 of 35) sorted by path

12

/linux-master/block/
H A DMakefile29 obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o
H A Dbdev.c15 #include <linux/blk-integrity.h>
H A Dbio-integrity.c3 * bio-integrity.c - bio data integrity extensions
9 #include <linux/blk-integrity.h>
39 * bio_integrity_alloc - Allocate integrity payload and attach it to bio
40 * @bio: bio to attach integrity metadata to
42 * @nr_vecs: Number of integrity metadata scatter-gather elements
44 * Description: This function prepares a bio for attaching integrity
46 * integrity metadata that can be attached.
136 * bio_integrity_free - Free bio integrity payload
139 * Description: Used to free the integrity portio
[all...]
H A Dblk-core.c20 #include <linux/blk-integrity.h>
H A Dblk-crypto-profile.c34 #include <linux/blk-integrity.h>
H A Dblk-integrity.c3 * blk-integrity.c - Block layer data integrity extensions
9 #include <linux/blk-integrity.h>
20 * blk_rq_count_integrity_sg - Count number of integrity scatterlist elements
22 * @bio: bio with integrity metadata attached
25 * scatterlist corresponding to the integrity metadata in a bio.
59 * blk_rq_map_integrity_sg - Map integrity metadata into a scatterlist
61 * @bio: bio with integrity metadata attached
64 * Description: Map the integrity vectors in request into a
111 * blk_integrity_compare - Compare integrity profil
[all...]
H A Dblk-merge.c9 #include <linux/blk-integrity.h>
936 /* only merge integrity protected bio into ditto rq */
H A Dblk-mq.c13 #include <linux/blk-integrity.h>
831 req->q->integrity.profile->complete_fn(req, total_bytes);
902 req->q->integrity.profile->complete_fn(req, nr_bytes);
1266 q->integrity.profile->prepare_fn(rq);
H A Dt10-pi.c8 #include <linux/blk-integrity.h>
144 struct blk_integrity *bi = &rq->q->integrity;
195 struct blk_integrity *bi = &rq->q->integrity;
396 struct blk_integrity *bi = &rq->q->integrity;
436 struct blk_integrity *bi = &rq->q->integrity;
/linux-master/drivers/md/
H A DMakefile78 obj-$(CONFIG_DM_INTEGRITY) += dm-integrity.o
H A Ddm-bio-record.h12 #include <linux/blk-integrity.h>
H A Ddm-crypt.c19 #include <linux/blk-integrity.h>
218 * encryption requeusts/buffer pages and integrity tags
1176 /* From now we require underlying device with our integrity profile */
1206 ti->error = "Not enough space for integrity tag in the profile.";
1345 /* For READs use IV stored in integrity metadata */
1352 /* Store generated IV in integrity metadata */
1381 dm_audit_log_bio(DM_MSG_PREFIX, "integrity-aead",
1438 /* For READs use IV stored in integrity metadata */
1448 /* Store generated IV in integrity metadata */
1635 * There was a data integrity erro
[all...]
H A Ddm-io-rewind.c8 #include <linux/blk-integrity.h>
48 * dm_bio_integrity_rewind - Rewind integrity vector
49 * @bio: bio whose integrity vector to update
52 * Description: This function calculates how many integrity bytes the
54 * integrity vector accordingly.
H A Ddm-table.c15 #include <linux/blk-integrity.h>
1128 * Get a disk whose integrity profile reflects the table's profile.
1129 * Returns NULL if integrity support was inconsistent or unavailable.
1158 DMWARN("%s: integrity not set: %s and %s profile mismatch",
1167 * underlying devices have an integrity profile. But all devices may
1171 * profile). Consequently, stacked DM devices force a 2 stage integrity
1180 /* If target handles integrity itself do not register it here. */
1191 * Register integrity profile during table load; we can do
1200 * If DM device already has an initialized integrity
1204 DMERR("%s: conflict with existing integrity profil
[all...]
H A Dmd.c44 #include <linux/blk-integrity.h>
2405 * Try to register data integrity profile for an mddev
2409 * are integrity capable with matching profiles.
2438 * All component devices are integrity capable and have matching
2444 pr_debug("md: data integrity enabled on %s\n", mdname(mddev));
2454 pr_err("md: failed to create integrity pool for %s\n",
2464 * integrity profile
2479 pr_err("%s: incompatible integrity profile for %pg\n",
/linux-master/drivers/nvdimm/
H A Dcore.c10 #include <linux/blk-integrity.h>
/linux-master/drivers/nvme/host/
H A Dcore.c9 #include <linux/blk-integrity.h>
1723 struct blk_integrity integrity = { }; local
1742 integrity.profile = &t10_pi_type3_crc;
1743 integrity.tag_size = sizeof(u16) + sizeof(u32);
1744 integrity.flags |= BLK_INTEGRITY_DEVICE_CAPABLE;
1747 integrity.profile = &ext_pi_type3_crc64;
1748 integrity.tag_size = sizeof(u16) + 6;
1749 integrity.flags |= BLK_INTEGRITY_DEVICE_CAPABLE;
1752 integrity.profile = NULL;
1760 integrity
[all...]
H A Dpci.c12 #include <linux/blk-integrity.h>
2995 * a single integrity segment for the separate metadata pointer.
H A Drdma.c15 #include <linux/blk-integrity.h>
/linux-master/drivers/nvme/target/
H A Dio-cmd-bdev.c8 #include <linux/blk-integrity.h>
211 /* virtual start sector must be in integrity interval units */
H A Drdma.c8 #include <linux/blk-integrity.h>
/linux-master/drivers/scsi/
H A Dscsi_lib.c24 #include <linux/blk-integrity.h>
45 * Size of integrity metadata is usually small, 1 inline sg should
1099 * scsi_alloc_sgtables - Allocate and initialize data and integrity scatterlists
1102 * Initializes @cmd->sdb and also @cmd->prot_sdb if data integrity is enabled
H A Dsd_dif.c9 #include <linux/blk-integrity.h>
H A Dvirtio_scsi.c25 #include <linux/blk-integrity.h>
/linux-master/drivers/target/
H A Dtarget_core_iblock.c19 #include <linux/blk-integrity.h>
695 /* virtual start sector must be in integrity interval units */
714 pr_debug("Added bio integrity page: %p length: %zu offset: %lu\n",

Completed in 603 milliseconds

12