Lines Matching refs:num_aces
709 int num_aces = 0; in parse_dacl() local
731 le32_to_cpu(pdacl->num_aces)); in parse_dacl()
741 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl()
742 if (num_aces > 0) { in parse_dacl()
747 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl()
749 ppace = kmalloc_array(num_aces, sizeof(struct cifs_ace *), in parse_dacl()
754 for (i = 0; i < num_aces; ++i) { in parse_dacl()
879 u32 num_aces = 0; in set_chmod_dacl() local
889 num_aces++; in set_chmod_dacl()
894 num_aces++; in set_chmod_dacl()
897 num_aces++; in set_chmod_dacl()
900 num_aces++; in set_chmod_dacl()
902 pndacl->num_aces = cpu_to_le32(num_aces); in set_chmod_dacl()
1026 ndacl_ptr->num_aces = 0; in build_sec_desc()