Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dsmbacl.c374 struct smb_ace **ppace; in parse_dacl() local
413 ppace = kmalloc_array(num_aces, sizeof(struct smb_ace *), GFP_KERNEL); in parse_dacl()
414 if (!ppace) { in parse_dacl()
429 ppace[i] = (struct smb_ace *)(acl_base + acl_size); in parse_dacl()
430 acl_base = (char *)ppace[i]; in parse_dacl()
435 ppace[i]->sid.num_subauth > SID_MAX_SUB_AUTHORITIES || in parse_dacl()
437 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth) || in parse_dacl()
438 (le16_to_cpu(ppace[i]->size) < in parse_dacl()
439 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth)) in parse_dacl()
442 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl()
[all …]
/linux-6.12.1/fs/smb/client/
Dcifsacl.c769 struct smb_ace **ppace; in parse_dacl() local
804 ppace = kmalloc_array(num_aces, sizeof(struct smb_ace *), in parse_dacl()
806 if (!ppace) in parse_dacl()
810 ppace[i] = (struct smb_ace *) (acl_base + acl_size); in parse_dacl()
812 dump_ace(ppace[i], end_of_acl); in parse_dacl()
815 (compare_sids(&(ppace[i]->sid), in parse_dacl()
824 le32_to_cpu(ppace[i]->sid.sub_auth[2]); in parse_dacl()
827 if (compare_sids(&(ppace[i]->sid), pownersid) == 0) { in parse_dacl()
828 access_flags_to_mode(ppace[i]->access_req, in parse_dacl()
829 ppace[i]->type, in parse_dacl()
[all …]