Searched refs:integrity (Results 1 - 25 of 35) sorted by last modified time

12

/linux-master/drivers/nvme/target/
H A Drdma.c8 #include <linux/blk-integrity.h>
H A Dio-cmd-bdev.c8 #include <linux/blk-integrity.h>
211 /* virtual start sector must be in integrity interval units */
/linux-master/drivers/nvme/host/
H A Dpci.c12 #include <linux/blk-integrity.h>
2995 * a single integrity segment for the separate metadata pointer.
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 Drdma.c15 #include <linux/blk-integrity.h>
/linux-master/block/
H A Dbdev.c15 #include <linux/blk-integrity.h>
H A Dblk-core.c20 #include <linux/blk-integrity.h>
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 Dblk-merge.c9 #include <linux/blk-integrity.h>
936 /* only merge integrity protected bio into ditto 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;
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 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...]
/linux-master/include/linux/
H A Dblkdev.h411 struct blk_integrity integrity; member in struct:request_queue
H A Devm.h12 #include <linux/integrity.h>
H A Dblk-integrity.h49 struct blk_integrity *bi = &disk->queue->integrity;
66 return q->integrity.profile;
82 * bio_integrity_intervals - Return number of integrity intervals for a bio
87 * sectors but integrity metadata is done in terms of the data integrity
89 * to the appropriate number of integrity intervals.
109 * Return the first bvec that contains integrity data. Only drivers that are
110 * limited to a single integrity segment should use this helper.
/linux-master/init/
H A Dmain.c93 #include <linux/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
/linux-master/drivers/md/
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 DMakefile78 obj-$(CONFIG_DM_INTEGRITY) += dm-integrity.o
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",
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...]
/linux-master/security/integrity/
H A Dintegrity.h16 #include <linux/integrity.h>
H A DMakefile3 # Makefile for caching inode integrity data (iint)
6 obj-$(CONFIG_INTEGRITY) += integrity.o
8 integrity-y := iint.o
9 integrity-$(CONFIG_INTEGRITY_AUDIT) += integrity_audit.o
10 integrity-$(CONFIG_INTEGRITY_SIGNATURE) += digsig.o
11 integrity-$(CONFIG_INTEGRITY_ASYMMETRIC_KEYS) += digsig_asymmetric.o
12 integrity-$(CONFIG_INTEGRITY_PLATFORM_KEYRING) += platform_certs/platform_keyring.o
13 integrity-$(CONFIG_INTEGRITY_MACHINE_KEYRING) += platform_certs/machine_keyring.o
14 integrity-$(CONFIG_LOAD_UEFI_KEYS) += platform_certs/efi_parser.o \
17 integrity
[all...]
/linux-master/security/integrity/evm/
H A Devm_main.c19 #include <linux/integrity.h>
176 * Returns integrity status
399 * evm_verifyxattr - verify the integrity of the requested xattr
409 * Returns the xattr integrity status.
430 * evm_verify_current_integrity - verify the dentry's metadata integrity
433 * Verify and return the dentry's metadata integrity. The exceptions are
/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 337 milliseconds

12