函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:30:08 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_alloc_bioset - allocate a bio for I/O*@gfp_mask: the GFP_* mask given to the slab allocator*@nr_iovecs: number of iovecs to pre-allocate*@bs: the bio_set to allocate from
函数原型:struct bio *bio_alloc_bioset(gfp_t gfp_mask, unsigned int nr_iovecs, struct bio_set *bs)
返回类型:struct bio
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp_mask | |
unsigned int | nr_iovecs | |
struct bio_set * | bs |
439 | 如果非bs则 |
448 | 否则 |
450 | 如果WARN_ON_ONCE(!mempool_initialized( & bvec_pool) && nr_iovecs > 0)则返回:NULL |
474 | 如果bio_list且非bio_list_empty( & bio_list[0])或非bio_list_empty( & bio_list[1])的值且rescue_workqueue则gfp_mask与等于Caller can reclaim 的反 |
482 | punt_bios_to_rescuer(bs) |
491 | 如果此条件成立可能性小(为编译器优化)(!p)则返回:NULL |
497 | 如果nr_iovecs大于inline_vecs则 |
511 | 否则如果nr_iovecs则 |
517 | the actual vec list 等于bvl |
518 | 返回:bio |
520 | err_free : |
522 | 返回:NULL |
名称 | 描述 |
---|---|
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 |
bounce_clone_bio | |
iomap_alloc_ioend | |
bio_alloc | |
bio_kmalloc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |