Go to the documentation of this file.
9 #include <linux/xattr.h>
12 #define EXT3_XATTR_MAGIC 0xEA020000
15 #define EXT3_XATTR_REFCOUNT_MAX 1024
18 #define EXT3_XATTR_INDEX_USER 1
19 #define EXT3_XATTR_INDEX_POSIX_ACL_ACCESS 2
20 #define EXT3_XATTR_INDEX_POSIX_ACL_DEFAULT 3
21 #define EXT3_XATTR_INDEX_TRUSTED 4
22 #define EXT3_XATTR_INDEX_LUSTRE 5
23 #define EXT3_XATTR_INDEX_SECURITY 6
47 #define EXT3_XATTR_PAD_BITS 2
48 #define EXT3_XATTR_PAD (1<<EXT3_XATTR_PAD_BITS)
49 #define EXT3_XATTR_ROUND (EXT3_XATTR_PAD-1)
50 #define EXT3_XATTR_LEN(name_len) \
51 (((name_len) + EXT3_XATTR_ROUND + \
52 sizeof(struct ext3_xattr_entry)) & ~EXT3_XATTR_ROUND)
53 #define EXT3_XATTR_NEXT(entry) \
54 ( (struct ext3_xattr_entry *)( \
55 (char *)(entry) + EXT3_XATTR_LEN((entry)->e_name_len)) )
56 #define EXT3_XATTR_SIZE(size) \
57 (((size) + EXT3_XATTR_ROUND) & ~EXT3_XATTR_ROUND)
59 # ifdef CONFIG_EXT3_FS_XATTR
125 #define ext3_xattr_handlers NULL
129 #ifdef CONFIG_EXT3_FS_SECURITY
131 struct inode *dir,
const struct qstr *
qstr);
134 struct inode *dir,
const struct qstr *
qstr)