Go to the documentation of this file.
9 #ifndef _UAPI_LINUX_LOOP_H
10 #define _UAPI_LINUX_LOOP_H
13 #define LO_NAME_SIZE 64
14 #define LO_KEY_SIZE 32
26 #include <asm/posix_types.h>
27 #include <linux/types.h>
65 #define LO_CRYPT_NONE 0
66 #define LO_CRYPT_XOR 1
67 #define LO_CRYPT_DES 2
68 #define LO_CRYPT_FISH2 3
69 #define LO_CRYPT_BLOW 4
70 #define LO_CRYPT_CAST128 5
71 #define LO_CRYPT_IDEA 6
72 #define LO_CRYPT_DUMMY 9
73 #define LO_CRYPT_SKIPJACK 10
74 #define LO_CRYPT_CRYPTOAPI 18
75 #define MAX_LO_CRYPT 20
81 #define LOOP_SET_FD 0x4C00
82 #define LOOP_CLR_FD 0x4C01
83 #define LOOP_SET_STATUS 0x4C02
84 #define LOOP_GET_STATUS 0x4C03
85 #define LOOP_SET_STATUS64 0x4C04
86 #define LOOP_GET_STATUS64 0x4C05
87 #define LOOP_CHANGE_FD 0x4C06
88 #define LOOP_SET_CAPACITY 0x4C07
91 #define LOOP_CTL_ADD 0x4C80
92 #define LOOP_CTL_REMOVE 0x4C81
93 #define LOOP_CTL_GET_FREE 0x4C82