Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
jfs_xattr.h File Reference

Go to the source code of this file.

Data Structures

struct  jfs_ea
 
struct  jfs_ea_list
 

Macros

#define MAXEASIZE   65535
 
#define MAXEALISTSIZE   MAXEASIZE
 
#define EA_SIZE(ea)
 
#define NEXT_EA(ea)   ((struct jfs_ea *) (((char *) (ea)) + (EA_SIZE (ea))))
 
#define FIRST_EA(ealist)   ((ealist)->ea)
 
#define EALIST_SIZE(ealist)   le32_to_cpu((ealist)->size)
 
#define END_EALIST(ealist)   ((struct jfs_ea *) (((char *) (ealist)) + EALIST_SIZE(ealist)))
 

Functions

int __jfs_setxattr (tid_t, struct inode *, const char *, const void *, size_t, int)
 
int jfs_setxattr (struct dentry *, const char *, const void *, size_t, int)
 
ssize_t __jfs_getxattr (struct inode *, const char *, void *, size_t)
 
ssize_t jfs_getxattr (struct dentry *, const char *, void *, size_t)
 
ssize_t jfs_listxattr (struct dentry *, char *, size_t)
 
int jfs_removexattr (struct dentry *, const char *)
 

Macro Definition Documentation

#define EA_SIZE (   ea)
Value:
(sizeof (struct jfs_ea) + (ea)->namelen + 1 + \

Definition at line 46 of file jfs_xattr.h.

#define EALIST_SIZE (   ealist)    le32_to_cpu((ealist)->size)

Definition at line 51 of file jfs_xattr.h.

#define END_EALIST (   ealist)    ((struct jfs_ea *) (((char *) (ealist)) + EALIST_SIZE(ealist)))

Definition at line 52 of file jfs_xattr.h.

#define FIRST_EA (   ealist)    ((ealist)->ea)

Definition at line 50 of file jfs_xattr.h.

#define MAXEALISTSIZE   MAXEASIZE

Definition at line 41 of file jfs_xattr.h.

#define MAXEASIZE   65535

Definition at line 40 of file jfs_xattr.h.

#define NEXT_EA (   ea)    ((struct jfs_ea *) (((char *) (ea)) + (EA_SIZE (ea))))

Definition at line 49 of file jfs_xattr.h.

Function Documentation

ssize_t __jfs_getxattr ( struct inode ,
const char ,
void ,
size_t   
)

Definition at line 933 of file xattr.c.

int __jfs_setxattr ( tid_t  ,
struct inode ,
const char ,
const void ,
size_t  ,
int   
)

Definition at line 766 of file xattr.c.

ssize_t jfs_getxattr ( struct dentry ,
const char ,
void ,
size_t   
)

Definition at line 984 of file xattr.c.

ssize_t jfs_listxattr ( struct dentry ,
char ,
size_t   
)

Definition at line 1017 of file xattr.c.

int jfs_removexattr ( struct dentry ,
const char  
)

Definition at line 1070 of file xattr.c.

int jfs_setxattr ( struct dentry ,
const char ,
const void ,
size_t  ,
int   
)

Definition at line 905 of file xattr.c.