Lines Matching defs:inode
16 struct inode *inode, int type, bool rcu)
26 if (fuse_is_bad(inode))
42 size = fuse_getxattr(inode, name, value, PAGE_SIZE);
58 const struct inode *inode)
65 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns);
71 struct inode *inode = d_inode(dentry);
72 struct fuse_conn *fc = get_fuse_conn(inode);
74 if (fuse_no_acl(fc, inode))
77 return __fuse_get_acl(fc, idmap, inode, type, false);
80 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu)
82 struct fuse_conn *fc = get_fuse_conn(inode);
94 return __fuse_get_acl(fc, &nop_mnt_idmap, inode, type, rcu);
100 struct inode *inode = d_inode(dentry);
101 struct fuse_conn *fc = get_fuse_conn(inode);
105 if (fuse_is_bad(inode))
108 if (fc->no_setxattr || fuse_no_acl(fc, inode))
122 * permissions in the inode, if needed. fuse_setxattr
123 * invalidates the inode attributes, which will force
149 !vfsgid_in_group_p(i_gid_into_vfsgid(&nop_mnt_idmap, inode)) &&
150 !capable_wrt_inode_uidgid(&nop_mnt_idmap, inode, CAP_FSETID))
153 ret = fuse_setxattr(inode, name, value, size, 0, extra_flags);
156 ret = fuse_removexattr(inode, name);
164 forget_all_cached_acls(inode);
165 fuse_invalidate_attr(inode);