函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_next_split - get next @sectors from a bio, splitting if necessary*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Returns a bio representing the next @sectors of @bio - if the

函数原型:static inline struct bio *bio_next_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)

返回类型:struct bio

参数:

类型参数名称
struct bio *bio
intsectors
gfp_tgfp
struct bio_set *bs
375  如果sectors大于等于bio_sectors(bio)则返回:bio
378  返回:_split - split a bio*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Allocates and returns a new bio which represents @sectors from the start of