Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:56:38
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Initialize and setup a new bio_set, based on the settings from* another bio_set.

Proto:int bioset_init_from_src(struct bio_set *bs, struct bio_set *src)

Type:int

Parameter:

TypeParameterName
struct bio_set *bs
struct bio_set *src
2041  flags = 0
2042  If min_nr Then flags |= BIOSET_NEED_BVECS
2044  If rescue_workqueue Then flags |= BIOSET_NEED_RESCUER
2047  Return set_init - Initialize a bio_set*@bs: pool to initialize*@pool_size: Number of bio and bio_vecs to cache in the mempool*@front_pad: Number of bytes to allocate in front of the returned bio*@flags: Flags to modify behavior, currently %BIOSET_NEED_BVECS* and