#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/xattr.h>
#include "internal.h"
static void afs_acl_success(struct afs_operation *op)
{ … }
static void afs_acl_put(struct afs_operation *op)
{ … }
static const struct afs_operation_ops afs_fetch_acl_operation = …;
static int afs_xattr_get_acl(const struct xattr_handler *handler,
struct dentry *dentry,
struct inode *inode, const char *name,
void *buffer, size_t size)
{ … }
static bool afs_make_acl(struct afs_operation *op,
const void *buffer, size_t size)
{ … }
static const struct afs_operation_ops afs_store_acl_operation = …;
static int afs_xattr_set_acl(const struct xattr_handler *handler,
struct mnt_idmap *idmap,
struct dentry *dentry,
struct inode *inode, const char *name,
const void *buffer, size_t size, int flags)
{ … }
static const struct xattr_handler afs_xattr_afs_acl_handler = …;
static const struct afs_operation_ops yfs_fetch_opaque_acl_operation = …;
static int afs_xattr_get_yfs(const struct xattr_handler *handler,
struct dentry *dentry,
struct inode *inode, const char *name,
void *buffer, size_t size)
{ … }
static const struct afs_operation_ops yfs_store_opaque_acl2_operation = …;
static int afs_xattr_set_yfs(const struct xattr_handler *handler,
struct mnt_idmap *idmap,
struct dentry *dentry,
struct inode *inode, const char *name,
const void *buffer, size_t size, int flags)
{ … }
static const struct xattr_handler afs_xattr_yfs_handler = …;
static int afs_xattr_get_cell(const struct xattr_handler *handler,
struct dentry *dentry,
struct inode *inode, const char *name,
void *buffer, size_t size)
{ … }
static const struct xattr_handler afs_xattr_afs_cell_handler = …;
static int afs_xattr_get_fid(const struct xattr_handler *handler,
struct dentry *dentry,
struct inode *inode, const char *name,
void *buffer, size_t size)
{ … }
static const struct xattr_handler afs_xattr_afs_fid_handler = …;
static int afs_xattr_get_volume(const struct xattr_handler *handler,
struct dentry *dentry,
struct inode *inode, const char *name,
void *buffer, size_t size)
{ … }
static const struct xattr_handler afs_xattr_afs_volume_handler = …;
const struct xattr_handler * const afs_xattr_handlers[] = …;