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

Go to the source code of this file.

Data Structures

struct  xattr_handler
 
struct  xattr
 
struct  simple_xattrs
 
struct  simple_xattr
 

Functions

ssize_t xattr_getsecurity (struct inode *, const char *, void *, size_t)
 
ssize_t vfs_getxattr (struct dentry *, const char *, void *, size_t)
 
ssize_t vfs_listxattr (struct dentry *d, char *list, size_t size)
 
int __vfs_setxattr_noperm (struct dentry *, const char *, const void *, size_t, int)
 
int vfs_setxattr (struct dentry *, const char *, const void *, size_t, int)
 
int vfs_removexattr (struct dentry *, const char *)
 
ssize_t generic_getxattr (struct dentry *dentry, const char *name, void *buffer, size_t size)
 
ssize_t generic_listxattr (struct dentry *dentry, char *buffer, size_t buffer_size)
 
int generic_setxattr (struct dentry *dentry, const char *name, const void *value, size_t size, int flags)
 
int generic_removexattr (struct dentry *dentry, const char *name)
 
ssize_t vfs_getxattr_alloc (struct dentry *dentry, const char *name, char **xattr_value, size_t size, gfp_t flags)
 
int vfs_xattr_cmp (struct dentry *dentry, const char *xattr_name, const char *value, size_t size, gfp_t flags)
 
struct simple_xattrsimple_xattr_alloc (const void *value, size_t size)
 
int simple_xattr_get (struct simple_xattrs *xattrs, const char *name, void *buffer, size_t size)
 
int simple_xattr_set (struct simple_xattrs *xattrs, const char *name, const void *value, size_t size, int flags)
 
int simple_xattr_remove (struct simple_xattrs *xattrs, const char *name)
 
ssize_t simple_xattr_list (struct simple_xattrs *xattrs, char *buffer, size_t size)
 
void simple_xattr_list_add (struct simple_xattrs *xattrs, struct simple_xattr *new_xattr)
 

Function Documentation

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

Definition at line 92 of file xattr.c.

ssize_t generic_getxattr ( struct dentry dentry,
const char name,
void buffer,
size_t  size 
)

Definition at line 718 of file xattr.c.

ssize_t generic_listxattr ( struct dentry dentry,
char buffer,
size_t  buffer_size 
)

Definition at line 733 of file xattr.c.

int generic_removexattr ( struct dentry dentry,
const char name 
)

Definition at line 780 of file xattr.c.

int generic_setxattr ( struct dentry dentry,
const char name,
const void value,
size_t  size,
int  flags 
)

Definition at line 763 of file xattr.c.

struct simple_xattr* simple_xattr_alloc ( const void value,
size_t  size 
)
read

Definition at line 799 of file xattr.c.

int simple_xattr_get ( struct simple_xattrs xattrs,
const char name,
void buffer,
size_t  size 
)

Definition at line 821 of file xattr.c.

ssize_t simple_xattr_list ( struct simple_xattrs xattrs,
char buffer,
size_t  size 
)

Definition at line 934 of file xattr.c.

void simple_xattr_list_add ( struct simple_xattrs xattrs,
struct simple_xattr new_xattr 
)

Definition at line 968 of file xattr.c.

int simple_xattr_remove ( struct simple_xattrs xattrs,
const char name 
)

Definition at line 921 of file xattr.c.

int simple_xattr_set ( struct simple_xattrs xattrs,
const char name,
const void value,
size_t  size,
int  flags 
)

Definition at line 910 of file xattr.c.

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

Definition at line 231 of file xattr.c.

ssize_t vfs_getxattr_alloc ( struct dentry dentry,
const char name,
char **  xattr_value,
size_t  size,
gfp_t  flags 
)

Definition at line 181 of file xattr.c.

ssize_t vfs_listxattr ( struct dentry d,
char list,
size_t  size 
)

Definition at line 267 of file xattr.c.

int vfs_removexattr ( struct dentry ,
const char  
)

Definition at line 287 of file xattr.c.

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

Definition at line 122 of file xattr.c.

int vfs_xattr_cmp ( struct dentry dentry,
const char xattr_name,
const char value,
size_t  size,
gfp_t  flags 
)

Definition at line 212 of file xattr.c.

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

Definition at line 146 of file xattr.c.