Lines Matching refs:aces_size
695 unsigned int aces_size, in set_ntacl_dacl() argument
711 if (offsetof(struct smb_ace, access_req) > aces_size) in set_ntacl_dacl()
715 if (nt_ace_size > aces_size) in set_ntacl_dacl()
720 aces_size -= nt_ace_size; in set_ntacl_dacl()
1007 int rc = 0, num_aces, dacloffset, pntsd_type, pntsd_size, acl_len, aces_size; in smb_inherit_dacl() local
1041 aces_size = acl_len - sizeof(struct smb_acl); in smb_inherit_dacl()
1049 if (offsetof(struct smb_ace, access_req) > aces_size) in smb_inherit_dacl()
1053 if (pace_size > aces_size) in smb_inherit_dacl()
1056 aces_size -= pace_size; in smb_inherit_dacl()
1196 int rc = 0, pntsd_size, acl_size, aces_size, pdacl_size, dacl_offset; in smb_check_perm_dacl() local
1239 aces_size = acl_size - sizeof(struct smb_acl); in smb_check_perm_dacl()
1241 if (offsetof(struct smb_ace, access_req) > aces_size) in smb_check_perm_dacl()
1244 if (ace_size > aces_size) in smb_check_perm_dacl()
1246 aces_size -= ace_size; in smb_check_perm_dacl()
1260 aces_size = acl_size - sizeof(struct smb_acl); in smb_check_perm_dacl()
1262 if (offsetof(struct smb_ace, access_req) > aces_size) in smb_check_perm_dacl()
1265 if (ace_size > aces_size) in smb_check_perm_dacl()
1267 aces_size -= ace_size; in smb_check_perm_dacl()