Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
xattr.c File Reference
#include <linux/capability.h>
#include <linux/fs.h>
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>
#include <linux/slab.h>
#include <linux/quotaops.h>
#include <linux/security.h>
#include "jfs_incore.h"
#include "jfs_superblock.h"
#include "jfs_dmap.h"
#include "jfs_debug.h"
#include "jfs_dinode.h"
#include "jfs_extent.h"
#include "jfs_metapage.h"
#include "jfs_xattr.h"
#include "jfs_acl.h"

Go to the source code of this file.

Data Structures

struct  ea_buffer
 

Macros

#define EA_INLINE   0x0001
 
#define EA_EXTENT   0x0002
 
#define EA_NEW   0x0004
 
#define EA_MALLOC   0x0008
 

Functions

int __jfs_setxattr (tid_t tid, struct inode *inode, const char *name, const void *value, size_t value_len, int flags)
 
int jfs_setxattr (struct dentry *dentry, const char *name, const void *value, size_t value_len, int flags)
 
ssize_t __jfs_getxattr (struct inode *inode, const char *name, void *data, size_t buf_size)
 
ssize_t jfs_getxattr (struct dentry *dentry, const char *name, void *data, size_t buf_size)
 
ssize_t jfs_listxattr (struct dentry *dentry, char *data, size_t buf_size)
 
int jfs_removexattr (struct dentry *dentry, const char *name)
 

Macro Definition Documentation

#define EA_EXTENT   0x0002

Definition at line 84 of file xattr.c.

#define EA_INLINE   0x0001

Definition at line 83 of file xattr.c.

#define EA_MALLOC   0x0008

Definition at line 86 of file xattr.c.

#define EA_NEW   0x0004

Definition at line 85 of file xattr.c.

Function Documentation

ssize_t __jfs_getxattr ( struct inode inode,
const char name,
void data,
size_t  buf_size 
)

Definition at line 933 of file xattr.c.

int __jfs_setxattr ( tid_t  tid,
struct inode inode,
const char name,
const void value,
size_t  value_len,
int  flags 
)

Definition at line 766 of file xattr.c.

ssize_t jfs_getxattr ( struct dentry dentry,
const char name,
void data,
size_t  buf_size 
)

Definition at line 984 of file xattr.c.

ssize_t jfs_listxattr ( struct dentry dentry,
char data,
size_t  buf_size 
)

Definition at line 1017 of file xattr.c.

int jfs_removexattr ( struct dentry dentry,
const char name 
)

Definition at line 1070 of file xattr.c.

int jfs_setxattr ( struct dentry dentry,
const char name,
const void value,
size_t  value_len,
int  flags 
)

Definition at line 905 of file xattr.c.