Count number of integrity scatterlist elements
int blk_rq_count_integrity_sg(struct request_queue * q, struct bio * bio);
q
request queue
bio
bio with integrity metadata attached
Returns the number of elements required in a scatterlist corresponding to the integrity metadata in a bio.