Function report |
Source Code:block\bio-integrity.c |
Create Date:2022-07-28 18:02:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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
Proto:void bio_integrity_advance(struct bio *bio, unsigned int bytes_done)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bio * | bio | |
| unsigned int | bytes_done |
| 375 | bip = bio_integrity(bio) |
| 376 | bi = blk_get_integrity(bi_disk) |
| 377 | bytes = bio_integrity_bytes(bi, bytes_done >> 9) |
| 379 | device address in 512 byte sectors += bytes_done >> 9 |
| 380 | bvec_iter_advance(bip_vec, & bip_iter, bytes) |
| 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 |