1SWAP_BUF_LE16(9)             libata Core Internals            SWAP_BUF_LE16(9)
2
3
4

NAME

6       swap_buf_le16 - swap halves of 16-bit words in place
7

SYNOPSIS

9       void swap_buf_le16(u16 * buf, unsigned int buf_words);
10

ARGUMENTS

12       buf
13           Buffer to swap
14
15       buf_words
16           Number of 16-bit words in buffer.
17

DESCRIPTION

19       Swap halves of 16-bit words if needed to convert from little-endian
20       byte order to native cpu byte order, or vice-versa.
21

LOCKING

23       Inherited from caller.
24

AUTHOR

26       Jeff Garzik
27           Author.
28
30Kernel Hackers Manual 2.6.         June 2019                  SWAP_BUF_LE16(9)
Impressum