SysTutorials

Linux Manual Pages › Section 9

blk_rq_count_integrity_sg(9)

blk_rq_count_integrity_sg - Count number of integrity scatterlist elements

Synopsis

int blk_rq_count_integrity_sg(struct request_queue *q, struct bio *bio);

Arguments

q

request queue

bio

bio with integrity metadata attached

Description

Returns the number of elements required in a scatterlist corresponding to the integrity metadata in a bio.

Copyright