函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bio_alloc

函数原型:static inline struct bio *bio_alloc(gfp_t gfp_mask, unsigned int nr_iovecs)

返回类型:struct bio

参数:

类型参数名称
gfp_tgfp_mask
unsigned intnr_iovecs
400  返回:_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
调用者
名称描述
hib_submit_io
get_swap_bio
blkdev_issue_flushlkdev_issue_flush - queue a flush*@bdev: blockdev to issue flush for*@gfp_mask: memory allocation flags (for bio_alloc)*@error_sector: error sector* Description:* Issue a flush for the block device in question
blk_next_bio
submit_bh_wbc
__blkdev_direct_IO
dio_bio_alloc
mpage_alloc
fscrypt_zeroout_range
iomap_readpage_actor
iomap_chain_bioAllocate 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().
iomap_dio_zero
iomap_dio_bio_actor