Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xattr.c File Reference
#include <linux/fs.h>
#include <linux/posix_acl_xattr.h>
#include <linux/slab.h>
#include <linux/xattr.h>
#include "cifsfs.h"
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_debug.h"

Go to the source code of this file.

Macros

#define MAX_EA_VALUE_SIZE   65535
 
#define CIFS_XATTR_DOS_ATTRIB   "user.DosAttrib"
 
#define CIFS_XATTR_CIFS_ACL   "system.cifs_acl"
 

Functions

int cifs_removexattr (struct dentry *direntry, const char *ea_name)
 
int cifs_setxattr (struct dentry *direntry, const char *ea_name, const void *ea_value, size_t value_size, int flags)
 
ssize_t cifs_getxattr (struct dentry *direntry, const char *ea_name, void *ea_value, size_t buf_size)
 
ssize_t cifs_listxattr (struct dentry *direntry, char *data, size_t buf_size)
 

Macro Definition Documentation

#define CIFS_XATTR_CIFS_ACL   "system.cifs_acl"

Definition at line 34 of file xattr.c.

#define CIFS_XATTR_DOS_ATTRIB   "user.DosAttrib"

Definition at line 33 of file xattr.c.

#define MAX_EA_VALUE_SIZE   65535

Definition at line 32 of file xattr.c.

Function Documentation

ssize_t cifs_getxattr ( struct dentry direntry,
const char ea_name,
void ea_value,
size_t  buf_size 
)

Definition at line 230 of file xattr.c.

ssize_t cifs_listxattr ( struct dentry direntry,
char data,
size_t  buf_size 
)

Definition at line 364 of file xattr.c.

int cifs_removexattr ( struct dentry direntry,
const char ea_name 
)

Definition at line 38 of file xattr.c.

int cifs_setxattr ( struct dentry direntry,
const char ea_name,
const void ea_value,
size_t  value_size,
int  flags 
)

Definition at line 97 of file xattr.c.