ATA_SCSI_RBUF_FILL

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ata_scsi_rbuf_fill - wrapper for SCSI command simulators  

SYNOPSIS

"SYNOPSIS"

void ata_scsi_rbuf_fill (struct ata_scsi_args * args, unsigned int (*actor) struct ata_scsi_args *args, u8 *rbuf, unsigned int buflen);  

ARGUMENTS

args
device IDENTIFY data / SCSI command of interest.
actor
Callback hook for desired SCSI command simulator
 

DESCRIPTION

Takes care of the hard work of simulating a SCSI command... Mapping the response buffer, calling the command's handler, and handling the handler's return value. This return value indicates whether the handler wishes the SCSI command to be completed successfully, or not.  

LOCKING

spin_lock_irqsave(host_set lock)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING

This document was created by man2html, using the manual pages.
Time: 00:01:56 GMT, October 09, 2005