6 #define LO_NAME_SIZE 64
10 LO_FLAGS_READ_ONLY = 1,
11 LO_FLAGS_USE_AOPS = 2,
12 LO_FLAGS_AUTOCLEAR = 4,
18 unsigned long lo_inode;
22 int lo_encrypt_key_size;
24 char lo_name[LO_NAME_SIZE];
25 unsigned char lo_encrypt_key[LO_KEY_SIZE];
26 unsigned long lo_init[2];
35 uint64_t lo_sizelimit;
37 uint32_t lo_encrypt_type;
38 uint32_t lo_encrypt_key_size;
40 uint8_t lo_file_name[LO_NAME_SIZE];
41 uint8_t lo_crypt_name[LO_NAME_SIZE];
42 uint8_t lo_encrypt_key[LO_KEY_SIZE];
47 #define LO_CRYPT_NONE 0
48 #define LO_CRYPT_XOR 1
49 #define LO_CRYPT_DES 2
50 #define LO_CRYPT_FISH2 3
51 #define LO_CRYPT_BLOW 4
52 #define LO_CRYPT_CAST128 5
53 #define LO_CRYPT_IDEA 6
54 #define LO_CRYPT_DUMMY 9
55 #define LO_CRYPT_SKIPJACK 10
56 #define LO_CRYPT_CRYPTOAPI 18
57 #define MAX_LO_CRYPT 20
60 #define LOOP_SET_FD 0x4C00
61 #define LOOP_CLR_FD 0x4C01
62 #define LOOP_SET_STATUS 0x4C02
63 #define LOOP_GET_STATUS 0x4C03
64 #define LOOP_SET_STATUS64 0x4C04
65 #define LOOP_GET_STATUS64 0x4C05
66 #define LOOP_CHANGE_FD 0x4C06
67 #define LOOP_SET_CAPACITY 0x4C07