ReactOS  0.4.13-dev-247-g0f29b3f
types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define container_of(ptr, type, member)
 
#define EXT2_SECRM_FL   0x00000001 /* Secure deletion */
 
#define EXT2_UNRM_FL   0x00000002 /* Undelete */
 
#define EXT2_COMPR_FL   0x00000004 /* Compress file */
 
#define EXT2_SYNC_FL   0x00000008 /* Synchronous updates */
 
#define EXT2_IMMUTABLE_FL   0x00000010 /* Immutable file */
 
#define EXT2_APPEND_FL   0x00000020 /* writes to file may only append */
 
#define EXT2_NODUMP_FL   0x00000040 /* do not dump file */
 
#define EXT2_NOATIME_FL   0x00000080 /* do not update atime */
 
#define EXT2_DIRTY_FL   0x00000100
 
#define EXT2_COMPRBLK_FL   0x00000200 /* One or more compressed clusters */
 
#define EXT2_NOCOMP_FL   0x00000400 /* Don't compress */
 
#define EXT2_ECOMPR_FL   0x00000800 /* Compression error */
 
#define EXT2_BTREE_FL   0x00001000 /* btree format dir */
 
#define EXT2_RESERVED_FL   0x80000000 /* reserved for ext2 lib */
 
#define EXT2_FL_USER_VISIBLE   0x00001FFF /* User visible flags */
 
#define EXT2_FL_USER_MODIFIABLE   0x000000FF /* User modifiable flags */
 
#define __LITTLE_ENDIAN
 
#define le16_to_cpu(x)   (x)
 
#define cpu_to_le16(x)   (x)
 

Typedefs

typedef unsigned __int8 __u8
 
typedef signed __int8 __s8
 
typedef signed __int64 __s64
 
typedef unsigned __int64 __u64
 
typedef signed __int16 __s16
 
typedef unsigned __int16 __u16
 
typedef signed __int32 __s32
 
typedef unsigned __int32 __u32
 
typedef __u16 u16
 
typedef __u32 u32
 
typedef __u32 ino_t
 
typedef __u32 blk_t
 

Macro Definition Documentation

◆ __LITTLE_ENDIAN

#define __LITTLE_ENDIAN

Definition at line 68 of file types.h.

◆ container_of

#define container_of (   ptr,
  type,
  member 
)
Value:
({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define typeof(X_)
Definition: msvc.h:4
static PVOID ptr
Definition: dispmode.c:27
#define offsetof(TYPE, MEMBER)

container_of - cast a member of a structure out to the containing structure

@ptr: the pointer to the member. @type: the type of the container struct this is embedded in. @member: the name of the member within the struct.

Definition at line 38 of file types.h.

◆ cpu_to_le16

#define cpu_to_le16 (   x)    (x)

Definition at line 70 of file types.h.

◆ EXT2_APPEND_FL

#define EXT2_APPEND_FL   0x00000020 /* writes to file may only append */

Definition at line 52 of file types.h.

◆ EXT2_BTREE_FL

#define EXT2_BTREE_FL   0x00001000 /* btree format dir */

Definition at line 61 of file types.h.

◆ EXT2_COMPR_FL

#define EXT2_COMPR_FL   0x00000004 /* Compress file */

Definition at line 49 of file types.h.

◆ EXT2_COMPRBLK_FL

#define EXT2_COMPRBLK_FL   0x00000200 /* One or more compressed clusters */

Definition at line 57 of file types.h.

◆ EXT2_DIRTY_FL

#define EXT2_DIRTY_FL   0x00000100

Definition at line 56 of file types.h.

◆ EXT2_ECOMPR_FL

#define EXT2_ECOMPR_FL   0x00000800 /* Compression error */

Definition at line 59 of file types.h.

◆ EXT2_FL_USER_MODIFIABLE

#define EXT2_FL_USER_MODIFIABLE   0x000000FF /* User modifiable flags */

Definition at line 65 of file types.h.

◆ EXT2_FL_USER_VISIBLE

#define EXT2_FL_USER_VISIBLE   0x00001FFF /* User visible flags */

Definition at line 64 of file types.h.

◆ EXT2_IMMUTABLE_FL

#define EXT2_IMMUTABLE_FL   0x00000010 /* Immutable file */

Definition at line 51 of file types.h.

◆ EXT2_NOATIME_FL

#define EXT2_NOATIME_FL   0x00000080 /* do not update atime */

Definition at line 54 of file types.h.

◆ EXT2_NOCOMP_FL

#define EXT2_NOCOMP_FL   0x00000400 /* Don't compress */

Definition at line 58 of file types.h.

◆ EXT2_NODUMP_FL

#define EXT2_NODUMP_FL   0x00000040 /* do not dump file */

Definition at line 53 of file types.h.

◆ EXT2_RESERVED_FL

#define EXT2_RESERVED_FL   0x80000000 /* reserved for ext2 lib */

Definition at line 62 of file types.h.

◆ EXT2_SECRM_FL

#define EXT2_SECRM_FL   0x00000001 /* Secure deletion */

Definition at line 47 of file types.h.

◆ EXT2_SYNC_FL

#define EXT2_SYNC_FL   0x00000008 /* Synchronous updates */

Definition at line 50 of file types.h.

◆ EXT2_UNRM_FL

#define EXT2_UNRM_FL   0x00000002 /* Undelete */

Definition at line 48 of file types.h.

◆ le16_to_cpu

#define le16_to_cpu (   x)    (x)

Definition at line 69 of file types.h.

Typedef Documentation

◆ __s16

typedef signed __int16 __s16

Definition at line 15 of file types.h.

◆ __s32

typedef signed __int32 __s32

Definition at line 18 of file types.h.

◆ __s64

typedef signed __int64 __s64

Definition at line 12 of file types.h.

◆ __s8

typedef signed __int8 __s8

Definition at line 10 of file types.h.

◆ __u16

typedef unsigned __int16 __u16

Definition at line 16 of file types.h.

◆ __u32

typedef unsigned __int32 __u32

Definition at line 19 of file types.h.

◆ __u64

typedef unsigned __int64 __u64

Definition at line 13 of file types.h.

◆ __u8

typedef unsigned __int8 __u8

Definition at line 9 of file types.h.

◆ blk_t

typedef __u32 blk_t

Definition at line 28 of file types.h.

◆ ino_t

typedef __u32 ino_t

Definition at line 27 of file types.h.

◆ u16

typedef __u16 u16

Definition at line 25 of file types.h.

◆ u32

typedef __u32 u32

Definition at line 26 of file types.h.