Lines Matching refs:cifs_ace
664 static __u16 cifs_copy_ace(struct cifs_ace *dst, struct cifs_ace *src, struct cifs_sid *psid) in cifs_copy_ace()
683 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid()
721 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace()
764 struct cifs_ace **ppace; 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()
805 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()
859 unsigned int setup_authusers_ACE(struct cifs_ace *pntace) in setup_authusers_ACE()
883 unsigned int setup_special_mode_ACE(struct cifs_ace *pntace, __u64 nmode) in setup_special_mode_ACE()
905 unsigned int setup_special_user_owner_ACE(struct cifs_ace *pntace) in setup_special_user_owner_ACE()
942 struct cifs_ace *pnntace = NULL; in populate_new_aces()
949 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
952 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
990 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
998 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
1004 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
1011 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
1017 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
1022 pnntace = (struct cifs_ace *) (nacl_base + nsize); in populate_new_aces()
1038 struct cifs_ace *pntace = NULL; in replace_sids_and_copy_aces()
1042 struct cifs_ace *pnntace = NULL; in replace_sids_and_copy_aces()
1055 pntace = (struct cifs_ace *) (acl_base + size); in replace_sids_and_copy_aces()
1056 pnntace = (struct cifs_ace *) (nacl_base + nsize); in replace_sids_and_copy_aces()
1078 struct cifs_ace *pntace = NULL; in set_chmod_dacl()
1082 struct cifs_ace *pnntace = NULL; in set_chmod_dacl()
1106 pntace = (struct cifs_ace *) (acl_base + size); in set_chmod_dacl()
1128 pnntace = (struct cifs_ace *) (nacl_base + nsize); in set_chmod_dacl()
1621 nsecdesclen += 2 * sizeof(struct cifs_ace); in id_mode_to_cifs_acl()
1623 nsecdesclen += 5 * sizeof(struct cifs_ace); in id_mode_to_cifs_acl()
1632 le32_to_cpu(dacl_ptr->num_aces) * sizeof(struct cifs_ace); in id_mode_to_cifs_acl()