函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-27 06:46:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Mark a bio as polled. Note that for async polled IO, the caller must* expect -EWOULDBLOCK if we cannot allocate a request (or other resources).* We cannot block waiting for requests on polled IO, as those completions* must be found by the caller

函数原型:static inline void bio_set_polled(struct bio *bio, struct kiocb *kiocb)

返回类型:void

参数:

类型参数名称
struct bio *bio
struct kiocb *kiocb
832  bottom bits req flags, * top bits REQ_OP. Use * accessors.或等于REQ_HIPRI
833  如果非is_sync_kiocb(kiocb)则 bottom bits req flags, * top bits REQ_OP. Use * accessors.或等于REQ_NOWAIT
调用者
名称描述
__blkdev_direct_IO_simple
__blkdev_direct_IO
iomap_dio_submit_bio