---
name: "ata_scsi_rbuf_get"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_scsi_rbuf_get"
---

# ata\_scsi\_rbuf\_get(9)

Map response buffer.

## NAME

ata\_scsi\_rbuf\_get - Map response buffer.

## SYNOPSIS

**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

## DESCRIPTION

Prepare buffer for simulated SCSI commands.

LOCKING: spin\_lock\_irqsave(ata\_scsi\_rbuf\_lock) on success

## RETURN

Pointer to response buffer.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
