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

Go to the source code of this file.

Data Structures

struct  ext4_xattr_header
 
struct  ext4_xattr_ibody_header
 
struct  ext4_xattr_entry
 

Macros

#define EXT4_XATTR_MAGIC   0xEA020000
 
#define EXT4_XATTR_REFCOUNT_MAX   1024
 
#define EXT4_XATTR_INDEX_USER   1
 
#define EXT4_XATTR_INDEX_POSIX_ACL_ACCESS   2
 
#define EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT   3
 
#define EXT4_XATTR_INDEX_TRUSTED   4
 
#define EXT4_XATTR_INDEX_LUSTRE   5
 
#define EXT4_XATTR_INDEX_SECURITY   6
 
#define EXT4_XATTR_PAD_BITS   2
 
#define EXT4_XATTR_PAD   (1<<EXT4_XATTR_PAD_BITS)
 
#define EXT4_XATTR_ROUND   (EXT4_XATTR_PAD-1)
 
#define EXT4_XATTR_LEN(name_len)
 
#define EXT4_XATTR_NEXT(entry)
 
#define EXT4_XATTR_SIZE(size)   (((size) + EXT4_XATTR_ROUND) & ~EXT4_XATTR_ROUND)
 
#define IHDR(inode, raw_inode)
 
#define IFIRST(hdr)   ((struct ext4_xattr_entry *)((hdr)+1))
 
#define ext4_xattr_handlers   NULL
 

Macro Definition Documentation

#define ext4_xattr_handlers   NULL

Definition at line 144 of file xattr.h.

#define EXT4_XATTR_INDEX_LUSTRE   5

Definition at line 22 of file xattr.h.

#define EXT4_XATTR_INDEX_POSIX_ACL_ACCESS   2

Definition at line 19 of file xattr.h.

#define EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT   3

Definition at line 20 of file xattr.h.

#define EXT4_XATTR_INDEX_SECURITY   6

Definition at line 23 of file xattr.h.

#define EXT4_XATTR_INDEX_TRUSTED   4

Definition at line 21 of file xattr.h.

#define EXT4_XATTR_INDEX_USER   1

Definition at line 18 of file xattr.h.

#define EXT4_XATTR_LEN (   name_len)
Value:

Definition at line 52 of file xattr.h.

#define EXT4_XATTR_MAGIC   0xEA020000

Definition at line 12 of file xattr.h.

#define EXT4_XATTR_NEXT (   entry)
Value:
((struct ext4_xattr_entry *)( \
(char *)(entry) + EXT4_XATTR_LEN((entry)->e_name_len)))

Definition at line 55 of file xattr.h.

#define EXT4_XATTR_PAD   (1<<EXT4_XATTR_PAD_BITS)

Definition at line 50 of file xattr.h.

#define EXT4_XATTR_PAD_BITS   2

Definition at line 49 of file xattr.h.

#define EXT4_XATTR_REFCOUNT_MAX   1024

Definition at line 15 of file xattr.h.

#define EXT4_XATTR_ROUND   (EXT4_XATTR_PAD-1)

Definition at line 51 of file xattr.h.

#define EXT4_XATTR_SIZE (   size)    (((size) + EXT4_XATTR_ROUND) & ~EXT4_XATTR_ROUND)

Definition at line 58 of file xattr.h.

#define IFIRST (   hdr)    ((struct ext4_xattr_entry *)((hdr)+1))

Definition at line 66 of file xattr.h.

#define IHDR (   inode,
  raw_inode 
)
Value:
((void *)raw_inode + \
EXT4_GOOD_OLD_INODE_SIZE + \
EXT4_I(inode)->i_extra_isize))

Definition at line 61 of file xattr.h.