'\" t .\" Title: scsi_dev_info_list_find .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SCSI_DEV_INFO_LIST_F" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_dev_info_list_find \- find a matching dev_info list entry\&. .SH "SYNOPSIS" .HP \w'struct\ scsi_dev_info_list\ *\ scsi_dev_info_list_find('u .BI "struct scsi_dev_info_list * scsi_dev_info_list_find(const\ char\ *\ " "vendor" ", const\ char\ *\ " "model" ", int\ " "key" ");" .SH "ARGUMENTS" .PP \fIvendor\fR .RS 4 vendor string .RE .PP \fImodel\fR .RS 4 model (product) string .RE .PP \fIkey\fR .RS 4 specify list to use .RE .SH "DESCRIPTION" .PP Finds the first dev_info entry matching \fIvendor\fR, \fImodel\fR in list specified by \fIkey\fR\&. .SH "RETURN" .PP pointer to matching entry, or ERR_PTR on failure\&. .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