Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | rbd_image_snap_ondisk |
struct | rbd_image_header_ondisk |
Macros | |
#define | RBD_HEADER_PREFIX "rbd_header." |
#define | RBD_DATA_PREFIX "rbd_data." |
#define | RBD_ID_PREFIX "rbd_id." |
#define | RBD_SUFFIX ".rbd" |
#define | RBD_DIRECTORY "rbd_directory" |
#define | RBD_INFO "rbd_info" |
#define | RBD_DEFAULT_OBJ_ORDER 22 /* 4MB */ |
#define | RBD_MIN_OBJ_ORDER 16 |
#define | RBD_MAX_OBJ_ORDER 30 |
#define | RBD_MAX_SEG_NAME_LEN 128 |
#define | RBD_COMP_NONE 0 |
#define | RBD_CRYPT_NONE 0 |
#define | RBD_HEADER_TEXT "<<< Rados Block Device Image >>>\n" |
#define | RBD_HEADER_SIGNATURE "RBD" |
#define | RBD_HEADER_VERSION "001.005" |
Functions | |
struct rbd_image_snap_ondisk | __attribute__ ((packed)) |
Variables | |
__le64 | id |
__le64 | image_size |
__u8 | order |
__u8 | crypt_type |
__u8 | comp_type |
__u8 | unused |
char | text [40] |
char | object_prefix [24] |
char | signature [4] |
char | version [8] |
__le64 | snap_seq |
__le32 | snap_count |
__le32 | reserved |
__le64 | snap_names_len |
struct rbd_image_snap_ondisk | snaps [0] |
#define RBD_COMP_NONE 0 |
Definition at line 51 of file rbd_types.h.
#define RBD_CRYPT_NONE 0 |
Definition at line 52 of file rbd_types.h.
#define RBD_DATA_PREFIX "rbd_data." |
Definition at line 28 of file rbd_types.h.
#define RBD_DEFAULT_OBJ_ORDER 22 /* 4MB */ |
Definition at line 45 of file rbd_types.h.
#define RBD_DIRECTORY "rbd_directory" |
Definition at line 42 of file rbd_types.h.
#define RBD_HEADER_PREFIX "rbd_header." |
Definition at line 27 of file rbd_types.h.
#define RBD_HEADER_SIGNATURE "RBD" |
Definition at line 55 of file rbd_types.h.
Definition at line 54 of file rbd_types.h.
#define RBD_HEADER_VERSION "001.005" |
Definition at line 56 of file rbd_types.h.
#define RBD_ID_PREFIX "rbd_id." |
Definition at line 29 of file rbd_types.h.
#define RBD_INFO "rbd_info" |
Definition at line 43 of file rbd_types.h.
#define RBD_MAX_OBJ_ORDER 30 |
Definition at line 47 of file rbd_types.h.
#define RBD_MAX_SEG_NAME_LEN 128 |
Definition at line 49 of file rbd_types.h.
#define RBD_MIN_OBJ_ORDER 16 |
Definition at line 46 of file rbd_types.h.
#define RBD_SUFFIX ".rbd" |
Definition at line 40 of file rbd_types.h.
|
read |
Definition at line 171 of file esd_usb2.c.
__u8 comp_type |
Definition at line 76 of file rbd_types.h.
__u8 crypt_type |
Definition at line 75 of file rbd_types.h.
Definition at line 62 of file rbd_types.h.
Definition at line 63 of file rbd_types.h.
char object_prefix[24] |
Definition at line 82 of file rbd_types.h.
unsigned char order |
Definition at line 74 of file rbd_types.h.
__le32 reserved |
Definition at line 94 of file rbd_types.h.
char signature[4] |
Definition at line 83 of file rbd_types.h.
__le32 snap_count |
Definition at line 93 of file rbd_types.h.
__le64 snap_names_len |
Definition at line 95 of file rbd_types.h.
__le64 snap_seq |
Definition at line 92 of file rbd_types.h.
struct rbd_image_snap_ondisk snaps[0] |
Definition at line 96 of file rbd_types.h.
char text[40] |
Definition at line 81 of file rbd_types.h.
Definition at line 77 of file rbd_types.h.
char version[8] |
Definition at line 84 of file rbd_types.h.