other versions
MODECPY(9) | libata SCSI translation/emulat | MODECPY(9) |
NAME¶
modecpy - Prepare response for MODE SENSE
SYNOPSIS¶
void modecpy(u8 * dest, const u8 * src, int n, bool changeable);
ARGUMENTS¶
u8 * dest
output buffer
const u8 * src
data being copied
int n
length of mode page
bool changeable
whether changeable parameters are requested
DESCRIPTION¶
Generate a generic MODE SENSE page for either current or changeable parameters.
LOCKING: None.
AUTHOR¶
Jeff Garzik
Author.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.12 |