Searched refs:cifs_ace (Results 1 – 4 of 4) sorted by relevance
798 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid()827 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace()871 struct cifs_ace **ppace; in parse_dacl()906 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl()908 ppace = kmalloc(num_aces * sizeof(struct cifs_ace *), in parse_dacl()916 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()965 size += fill_ace_for_sid((struct cifs_ace *) ((char *)pnndacl + size), in set_chmod_dacl()967 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()969 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()
73 struct cifs_ace { struct
145 struct cifs_ace *aces;
3350 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() argument3353 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()3354 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()3355 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace()3417 static __u16 convert_ace_to_cifs_ace(struct cifs_posix_ace *cifs_ace, in convert_ace_to_cifs_ace() argument3422 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()3423 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()3427 cifs_ace->cifs_uid = cpu_to_le64(-1); in convert_ace_to_cifs_ace()3429 cifs_ace->cifs_uid = cpu_to_le64(le32_to_cpu(local_ace->e_id)); in convert_ace_to_cifs_ace()