ata_scsi_rbuf_get(9)

ata_scsi_rbuf_get9

Map response buffer.

Usage

void * ata_scsi_rbuf_get(struct scsi_cmnd * cmd, bool copy_in, unsigned long * flags);

Arguments

cmd

SCSI command containing buffer to be mapped.

copy_in

copy in from user buffer

flags

unsigned long variable to store irq enable status

Overview

Prepare buffer for simulated SCSI commands.

LOCKING: spin_lock_irqsave(ata_scsi_rbuf_lock) on success

Return

Pointer to response buffer.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.