'\" t .\" Title: scsi_kmap_atomic_sg .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SCSI_KMAP_ATOMIC_SG" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" scsi_kmap_atomic_sg \- find and atomically map an sg\-elemnt .SH "SYNOPSIS" .HP \w'void\ *\ scsi_kmap_atomic_sg('u .BI "void * scsi_kmap_atomic_sg(struct\ scatterlist\ *\ " "sgl" ", int\ " "sg_count" ", size_t\ *\ " "offset" ", size_t\ *\ " "len" ");" .SH "ARGUMENTS" .PP \fIsgl\fR .RS 4 scatter\-gather list .RE .PP \fIsg_count\fR .RS 4 number of segments in sg .RE .PP \fIoffset\fR .RS 4 offset in bytes into sg, on return offset into the mapped area .RE .PP \fIlen\fR .RS 4 bytes to map, on return number of bytes mapped .RE .SH "DESCRIPTION" .PP Returns virtual address of the start of the mapped page .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br