Home
last modified time | relevance | path

Searched refs:end_of_acl (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/cifs/
Dcifsacl.c721 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace() argument
732 if (end_of_acl < (char *)pace + le16_to_cpu(pace->size)) { in dump_ace()
756 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl() argument
776 if (end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl()
807 dump_ace(ppace[i], end_of_acl); in parse_dacl()
1154 static int parse_sid(struct cifs_sid *psid, char *end_of_acl) in parse_sid() argument
1160 if (end_of_acl < (char *)psid + 8) { in parse_sid()
1195 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc() local
1212 rc = parse_sid(owner_sid_ptr, end_of_acl); in parse_sec_desc()
1224 rc = parse_sid(group_sid_ptr, end_of_acl); in parse_sec_desc()
[all …]
/linux-6.1.9/fs/ksmbd/
Dsmbacl.c366 struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() argument
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()
423 if (end_of_acl - acl_base < acl_size) in parse_dacl()
431 if (end_of_acl - acl_base < acl_size || in parse_dacl()
433 (end_of_acl - acl_base < in parse_dacl()
796 static int parse_sid(struct smb_sid *psid, char *end_of_acl) in parse_sid() argument
802 if (end_of_acl < (char *)psid + 8) { in parse_sid()
817 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc() local
848 rc = parse_sid(owner_sid_ptr, end_of_acl); in parse_sec_desc()
[all …]