Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bio_alloc_map_data

Proto:static struct bio_map_data *bio_alloc_map_data(struct iov_iter *data, gfp_t gfp_mask)

Type:struct bio_map_data

Parameter:

TypeParameterName
struct iov_iter *data
gfp_tgfp_mask
1148  If nr_segs > UIO_MAXIOV Then Return NULL
1151  bmd = Allocation memory
1152  If Not bmd Then Return NULL
1154  memcpy(iov, iov, sizeof(structiovec) * nr_segs)
1155  iter = data
1156  iov = iov
1157  Return bmd
Caller
NameDescribe
bio_copy_user_iov_copy_user_iov - copy user data to bio*@q: destination block queue*@map_data: pointer to the rq_map_data holding pages (if necessary)*@iter: iovec iterator*@gfp_mask: memory allocation flags* Prepares and returns a bio for indirect user io, bouncing data