Lines Matching defs:acl
2879 * @acl: ACLs returned in POSIX ACL format
2885 * If @acl is NULL then the size of the buffer required to store POSIX ACLs in
2888 static int cifs_to_posix_acl(struct posix_acl **acl, char *src,
2938 *acl = kacl;
2970 * @acl: ACLs in POSIX ACL format to convert from
2971 * @acl_type: the type of POSIX ACLs stored in @acl
2975 static __u16 posix_acl_to_cifs(char *parm_data, const struct posix_acl *acl,
2984 if ((acl == NULL) || (cifs_acl == NULL))
2987 count = acl->a_count;
2988 cifs_dbg(FYI, "setting acl with %d entries\n", count);
3008 FOREACH_ACL_ENTRY(pa, acl, pe) {
3020 const unsigned char *searchName, struct posix_acl **acl,
3094 rc = cifs_to_posix_acl(acl,
3102 * allocated @acl in cifs_to_posix_acl() we are guaranteed to return
3111 const unsigned char *fileName, const struct posix_acl *acl,
3154 data_count = posix_acl_to_cifs(parm_data, acl, acl_type);
3186 const unsigned char *searchName, struct posix_acl **acl,
3194 const unsigned char *fileName, const struct posix_acl *acl,
3440 cifs_dbg(VFS, "acl length %d does not match %d\n",
3446 /* check if buffer is big enough for the acl
3450 cifs_dbg(VFS, "bad acl length %d\n", *pbuflen);