Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
xfs_attr.h File Reference

Go to the source code of this file.

Data Structures

struct  attrlist
 
struct  attrlist_ent
 
struct  attrlist_cursor_kern
 
struct  xfs_attr_list_context
 

Macros

#define ATTR_DONTFOLLOW   0x0001 /* -- unused, from IRIX -- */
 
#define ATTR_ROOT   0x0002 /* use attrs in root (trusted) namespace */
 
#define ATTR_TRUST   0x0004 /* -- unused, from IRIX -- */
 
#define ATTR_SECURE   0x0008 /* use attrs in security namespace */
 
#define ATTR_CREATE   0x0010 /* pure create: fail if attr already exists */
 
#define ATTR_REPLACE   0x0020 /* pure set: fail if attr does not exist */
 
#define ATTR_KERNOTIME   0x1000 /* [kernel] don't update inode timestamps */
 
#define ATTR_KERNOVAL   0x2000 /* [kernel] get attr size only, not value */
 
#define XFS_ATTR_FLAGS
 
#define ATTR_MAX_VALUELEN   (64*1024) /* max length of a value */
 
#define ATTR_ENTRY(buffer, index)
 

Typedefs

typedef struct attrlist attrlist_t
 
typedef struct attrlist_ent attrlist_ent_t
 
typedef struct attrlist_cursor_kern attrlist_cursor_kern_t
 
typedef int(* put_listent_func_t )(struct xfs_attr_list_context *, int, unsigned char *, int, int, unsigned char *)
 
typedef struct
xfs_attr_list_context 
xfs_attr_list_context_t
 

Functions

int xfs_attr_inactive (struct xfs_inode *dp)
 
int xfs_attr_rmtval_get (struct xfs_da_args *args)
 
int xfs_attr_list_int (struct xfs_attr_list_context *)
 

Macro Definition Documentation

#define ATTR_CREATE   0x0010 /* pure create: fail if attr already exists */

Definition at line 45 of file xfs_attr.h.

#define ATTR_DONTFOLLOW   0x0001 /* -- unused, from IRIX -- */

Definition at line 41 of file xfs_attr.h.

#define ATTR_ENTRY (   buffer,
  index 
)
Value:
&((char *)buffer)[ ((attrlist_t *)(buffer))->al_offset[index] ])

Definition at line 93 of file xfs_attr.h.

#define ATTR_KERNOTIME   0x1000 /* [kernel] don't update inode timestamps */

Definition at line 48 of file xfs_attr.h.

#define ATTR_KERNOVAL   0x2000 /* [kernel] get attr size only, not value */

Definition at line 49 of file xfs_attr.h.

#define ATTR_MAX_VALUELEN   (64*1024) /* max length of a value */

Definition at line 66 of file xfs_attr.h.

#define ATTR_REPLACE   0x0020 /* pure set: fail if attr does not exist */

Definition at line 46 of file xfs_attr.h.

#define ATTR_ROOT   0x0002 /* use attrs in root (trusted) namespace */

Definition at line 42 of file xfs_attr.h.

#define ATTR_SECURE   0x0008 /* use attrs in security namespace */

Definition at line 44 of file xfs_attr.h.

#define ATTR_TRUST   0x0004 /* -- unused, from IRIX -- */

Definition at line 43 of file xfs_attr.h.

#define XFS_ATTR_FLAGS
Value:
{ ATTR_DONTFOLLOW, "DONTFOLLOW" }, \
{ ATTR_ROOT, "ROOT" }, \
{ ATTR_TRUST, "TRUST" }, \
{ ATTR_SECURE, "SECURE" }, \
{ ATTR_CREATE, "CREATE" }, \
{ ATTR_REPLACE, "REPLACE" }, \
{ ATTR_KERNOTIME, "KERNOTIME" }, \
{ ATTR_KERNOVAL, "KERNOVAL" }

Definition at line 51 of file xfs_attr.h.

Typedef Documentation

typedef int(* put_listent_func_t)(struct xfs_attr_list_context *, int, unsigned char *, int, int, unsigned char *)

Definition at line 115 of file xfs_attr.h.

Function Documentation

int xfs_attr_inactive ( struct xfs_inode *  dp)
int xfs_attr_list_int ( struct xfs_attr_list_context )

Definition at line 619 of file xfs_attr.c.

int xfs_attr_rmtval_get ( struct xfs_da_args args)

Definition at line 1952 of file xfs_attr.c.