suse man page for ata_exec_internal_sg

Query: ata_exec_internal_sg

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ATA_EXEC_INTERNAL_SG(9) 				       libata Core Internals					   ATA_EXEC_INTERNAL_SG(9)

NAME
ata_exec_internal_sg - execute libata internal command
SYNOPSIS
unsigned ata_exec_internal_sg(struct ata_device * dev, struct ata_taskfile * tf, const u8 * cdb, int dma_dir, struct scatterlist * sgl, unsigned int n_elem, unsigned long timeout);
ARGUMENTS
dev Device to which the command is sent tf Taskfile registers for the command and the result cdb CDB for packet command dma_dir Data tranfer direction of the command sgl sg list for the data buffer of the command n_elem Number of sg entries timeout Timeout in msecs (0 for default)
DESCRIPTION
Executes libata internal command with timeout. tf contains command on entry and result on return. Timeout and error conditions are reported via return value. No recovery action is taken after a command times out. It's caller's duty to clean up after timeout.
LOCKING
None. Should be called with kernel context, might sleep.
RETURNS
Zero on success, AC_ERR_* mask on failure
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_EXEC_INTERNAL_SG(9)
Related Man Pages
struct_tid_ampdu_rx(9) - centos
usb_buffer_map_sg(9) - centos
ql-set-cmd-timeout(8) - debian
gethugepagesizes(3) - centos
ccw_device_start_timeout(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Update kernel Linux without reboot?!
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com