Lines Matching full:fc
14 static struct posix_acl *__fuse_get_acl(struct fuse_conn *fc, in __fuse_get_acl() argument
29 if (fc->no_getxattr) in __fuse_get_acl()
44 acl = posix_acl_from_xattr(fc->user_ns, value, size); in __fuse_get_acl()
46 (size == -EOPNOTSUPP && fc->no_getxattr)) in __fuse_get_acl()
57 static inline bool fuse_no_acl(const struct fuse_conn *fc, in fuse_no_acl() argument
65 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns); in fuse_no_acl()
72 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_acl() local
74 if (fuse_no_acl(fc, inode)) in fuse_get_acl()
77 return __fuse_get_acl(fc, idmap, inode, type, false); in fuse_get_acl()
82 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_inode_acl() local
91 if (!fc->posix_acl) in fuse_get_inode_acl()
94 return __fuse_get_acl(fc, &nop_mnt_idmap, inode, type, rcu); in fuse_get_inode_acl()
101 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_set_acl() local
108 if (fc->no_setxattr || fuse_no_acl(fc, inode)) in fuse_set_acl()
137 ret = posix_acl_to_xattr(fc->user_ns, acl, value, size); in fuse_set_acl()
148 if (fc->posix_acl && in fuse_set_acl()
159 if (fc->posix_acl) { in fuse_set_acl()