1BLK_INTEGRITY_REGIST(9) Block Devices BLK_INTEGRITY_REGIST(9)
2
3
4
6 blk_integrity_register - Register a gendisk as being integrity-capable
7
9 int blk_integrity_register(struct gendisk * disk,
10 struct blk_integrity * template);
11
13 disk
14 struct gendisk pointer to make integrity-aware
15
16 template
17 optional integrity profile to register
18
20 When a device needs to advertise itself as being able to send/receive
21 integrity metadata it must use this function to register the capability
22 with the block layer. The template is a blk_integrity struct with
23 values appropriate for the underlying hardware. If template is NULL the
24 new profile is allocated but not filled out. See
25 Documentation/block/data-integrity.txt.
26
28Kernel Hackers Manual 2.6. November 2011 BLK_INTEGRITY_REGIST(9)