Searched refs:cifs_ace (Results 1 – 4 of 4) sorted by relevance
48 (sizeof(struct cifs_ace) * 3))93 struct cifs_ace { struct
517 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid()546 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace()590 struct cifs_ace **ppace; in parse_dacl()625 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl()627 ppace = kmalloc(num_aces * sizeof(struct cifs_ace *), in parse_dacl()633 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()682 size += fill_ace_for_sid((struct cifs_ace *) ((char *)pnndacl + size), in set_chmod_dacl()684 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()686 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()
3378 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() argument3381 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()3382 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()3383 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace()3448 static __u16 convert_ace_to_cifs_ace(struct cifs_posix_ace *cifs_ace, in convert_ace_to_cifs_ace() argument3453 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()3454 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()3458 cifs_ace->cifs_uid = cpu_to_le64(-1); in convert_ace_to_cifs_ace()3460 cifs_ace->cifs_uid = cpu_to_le64(le32_to_cpu(local_ace->e_id)); in convert_ace_to_cifs_ace()
144 struct cifs_ace *aces;