1. NAME

scsi_kmap_atomic_sg - find and atomically map an sg-elemnt

2. SYNOPSIS

void * scsi_kmap_atomic_sg(struct scatterlist *  sgl , int  sg_count , size_t *  offset , size_t *  len );

3. ARGUMENTS

sgl
    scatter-gather list

sg_count
    number of segments in sg

offset
    offset in bytes into sg, on return offset into the mapped area

len
    bytes to map, on return number of bytes mapped

4. DESCRIPTION

Returns virtual address of the start of the mapped page

5. AUTHORS

James Bottomley <>
    Author.

Rob Landley <>
    Author.

6. COPYRIGHT