Searched refs:cifs_ace (Results 1 – 4 of 4) sorted by relevance
265 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid()294 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace()338 struct cifs_ace **ppace; in parse_dacl()373 ppace = kmalloc(num_aces * sizeof(struct cifs_ace *), in parse_dacl()381 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()430 size += fill_ace_for_sid((struct cifs_ace *) ((char *)pnndacl + size), in set_chmod_dacl()432 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()434 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()
64 struct cifs_ace { struct
148 struct cifs_ace *aces;
2627 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() argument2630 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()2631 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()2632 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace()2694 static __u16 convert_ace_to_cifs_ace(struct cifs_posix_ace *cifs_ace, in convert_ace_to_cifs_ace() argument2699 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()2700 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()2704 cifs_ace->cifs_uid = cpu_to_le64(-1); in convert_ace_to_cifs_ace()2706 cifs_ace->cifs_uid = cpu_to_le64(le32_to_cpu(local_ace->e_id)); in convert_ace_to_cifs_ace()