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

Go to the source code of this file.

Data Structures

struct  ocfs2_security_xattr_info
 
struct  ocfs2_xattr_value_buf
 

Enumerations

enum  ocfs2_xattr_type {
  OCFS2_XATTR_INDEX_USER = 1, OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS, OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT, OCFS2_XATTR_INDEX_TRUSTED,
  OCFS2_XATTR_INDEX_SECURITY, OCFS2_XATTR_MAX
}
 

Functions

ssize_t ocfs2_listxattr (struct dentry *, char *, size_t)
 
int ocfs2_xattr_get_nolock (struct inode *, struct buffer_head *, int, const char *, void *, size_t)
 
int ocfs2_xattr_set (struct inode *, int, const char *, const void *, size_t, int)
 
int ocfs2_xattr_set_handle (handle_t *, struct inode *, struct buffer_head *, int, const char *, const void *, size_t, int, struct ocfs2_alloc_context *, struct ocfs2_alloc_context *)
 
int ocfs2_has_inline_xattr_value_outside (struct inode *inode, struct ocfs2_dinode *di)
 
int ocfs2_xattr_remove (struct inode *, struct buffer_head *)
 
int ocfs2_init_security_get (struct inode *, struct inode *, const struct qstr *, struct ocfs2_security_xattr_info *)
 
int ocfs2_init_security_set (handle_t *, struct inode *, struct buffer_head *, struct ocfs2_security_xattr_info *, struct ocfs2_alloc_context *, struct ocfs2_alloc_context *)
 
int ocfs2_calc_security_init (struct inode *, struct ocfs2_security_xattr_info *, int *, int *, struct ocfs2_alloc_context **)
 
int ocfs2_calc_xattr_init (struct inode *, struct buffer_head *, umode_t, struct ocfs2_security_xattr_info *, int *, int *, int *)
 
int ocfs2_xattr_attach_refcount_tree (struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc)
 
int ocfs2_reflink_xattrs (struct inode *old_inode, struct buffer_head *old_bh, struct inode *new_inode, struct buffer_head *new_bh, bool preserve_security)
 
int ocfs2_init_security_and_acl (struct inode *dir, struct inode *inode, const struct qstr *qstr)
 

Variables

struct xattr_handler ocfs2_xattr_user_handler
 
struct xattr_handler ocfs2_xattr_trusted_handler
 
struct xattr_handler ocfs2_xattr_security_handler
 
struct xattr_handler ocfs2_xattr_acl_access_handler
 
struct xattr_handler ocfs2_xattr_acl_default_handler
 
struct xattr_handlerocfs2_xattr_handlers []
 

Enumeration Type Documentation

Enumerator:
OCFS2_XATTR_INDEX_USER 
OCFS2_XATTR_INDEX_POSIX_ACL_ACCESS 
OCFS2_XATTR_INDEX_POSIX_ACL_DEFAULT 
OCFS2_XATTR_INDEX_TRUSTED 
OCFS2_XATTR_INDEX_SECURITY 
OCFS2_XATTR_MAX 

Definition at line 24 of file xattr.h.

Function Documentation

int ocfs2_calc_security_init ( struct inode ,
struct ocfs2_security_xattr_info ,
int ,
int ,
struct ocfs2_alloc_context **   
)

Definition at line 586 of file xattr.c.

int ocfs2_calc_xattr_init ( struct inode ,
struct buffer_head *  ,
umode_t  ,
struct ocfs2_security_xattr_info ,
int ,
int ,
int  
)

Definition at line 624 of file xattr.c.

int ocfs2_has_inline_xattr_value_outside ( struct inode inode,
struct ocfs2_dinode di 
)

Definition at line 939 of file xattr.c.

int ocfs2_init_security_and_acl ( struct inode dir,
struct inode inode,
const struct qstr qstr 
)

Definition at line 7184 of file xattr.c.

int ocfs2_init_security_get ( struct inode ,
struct inode ,
const struct qstr ,
struct ocfs2_security_xattr_info  
)

Definition at line 7265 of file xattr.c.

int ocfs2_init_security_set ( handle_t *  ,
struct inode ,
struct buffer_head *  ,
struct ocfs2_security_xattr_info ,
struct ocfs2_alloc_context ,
struct ocfs2_alloc_context  
)

Definition at line 7282 of file xattr.c.

ssize_t ocfs2_listxattr ( struct dentry ,
char ,
size_t   
)

Definition at line 1010 of file xattr.c.

int ocfs2_reflink_xattrs ( struct inode old_inode,
struct buffer_head *  old_bh,
struct inode new_inode,
struct buffer_head *  new_bh,
bool  preserve_security 
)

Definition at line 7102 of file xattr.c.

int ocfs2_xattr_attach_refcount_tree ( struct inode inode,
struct buffer_head *  fe_bh,
struct ocfs2_caching_info ref_ci,
struct buffer_head *  ref_root_bh,
struct ocfs2_cached_dealloc_ctxt dealloc 
)

Definition at line 6119 of file xattr.c.

int ocfs2_xattr_get_nolock ( struct inode ,
struct buffer_head *  ,
int  ,
const char ,
void ,
size_t   
)

Definition at line 1260 of file xattr.c.

int ocfs2_xattr_remove ( struct inode ,
struct buffer_head *   
)

Definition at line 2539 of file xattr.c.

int ocfs2_xattr_set ( struct inode ,
int  ,
const char ,
const void ,
size_t  ,
int   
)

Definition at line 3504 of file xattr.c.

int ocfs2_xattr_set_handle ( handle_t *  ,
struct inode ,
struct buffer_head *  ,
int  ,
const char ,
const void ,
size_t  ,
int  ,
struct ocfs2_alloc_context ,
struct ocfs2_alloc_context  
)

Definition at line 3421 of file xattr.c.

Variable Documentation

struct xattr_handler ocfs2_xattr_acl_access_handler

Definition at line 496 of file acl.c.

struct xattr_handler ocfs2_xattr_acl_default_handler

Definition at line 504 of file acl.c.

struct xattr_handler* ocfs2_xattr_handlers[]

Definition at line 100 of file xattr.c.

struct xattr_handler ocfs2_xattr_security_handler

Definition at line 7295 of file xattr.c.

struct xattr_handler ocfs2_xattr_trusted_handler

Definition at line 7339 of file xattr.c.

struct xattr_handler ocfs2_xattr_user_handler

Definition at line 7395 of file xattr.c.