#include "xfs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_da_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_inode.h"
#include "xfs_da_btree.h"
#include "xfs_attr.h"
#include "xfs_acl.h"
#include "xfs_log.h"
#include "xfs_xattr.h"
#include "xfs_quota.h"
#include <linux/posix_acl_xattr.h>
static inline int
xfs_attr_grab_log_assist(
struct xfs_mount *mp)
{ … }
static inline bool
xfs_attr_want_log_assist(
struct xfs_mount *mp)
{ … }
int
xfs_attr_change(
struct xfs_da_args *args,
enum xfs_attr_update op)
{ … }
static int
xfs_xattr_get(const struct xattr_handler *handler, struct dentry *unused,
struct inode *inode, const char *name, void *value, size_t size)
{ … }
static inline enum xfs_attr_update
xfs_xattr_flags_to_op(
int flags,
const void *value)
{ … }
static int
xfs_xattr_set(const struct xattr_handler *handler,
struct mnt_idmap *idmap, struct dentry *unused,
struct inode *inode, const char *name, const void *value,
size_t size, int flags)
{ … }
static const struct xattr_handler xfs_xattr_user_handler = …;
static const struct xattr_handler xfs_xattr_trusted_handler = …;
static const struct xattr_handler xfs_xattr_security_handler = …;
const struct xattr_handler * const xfs_xattr_handlers[] = …;
static void
__xfs_xattr_put_listent(
struct xfs_attr_list_context *context,
char *prefix,
int prefix_len,
unsigned char *name,
int namelen)
{ … }
static void
xfs_xattr_put_listent(
struct xfs_attr_list_context *context,
int flags,
unsigned char *name,
int namelen,
void *value,
int valuelen)
{ … }
ssize_t
xfs_vn_listxattr(
struct dentry *dentry,
char *data,
size_t size)
{ … }