函数逻辑报告 |
Source Code:include\linux\bio.h |
Create Date:2022-07-27 06:46:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get a reference to a bio, so it won't disappear. the intended use is* something like:* bio_get(bio);* submit_bio(rw, bio);* if (bio->bi_flags ...)* do_something* bio_put(bio);* without the bio_get(), it could potentially complete I/O before submit_bio
函数原型:static inline void bio_get(struct bio *bio)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bio * | bio |
218 | status, etc and bvec pool number 或等于1左移BIO_REFFED位 |
219 | smp_mb__before_atomic() |
220 | atomic_inc( & pin count ) |
名称 | 描述 |
---|---|
swap_readpage | |
bio_map_user_iov | _map_user_iov - map user iovec into bio*@q: the struct request_queue for the bio*@iter: iovec iterator*@gfp_mask: memory allocation flags* Map the user space address into a bio suitable for io to a block* device. Returns an error pointer in case of error. |
__blk_rq_map_user_iov | |
__blkdev_direct_IO | |
iomap_chain_bio | Allocate a new bio, and chain the old bio to the new one.* Note that we have to do perform the chaining in this unintuitive order* so that the bi_private linkage is set up in the right direction for the* traversal in iomap_finish_ioend(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |