Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nfs3acl.c File Reference
#include <linux/fs.h>
#include <linux/gfp.h>
#include <linux/nfs.h>
#include <linux/nfs3.h>
#include <linux/nfs_fs.h>
#include <linux/posix_acl_xattr.h>
#include <linux/nfsacl.h>
#include "internal.h"

Go to the source code of this file.


#define output(s)


ssize_t nfs3_listxattr (struct dentry *dentry, char *buffer, size_t size)
ssize_t nfs3_getxattr (struct dentry *dentry, const char *name, void *buffer, size_t size)
int nfs3_setxattr (struct dentry *dentry, const char *name, const void *value, size_t size, int flags)
int nfs3_removexattr (struct dentry *dentry, const char *name)
void nfs3_forget_cached_acls (struct inode *inode)
struct posix_aclnfs3_proc_getacl (struct inode *inode, int type)
int nfs3_proc_setacl (struct inode *inode, int type, struct posix_acl *acl)
int nfs3_proc_set_default_acl (struct inode *dir, struct inode *inode, umode_t mode)

Macro Definition Documentation


Definition at line 11 of file nfs3acl.c.

#define output (   s)
do { \
if (pos + sizeof(s) <= size) { \
memcpy(buffer + pos, s, sizeof(s)); \
pos += sizeof(s); \
} \
len += sizeof(s); \
} while(0)

Function Documentation

void nfs3_forget_cached_acls ( struct inode inode)

Definition at line 131 of file nfs3acl.c.

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

Definition at line 52 of file nfs3acl.c.

ssize_t nfs3_listxattr ( struct dentry dentry,
char buffer,
size_t  size 

Definition at line 13 of file nfs3acl.c.

struct posix_acl* nfs3_proc_getacl ( struct inode inode,
int  type 

Definition at line 185 of file nfs3acl.c.

int nfs3_proc_set_default_acl ( struct inode dir,
struct inode inode,
umode_t  mode 

Definition at line 417 of file nfs3acl.c.

int nfs3_proc_setacl ( struct inode inode,
int  type,
struct posix_acl acl 

Definition at line 376 of file nfs3acl.c.

int nfs3_removexattr ( struct dentry dentry,
const char name 

Definition at line 104 of file nfs3acl.c.

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

Definition at line 81 of file nfs3acl.c.