Searched refs:pdacl (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/fs/ksmbd/ |
D | smbacl.c | 366 struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() argument 380 if (!pdacl) in parse_dacl() 384 if (end_of_acl < (char *)pdacl + sizeof(struct smb_acl) || in parse_dacl() 385 end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl() 391 le16_to_cpu(pdacl->revision), le16_to_cpu(pdacl->size), in parse_dacl() 392 le32_to_cpu(pdacl->num_aces)); in parse_dacl() 394 acl_base = (char *)pdacl; in parse_dacl() 397 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl() 1107 struct smb_acl *pdacl; in smb_inherit_dacl() local 1156 pdacl = (struct smb_acl *)((char *)pntsd + le32_to_cpu(pntsd->dacloffset)); in smb_inherit_dacl() [all …]
|
/Linux-v6.1/fs/cifs/ |
D | cifsacl.c | 756 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl() argument 768 if (!pdacl) { in parse_dacl() 776 if (end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl() 782 le16_to_cpu(pdacl->revision), le16_to_cpu(pdacl->size), in parse_dacl() 783 le32_to_cpu(pdacl->num_aces)); in parse_dacl() 790 acl_base = (char *)pdacl; in parse_dacl() 793 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl() 1032 static __u16 replace_sids_and_copy_aces(struct cifs_acl *pdacl, struct cifs_acl *pndacl, in replace_sids_and_copy_aces() argument 1046 acl_base = (char *)pdacl; in replace_sids_and_copy_aces() 1048 src_num_aces = le32_to_cpu(pdacl->num_aces); in replace_sids_and_copy_aces() [all …]
|