Function report |
Source Code:include\linux\bio.h |
Create Date:2022-07-28 05:45:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bio_integrity
Proto:static inline struct bio_integrity_payload *bio_integrity(struct bio *bio)
Type:struct bio_integrity_payload
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio |
329 | If bottom bits req flags, * top bits REQ_OP. Use * accessors. & REQ_INTEGRITY Then Return data integrity |
332 | Return NULL |
Name | Describe |
---|---|
bio_uninit | |
bio_clone_fast | _clone_fast - clone a bio that shares the original bio's biovec*@bio: bio to clone*@gfp_mask: allocation priority*@bs: bio_set to allocate from* Like __bio_clone_fast, only also allocates the returned bio |
bio_advance | _advance - increment/complete a bio by some number of bytes*@bio: bio to advance*@bytes: number of bytes to complete* This updates bi_sector, bi_size and bi_idx; if the number of bytes to* complete doesn't align with a bvec boundary, then bv_len and |
bio_split | _split - split a bio*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Allocates and returns a new bio which represents @sectors from the start of |
bio_trim | _trim - trim a bio*@bio: bio to trim*@offset: number of sectors to trim from the front of @bio*@size: size we want to trim @bio to, in sectors |
bounce_clone_bio | |
bio_integrity_free | _integrity_free - Free bio integrity payload*@bio: bio containing bip to be freed* Description: Used to free the integrity portion of a bio. Usually* called from bio_free(). |
bio_integrity_add_page | _integrity_add_page - Attach integrity metadata*@bio: bio to update*@page: page containing integrity metadata*@len: number of bytes of integrity metadata in page*@offset: start offset within page |
bio_integrity_process | _integrity_process - Process integrity metadata for a bio*@bio: bio to generate/verify integrity metadata for*@proc_iter: iterator to process*@proc_fn: Pointer to the relevant processing function |
bio_integrity_prep | _integrity_prep - Prepare bio for integrity I/O*@bio: bio to prepare* Description: Checks if the bio already has an integrity payload attached.* If it does, the payload has been generated by another kernel subsystem,* and we just pass it through |
__bio_integrity_endio | __bio_integrity_endio - Integrity I/O completion function*@bio: Protected bio* Description: Completion for integrity I/O* Normally I/O completion is done in interrupt context. However,* verifying I/O integrity is a time-consuming task which must be run |
bio_integrity_advance | _integrity_advance - Advance integrity vector*@bio: bio whose integrity vector to update*@bytes_done: number of data bytes that have been completed* Description: This function calculates how many integrity bytes the* number of completed data bytes |
bio_integrity_trim | _integrity_trim - Trim integrity vector*@bio: bio whose integrity vector to update* Description: Used to trim the integrity vector in a cloned bio. |
bio_integrity_clone | _integrity_clone - Callback for cloning bios with integrity metadata*@bio: New bio*@bio_src: Original bio*@gfp_mask: Memory allocation mask* Description: Called to allocate a bip when cloning a bio |
blk_integrity_merge_rq | |
blk_integrity_merge_bio | |
t10_pi_type1_prepare | 10_pi_type1_prepare - prepare PI prior submitting request to device*@rq: request with PI that should be prepared* For Type 1/Type 2, the virtual start sector is the one that was* originally submitted by the block layer for the ref_tag usage. Due to |
t10_pi_type1_complete | 10_pi_type1_complete - prepare PI prior returning request to the blk layer*@rq: request with PI that should be prepared*@nr_bytes: total bytes to prepare* For Type 1/Type 2, the virtual start sector is the one that was |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |