Lines Matching refs:aces_size
698 unsigned int aces_size, in set_ntacl_dacl() argument
714 if (offsetof(struct smb_ace, access_req) > aces_size) in set_ntacl_dacl()
718 if (nt_ace_size > aces_size) in set_ntacl_dacl()
723 aces_size -= nt_ace_size; in set_ntacl_dacl()
1010 int rc = 0, num_aces, dacloffset, pntsd_type, pntsd_size, acl_len, aces_size; in smb_inherit_dacl() local
1044 aces_size = acl_len - sizeof(struct smb_acl); in smb_inherit_dacl()
1052 if (offsetof(struct smb_ace, access_req) > aces_size) in smb_inherit_dacl()
1056 if (pace_size > aces_size) in smb_inherit_dacl()
1059 aces_size -= pace_size; in smb_inherit_dacl()
1222 int rc = 0, pntsd_size, acl_size, aces_size, pdacl_size, dacl_offset; in smb_check_perm_dacl() local
1265 aces_size = acl_size - sizeof(struct smb_acl); in smb_check_perm_dacl()
1267 if (offsetof(struct smb_ace, access_req) > aces_size) in smb_check_perm_dacl()
1270 if (ace_size > aces_size) in smb_check_perm_dacl()
1272 aces_size -= ace_size; in smb_check_perm_dacl()
1286 aces_size = acl_size - sizeof(struct smb_acl); in smb_check_perm_dacl()
1288 if (offsetof(struct smb_ace, access_req) > aces_size) in smb_check_perm_dacl()
1291 if (ace_size > aces_size) in smb_check_perm_dacl()
1293 aces_size -= ace_size; in smb_check_perm_dacl()