Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
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()
712 struct cifs_ace **ppace; in parse_dacl()
747 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl()
749 ppace = kmalloc_array(num_aces, sizeof(struct cifs_ace *), in parse_dacl()
755 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()
807 unsigned int setup_authusers_ACE(struct cifs_ace *pntace) in setup_authusers_ACE()
831 unsigned int setup_special_mode_ACE(struct cifs_ace *pntace, __u64 nmode) in setup_special_mode_ACE()
853 unsigned int setup_special_user_owner_ACE(struct cifs_ace *pntace) in setup_special_user_owner_ACE()
885 struct cifs_ace *pntace = in set_chmod_dacl()
[all …]
Dcifsacl.h48 (sizeof(struct cifs_ace) * 4))
124 struct cifs_ace { struct
Dcifsproto.h226 extern unsigned int setup_authusers_ACE(struct cifs_ace *pace);
227 extern unsigned int setup_special_mode_ACE(struct cifs_ace *pace, __u64 nmode);
228 extern unsigned int setup_special_user_owner_ACE(struct cifs_ace *pace);
Dcifssmb.c3419 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() argument
3422 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()
3423 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()
3424 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace()
3491 static void convert_ace_to_cifs_ace(struct cifs_posix_ace *cifs_ace, in convert_ace_to_cifs_ace() argument
3494 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()
3495 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()
3499 cifs_ace->cifs_uid = cpu_to_le64(-1); in convert_ace_to_cifs_ace()
3501 cifs_ace->cifs_uid = cpu_to_le64(le32_to_cpu(local_ace->e_id)); in convert_ace_to_cifs_ace()
Dsmb2pdu.c2299 *len = roundup(sizeof(struct crt_sd_ctxt) + (sizeof(struct cifs_ace) * 4), 8); in create_sd_buf()
2348 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode); in create_sd_buf()
2355 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr); in create_sd_buf()
2362 acelen = setup_authusers_ACE((struct cifs_ace *)ptr); in create_sd_buf()
Dcifsglob.h176 struct cifs_ace *aces;