Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:54:36 |
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bvec_free
Proto:void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| mempool_t * | pool | |
| struct bio_vec * | bv | |
| unsigned int | idx |
| 154 | If Not idx Then Return |
| 156 | idx-- |
| 158 | BIO_BUG_ON(idx >= We support 6 different bvec pools, the last one is magic in that it* is backed by a mempool.) |
| 160 | If idx == BVEC_POOL_MAX Then |
| 162 | Else |
| 163 | bvs = bvec_slabs + idx |
| 165 | kmem_cache_free(slab, bv) |
| Name | Describe |
|---|---|
| bio_free | |
| 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(). |
| 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 |