ReactOS 0.4.16-dev-297-gc569aee
|
Files | |
file | ext4_xattr.h |
Extended Attribute manipulation. | |
Classes | |
struct | ext4_xattr_header |
struct | ext4_xattr_ibody_header |
struct | ext4_xattr_entry |
struct | ext4_xattr_item |
struct | ext4_xattr_ref |
#define EXT4_GOOD_OLD_INODE_SIZE EXT2_GOOD_OLD_INODE_SIZE |
Definition at line 89 of file ext4_xattr.h.
#define EXT4_XATTR_BFIRST | ( | block | ) | EXT4_XATTR_ENTRY(EXT4_XATTR_BHDR(block)+1) |
Definition at line 117 of file ext4_xattr.h.
#define EXT4_XATTR_BHDR | ( | block | ) | ((struct ext4_xattr_header *)((block)->b_data)) |
Definition at line 113 of file ext4_xattr.h.
#define EXT4_XATTR_ENTRY | ( | ptr | ) | ((struct ext4_xattr_entry *)(ptr)) |
Definition at line 115 of file ext4_xattr.h.
#define EXT4_XATTR_IFIRST | ( | hdr | ) | ((struct ext4_xattr_entry *)((hdr)+1)) |
Definition at line 110 of file ext4_xattr.h.
#define EXT4_XATTR_IHDR | ( | raw_inode | ) |
Definition at line 105 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_ENCRYPTION 9 |
Definition at line 60 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_LUSTRE 5 |
Definition at line 56 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_POSIX_ACL_ACCESS 2 |
Definition at line 53 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT 3 |
Definition at line 54 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_RICHACL 8 |
Definition at line 59 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_SECURITY 6 |
Definition at line 57 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_SYSTEM 7 |
Definition at line 58 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_TRUSTED 4 |
Definition at line 55 of file ext4_xattr.h.
#define EXT4_XATTR_INDEX_USER 1 |
Definition at line 52 of file ext4_xattr.h.
Definition at line 119 of file ext4_xattr.h.
#define EXT4_XATTR_ITERATE_CONT 0 |
Definition at line 162 of file ext4_xattr.h.
#define EXT4_XATTR_ITERATE_PAUSE 2 |
Definition at line 164 of file ext4_xattr.h.
#define EXT4_XATTR_ITERATE_STOP 1 |
Definition at line 163 of file ext4_xattr.h.
#define EXT4_XATTR_LEN | ( | name_len | ) |
Definition at line 94 of file ext4_xattr.h.
#define EXT4_XATTR_MAGIC 0xEA020000 |
Definition at line 46 of file ext4_xattr.h.
Definition at line 102 of file ext4_xattr.h.
Definition at line 97 of file ext4_xattr.h.
#define EXT4_XATTR_PAD (1<<EXT4_XATTR_PAD_BITS) |
Definition at line 92 of file ext4_xattr.h.
#define EXT4_XATTR_PAD_BITS 2 |
Definition at line 91 of file ext4_xattr.h.
#define EXT4_XATTR_REFCOUNT_MAX 1024 |
Definition at line 49 of file ext4_xattr.h.
#define EXT4_XATTR_ROUND (EXT4_XATTR_PAD-1) |
Definition at line 93 of file ext4_xattr.h.
#define EXT4_XATTR_SIZE | ( | size | ) | (((size) + EXT4_XATTR_ROUND) & ~EXT4_XATTR_ROUND) |
Definition at line 100 of file ext4_xattr.h.
Definition at line 122 of file ext4_xattr.h.
const char * ext4_extract_xattr_name | ( | const char * | full_name, |
size_t | full_name_len, | ||
__u8 * | name_index, | ||
size_t * | name_len, | ||
BOOL * | found | ||
) |
Definition at line 1234 of file ext4_xattr.c.
int ext4_fs_get_xattr | ( | struct ext4_xattr_ref * | ref, |
__u8 | name_index, | ||
const char * | name, | ||
size_t | name_len, | ||
void * | buf, | ||
size_t | buf_size, | ||
size_t * | data_size | ||
) |
Definition at line 1078 of file ext4_xattr.c.
Referenced by Ext2QueryEa().
int ext4_fs_get_xattr_ref | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | fs, | ||
PEXT2_MCB | inode_ref, | ||
struct ext4_xattr_ref * | ref | ||
) |
Definition at line 1105 of file ext4_xattr.c.
Referenced by Ext2OverwriteEa(), Ext2QueryEa(), Ext2QueryFileInformation(), and Ext2SetEa().
int ext4_fs_put_xattr_ref | ( | struct ext4_xattr_ref * | ref | ) |
Definition at line 1176 of file ext4_xattr.c.
Referenced by Ext2OverwriteEa(), Ext2QueryEa(), Ext2QueryFileInformation(), and Ext2SetEa().
int ext4_fs_remove_xattr | ( | struct ext4_xattr_ref * | ref, |
__u8 | name_index, | ||
const char * | name, | ||
size_t | name_len | ||
) |
Definition at line 1072 of file ext4_xattr.c.
int ext4_fs_set_xattr | ( | struct ext4_xattr_ref * | ref, |
__u8 | name_index, | ||
const char * | name, | ||
size_t | name_len, | ||
const void * | data, | ||
size_t | data_size, | ||
BOOL | replace | ||
) |
Definition at line 1024 of file ext4_xattr.c.
Referenced by Ext2OverwriteEa().
int ext4_fs_set_xattr_ordered | ( | struct ext4_xattr_ref * | ref, |
__u8 | name_index, | ||
const char * | name, | ||
size_t | name_len, | ||
const void * | data, | ||
size_t | data_size | ||
) |
Definition at line 1055 of file ext4_xattr.c.
Referenced by Ext2SetEa().
void ext4_fs_xattr_iterate | ( | struct ext4_xattr_ref * | ref, |
int(*)(struct ext4_xattr_ref *ref, struct ext4_xattr_item *item, BOOL is_last) | iter | ||
) |
Definition at line 978 of file ext4_xattr.c.
Referenced by Ext2QueryEa(), and Ext2QueryFileInformation().
void ext4_fs_xattr_iterate_reset | ( | struct ext4_xattr_ref * | ref | ) |
Definition at line 1019 of file ext4_xattr.c.
Definition at line 1277 of file ext4_xattr.c.
void ext4_xattr_purge_items | ( | struct ext4_xattr_ref * | xattr_ref | ) |
Definition at line 736 of file ext4_xattr.c.
Referenced by Ext2OverwriteEa(), Ext2SetEa(), ext4_fs_get_xattr_ref(), and ext4_fs_put_xattr_ref().