Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsacl.c664 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()
[all …]
Dcifsacl.h38 (sizeof(struct cifs_ace) * 4))
114 struct cifs_ace { struct
Dcifsproto.h229 extern unsigned int setup_authusers_ACE(struct cifs_ace *pace);
230 extern unsigned int setup_special_mode_ACE(struct cifs_ace *pace, __u64 nmode);
231 extern unsigned int setup_special_user_owner_ACE(struct cifs_ace *pace);
Dcifssmb.c2919 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() argument
2922 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()
2923 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()
2924 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace()
2991 static void convert_ace_to_cifs_ace(struct cifs_posix_ace *cifs_ace, in convert_ace_to_cifs_ace() argument
2994 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()
2995 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()
2999 cifs_ace->cifs_uid = cpu_to_le64(-1); in convert_ace_to_cifs_ace()
3001 cifs_ace->cifs_uid = cpu_to_le64(le32_to_cpu(local_ace->e_id)); in convert_ace_to_cifs_ace()
Dsmb2pdu.c2431 *len = round_up(sizeof(struct crt_sd_ctxt) + (sizeof(struct cifs_ace) * 4), 8); in create_sd_buf()
2480 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode); in create_sd_buf()
2487 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr); in create_sd_buf()
2494 acelen = setup_authusers_ACE((struct cifs_ace *)ptr); in create_sd_buf()
Dcifsglob.h187 struct cifs_ace *aces;