Function report |
Source Code:block\bio-integrity.c |
Create Date:2022-07-28 18:02:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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
Proto:int bio_integrity_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio | |
struct page * | page | |
unsigned int | len | |
unsigned int | offset |
123 | bip = bio_integrity(bio) |
126 | If # of integrity bio_vecs >= grity bio_vec slots Then |
131 | iv = bip_vec + # of integrity bio_vecs |
133 | If # of integrity bio_vecs && Check if adding a bio_vec after bprv with offset would create a gap in* the SG list. Most drivers don't care about this, but some do. Then Return 0 |
141 | # of integrity bio_vecs ++ |
143 | Return len |
Name | Describe |
---|---|
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 |
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 |