函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_integrity_register - Register a gendisk as being integrity-capable*@disk: struct gendisk pointer to make integrity-aware*@template: block integrity profile to register* Description: When a device needs to advertise itself as being able to* send/receive

函数原型:void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template)

返回类型:void

参数:

类型参数名称
struct gendisk *disk
struct blk_integrity *template
401  bi等于integrity
403  flags等于BLK_INTEGRITY_VERIFY按位或BLK_INTEGRITY_GENERATE按位或flags
405  interval_exp等于如果interval_exp否则log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (queue_logical_block_size(queue))
407  profile等于如果profileprofile否则nop_profile
408  tuple_size等于tuple_size
409  tag_size等于tag_size
411  capabilities或等于BDI_CAP_STABLE_WRITES