Home
last modified time | relevance | path

Searched refs:cifs_ace (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/cifs/
Dcifsacl.h48 (sizeof(struct cifs_ace) * 3))
93 struct cifs_ace { struct
Dcifsacl.c640 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid()
669 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace()
713 struct cifs_ace **ppace; in parse_dacl()
748 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl()
750 ppace = kmalloc_array(num_aces, sizeof(struct cifs_ace *), in parse_dacl()
756 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()
805 size += fill_ace_for_sid((struct cifs_ace *) ((char *)pnndacl + size), in set_chmod_dacl()
807 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()
809 size += fill_ace_for_sid((struct cifs_ace *)((char *)pnndacl + size), in set_chmod_dacl()
Dcifssmb.c3432 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() argument
3435 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()
3436 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()
3437 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace()
3504 static __u16 convert_ace_to_cifs_ace(struct cifs_posix_ace *cifs_ace, in convert_ace_to_cifs_ace() argument
3509 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()
3510 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()
3514 cifs_ace->cifs_uid = cpu_to_le64(-1); in convert_ace_to_cifs_ace()
3516 cifs_ace->cifs_uid = cpu_to_le64(le32_to_cpu(local_ace->e_id)); in convert_ace_to_cifs_ace()
Dcifsglob.h166 struct cifs_ace *aces;