Lines Matching refs:acl
24 kfree(op->acl); in afs_acl_put()
43 struct afs_acl *acl = NULL; in afs_xattr_get_acl() local
55 acl = op->acl; in afs_xattr_get_acl()
56 op->acl = NULL; in afs_xattr_get_acl()
60 ret = acl->size; in afs_xattr_get_acl()
62 if (acl->size <= size) in afs_xattr_get_acl()
63 memcpy(buffer, acl->data, acl->size); in afs_xattr_get_acl()
69 kfree(acl); in afs_xattr_get_acl()
76 struct afs_acl *acl; in afs_make_acl() local
78 acl = kmalloc(sizeof(*acl) + size, GFP_KERNEL); in afs_make_acl()
79 if (!acl) { in afs_make_acl()
84 acl->size = size; in afs_make_acl()
85 memcpy(acl->data, buffer, size); in afs_make_acl()
86 op->acl = acl; in afs_make_acl()
183 data = yacl->acl->data; in afs_xattr_get_yfs()
184 dsize = yacl->acl->size; in afs_xattr_get_yfs()