Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio-integrity.c Create Date:2022-07-28 18:02:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_integrity_clone - Callback for cloning bios with integrity metadata*@bio: New bio*@bio_src: Original bio*@gfp_mask: Memory allocation mask* Description: Called to allocate a bip when cloning a bio

Proto:int bio_integrity_clone(struct bio *bio, struct bio *bio_src, gfp_t gfp_mask)

Type:int

Parameter:

TypeParameterName
struct bio *bio
struct bio *bio_src
gfp_tgfp_mask
409  bip_src = bio_integrity(bio_src)
412  BUG_ON(bip_src == NULL)
414  bip = _integrity_alloc - Allocate integrity payload and attach it to bio*@bio: bio to attach integrity metadata to*@gfp_mask: Memory allocation mask*@nr_vecs: Number of integrity metadata scatter-gather elements* Description: This function prepares a bio for
415  If IS_ERR(bip) Then Return PTR_ERR(bip)
418  memcpy(bip_vec, bip_vec, # of integrity bio_vecs * sizeof(structbio_vec))
421  # of integrity bio_vecs = # of integrity bio_vecs
422  bip_iter = bip_iter
424  Return 0
Caller
NameDescribe
bounce_clone_bio