1SCSI_KMAP_ATOMIC_SG(9)          SCSI mid layer          SCSI_KMAP_ATOMIC_SG(9)
2
3
4

NAME

6       scsi_kmap_atomic_sg - find and atomically map an sg-elemnt
7

SYNOPSIS

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

ARGUMENTS

13       sgl
14           scatter-gather list
15
16       sg_count
17           number of segments in sg
18
19       offset
20           offset in bytes into sg, on return offset into the mapped area
21
22       len
23           bytes to map, on return number of bytes mapped
24

DESCRIPTION

26       Returns virtual address of the start of the mapped page
27

AUTHORS

29       James Bottomley <James.Bottomley@hansenpartnership.com>
30           Author.
31
32       Rob Landley <rob@landley.net>
33           Author.
34
36Kernel Hackers Manual 2.6.         June 2019            SCSI_KMAP_ATOMIC_SG(9)
Impressum