Lines Matching full:integrity

3  * bio-integrity.c - bio data integrity extensions
9 #include <linux/blk-integrity.h>
26 * bio_integrity_free - Free bio integrity payload
29 * Description: Free the integrity portion of a bio.
49 * bio_integrity_alloc - Allocate integrity payload and attach it to bio
50 * @bio: bio to attach integrity metadata to
52 * @nr_vecs: Number of integrity metadata scatter-gather elements
54 * Description: This function prepares a bio for attaching integrity
56 * integrity metadata that can be attached.
132 * bio_integrity_unmap_user - Unmap user integrity payload
135 * Unmap the user mapped integrity portion of a bio.
152 * bio_integrity_add_page - Attach integrity metadata
154 * @page: page containing integrity metadata
155 * @len: number of bytes of integrity metadata in page
158 * Description: Attach a page containing integrity metadata to bio.
387 * process integrity info corresponding to current data buffer only. in bio_integrity_map_iter()
412 * bio_integrity_prep - Prepare bio for integrity I/O
415 * Description: Checks if the bio already has an integrity payload attached.
417 * and we just pass it through. Otherwise allocates integrity payload.
419 * to calling. In the WRITE case, integrity metadata will be generated using
420 * the block device's integrity function. In the READ case, the buffer
452 * memory to disk for non-integrity metadata where nothing else in bio_integrity_prep()
488 printk(KERN_ERR "could not attach integrity payload\n"); in bio_integrity_prep()
492 /* Auto-generate integrity metadata if this is a write */ in bio_integrity_prep()
507 * bio_integrity_verify_fn - Integrity I/O completion worker
511 * request. The function verifies the transferred integrity metadata
528 * __bio_integrity_endio - Integrity I/O completion function
531 * Description: Completion for integrity I/O
534 * verifying I/O integrity is a time-consuming task which must be run
555 * bio_integrity_advance - Advance integrity vector
556 * @bio: bio whose integrity vector to update
559 * Description: This function calculates how many integrity bytes the
561 * integrity vector accordingly.
574 * bio_integrity_trim - Trim integrity vector
575 * @bio: bio whose integrity vector to update
577 * Description: Used to trim the integrity vector in a cloned bio.
589 * bio_integrity_clone - Callback for cloning bios with integrity metadata