Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
loop.h File Reference
#include <asm/posix_types.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  loop_info
 
struct  loop_info64
 

Macros

#define LO_NAME_SIZE   64
 
#define LO_KEY_SIZE   32
 
#define LO_CRYPT_NONE   0
 
#define LO_CRYPT_XOR   1
 
#define LO_CRYPT_DES   2
 
#define LO_CRYPT_FISH2   3 /* Twofish encryption */
 
#define LO_CRYPT_BLOW   4
 
#define LO_CRYPT_CAST128   5
 
#define LO_CRYPT_IDEA   6
 
#define LO_CRYPT_DUMMY   9
 
#define LO_CRYPT_SKIPJACK   10
 
#define LO_CRYPT_CRYPTOAPI   18
 
#define MAX_LO_CRYPT   20
 
#define LOOP_SET_FD   0x4C00
 
#define LOOP_CLR_FD   0x4C01
 
#define LOOP_SET_STATUS   0x4C02
 
#define LOOP_GET_STATUS   0x4C03
 
#define LOOP_SET_STATUS64   0x4C04
 
#define LOOP_GET_STATUS64   0x4C05
 
#define LOOP_CHANGE_FD   0x4C06
 
#define LOOP_SET_CAPACITY   0x4C07
 
#define LOOP_CTL_ADD   0x4C80
 
#define LOOP_CTL_REMOVE   0x4C81
 
#define LOOP_CTL_GET_FREE   0x4C82
 

Enumerations

enum  { LO_FLAGS_READ_ONLY = 1, LO_FLAGS_AUTOCLEAR = 4, LO_FLAGS_PARTSCAN = 8 }
 

Macro Definition Documentation

#define LO_CRYPT_BLOW   4

Definition at line 69 of file loop.h.

#define LO_CRYPT_CAST128   5

Definition at line 70 of file loop.h.

#define LO_CRYPT_CRYPTOAPI   18

Definition at line 74 of file loop.h.

#define LO_CRYPT_DES   2

Definition at line 67 of file loop.h.

#define LO_CRYPT_DUMMY   9

Definition at line 72 of file loop.h.

#define LO_CRYPT_FISH2   3 /* Twofish encryption */

Definition at line 68 of file loop.h.

#define LO_CRYPT_IDEA   6

Definition at line 71 of file loop.h.

#define LO_CRYPT_NONE   0

Definition at line 65 of file loop.h.

#define LO_CRYPT_SKIPJACK   10

Definition at line 73 of file loop.h.

#define LO_CRYPT_XOR   1

Definition at line 66 of file loop.h.

#define LO_KEY_SIZE   32

Definition at line 14 of file loop.h.

#define LO_NAME_SIZE   64

Definition at line 13 of file loop.h.

#define LOOP_CHANGE_FD   0x4C06

Definition at line 87 of file loop.h.

#define LOOP_CLR_FD   0x4C01

Definition at line 82 of file loop.h.

#define LOOP_CTL_ADD   0x4C80

Definition at line 91 of file loop.h.

#define LOOP_CTL_GET_FREE   0x4C82

Definition at line 93 of file loop.h.

#define LOOP_CTL_REMOVE   0x4C81

Definition at line 92 of file loop.h.

#define LOOP_GET_STATUS   0x4C03

Definition at line 84 of file loop.h.

#define LOOP_GET_STATUS64   0x4C05

Definition at line 86 of file loop.h.

#define LOOP_SET_CAPACITY   0x4C07

Definition at line 88 of file loop.h.

#define LOOP_SET_FD   0x4C00

Definition at line 81 of file loop.h.

#define LOOP_SET_STATUS   0x4C02

Definition at line 83 of file loop.h.

#define LOOP_SET_STATUS64   0x4C04

Definition at line 85 of file loop.h.

#define MAX_LO_CRYPT   20

Definition at line 75 of file loop.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
LO_FLAGS_READ_ONLY 
LO_FLAGS_AUTOCLEAR 
LO_FLAGS_PARTSCAN 

Definition at line 20 of file loop.h.