Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template)

Type:void

Parameter:

TypeParameterName
struct gendisk *disk
struct blk_integrity *template
401  bi = integrity
403  flags = BLK_INTEGRITY_VERIFY | BLK_INTEGRITY_GENERATE | flags
405  interval_exp = If interval_exp Else 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 = If profile Then profile Else nop_profile
408  tuple_size = tuple_size
409  tag_size = tag_size
411  capabilities |= BDI_CAP_STABLE_WRITES