Name

ata_scsi_rbuf_get — Map response buffer.

Synopsis

unsigned int ata_scsi_rbuf_get (struct scsi_cmnd * cmd, u8 ** buf_out);

Arguments

cmd

SCSI command containing buffer to be mapped.

buf_out

Pointer to mapped area.

Description

Maps buffer contained within SCSI command cmd.

LOCKING

spin_lock_irqsave(host_set lock)

RETURNS

Length of response buffer.