函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio-integrity.c Create Date:2022-07-27 19:38:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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

函数原型:int bio_integrity_clone(struct bio *bio, struct bio *bio_src, gfp_t gfp_mask)

返回类型:int

参数:

类型参数名称
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  如果是错误则返回:错误
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  返回:0
调用者
名称描述
bounce_clone_bio