1. NAME

blk_rq_count_integrity_sg - Count number of integrity scatterlist elements

2. SYNOPSIS

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

3. ARGUMENTS

q
    request queue

bio
    bio with integrity metadata attached

4. DESCRIPTION

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

5. COPYRIGHT