- int blk_rq_map_integrity_sg(struct request_queue * q, struct bio * bio, struct scatterlist * sglist);
- request queue
- bio with integrity metadata attached
- target scatterlist
Map the integrity vectors in request into a scatterlist. The scatterlist must be big enough to hold all elements. I.e. sized using blk_rq_count_integrity_sg.