Home
last modified time | relevance | path

Searched refs:num_aces (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dsmbacl.c371 int num_aces = 0; in parse_dacl() local
392 le32_to_cpu(pdacl->num_aces)); in parse_dacl()
397 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl()
398 if (num_aces <= 0) in parse_dacl()
401 if (num_aces > ULONG_MAX / sizeof(struct smb_ace *)) in parse_dacl()
404 ppace = kmalloc_array(num_aces, sizeof(struct smb_ace *), GFP_KERNEL); in parse_dacl()
408 ret = init_acl_state(&acl_state, num_aces); in parse_dacl()
411 ret = init_acl_state(&default_acl_state, num_aces); in parse_dacl()
422 for (i = 0; i < num_aces; ++i) { in parse_dacl()
580 struct smb_fattr *fattr, u32 *num_aces, in set_posix_acl_entries_dacl() argument
[all …]
Dsmbacl.h140 __le32 num_aces; member
/linux-6.1.9/fs/cifs/
Dcifsacl.c761 int num_aces = 0; in parse_dacl() local
783 le32_to_cpu(pdacl->num_aces)); in parse_dacl()
793 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl()
794 if (num_aces > 0) { in parse_dacl()
797 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl()
799 ppace = kmalloc_array(num_aces, sizeof(struct cifs_ace *), in parse_dacl()
804 for (i = 0; i < num_aces; ++i) { in parse_dacl()
934 u32 num_aces = 0; in populate_new_aces() local
945 num_aces = *pnum_aces; in populate_new_aces()
951 num_aces++; in populate_new_aces()
[all …]
Dcifsacl.h80 __le32 num_aces; member