#include <linux/f2fs_fs.h>
#include "f2fs.h"
#include "xattr.h"
#include "acl.h"
static inline size_t f2fs_acl_size(int count)
{ … }
static inline int f2fs_acl_count(size_t size)
{ … }
static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size)
{ … }
static void *f2fs_acl_to_disk(struct f2fs_sb_info *sbi,
const struct posix_acl *acl, size_t *size)
{ … }
static struct posix_acl *__f2fs_get_acl(struct inode *inode, int type,
struct page *dpage)
{ … }
struct posix_acl *f2fs_get_acl(struct inode *inode, int type, bool rcu)
{ … }
static int f2fs_acl_update_mode(struct mnt_idmap *idmap,
struct inode *inode, umode_t *mode_p,
struct posix_acl **acl)
{ … }
static int __f2fs_set_acl(struct mnt_idmap *idmap,
struct inode *inode, int type,
struct posix_acl *acl, struct page *ipage)
{ … }
int f2fs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
struct posix_acl *acl, int type)
{ … }
static struct posix_acl *f2fs_acl_clone(const struct posix_acl *acl,
gfp_t flags)
{ … }
static int f2fs_acl_create_masq(struct posix_acl *acl, umode_t *mode_p)
{ … }
static int f2fs_acl_create(struct inode *dir, umode_t *mode,
struct posix_acl **default_acl, struct posix_acl **acl,
struct page *dpage)
{ … }
int f2fs_init_acl(struct inode *inode, struct inode *dir, struct page *ipage,
struct page *dpage)
{ … }