strace/xlat/loop_cmds.in
Eugene Syromyatnikov 40771886ec loop: use XLAT_MACROS_ONLY instead of #stop
As the former allows controlling presence of xlat definitions
during the inclusion and not header generation.

* xlat/loop_cmds.in: Remove #stop.
* loop.c: Wrap "xlat/loop_cmds.h" inclusion in XLAT_MACROS_ONLY.
* tests/ioctl_loop.c: Likewise.
2018-12-26 01:59:38 +00:00

14 lines
309 B
Plaintext

LOOP_SET_FD 0x4C00
LOOP_CLR_FD 0x4C01
LOOP_SET_STATUS 0x4C02
LOOP_GET_STATUS 0x4C03
LOOP_SET_STATUS64 0x4C04
LOOP_GET_STATUS64 0x4C05
LOOP_CHANGE_FD 0x4C06
LOOP_SET_CAPACITY 0x4C07
LOOP_SET_DIRECT_IO 0x4C08
LOOP_SET_BLOCK_SIZE 0x4C09
LOOP_CTL_ADD 0x4C80
LOOP_CTL_REMOVE 0x4C81
LOOP_CTL_GET_FREE 0x4C82