Lines Matching defs:xfs_acl
19 #include "xfs_acl.h"
37 xfs_acl_from_disk(struct xfs_acl *aclp)
86 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl)
108 struct xfs_acl *xfs_acl;
109 int len = sizeof(struct xfs_acl);
133 xfs_acl = kzalloc(sizeof(struct xfs_acl), GFP_KERNEL);
134 if (!xfs_acl)
137 error = -xfs_attr_get(ip, ea_name, (unsigned char *)xfs_acl,
152 acl = xfs_acl_from_disk(xfs_acl);
159 kfree(xfs_acl);
187 struct xfs_acl *xfs_acl;
190 xfs_acl = kzalloc(sizeof(struct xfs_acl), GFP_KERNEL);
191 if (!xfs_acl)
194 xfs_acl_to_disk(xfs_acl, acl);
195 len = sizeof(struct xfs_acl) -
199 error = -xfs_attr_set(ip, ea_name, (unsigned char *)xfs_acl,
202 kfree(xfs_acl);
269 int len = sizeof(struct xfs_acl);