Searched refs:pdacl (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/fs/smb/server/ |
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() 1110 struct smb_acl *pdacl; in smb_inherit_dacl() local 1182 pdacl = (struct smb_acl *)((char *)pntsd + le32_to_cpu(pntsd->dacloffset)); in smb_inherit_dacl() [all …]
|
/linux-6.6.21/fs/smb/client/ |
D | cifsacl.c | 761 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl() argument 773 if (!pdacl) { in parse_dacl() 781 if (end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl() 787 le16_to_cpu(pdacl->revision), le16_to_cpu(pdacl->size), in parse_dacl() 788 le32_to_cpu(pdacl->num_aces)); in parse_dacl() 795 acl_base = (char *)pdacl; in parse_dacl() 798 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl() 1037 static __u16 replace_sids_and_copy_aces(struct cifs_acl *pdacl, struct cifs_acl *pndacl, in replace_sids_and_copy_aces() argument 1051 acl_base = (char *)pdacl; in replace_sids_and_copy_aces() 1053 src_num_aces = le32_to_cpu(pdacl->num_aces); in replace_sids_and_copy_aces() [all …]
|