Searched refs:cifs_ace (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/fs/smb/client/ |
D | cifsacl.c | 669 static __u16 cifs_copy_ace(struct cifs_ace *dst, struct cifs_ace *src, struct cifs_sid *psid) in cifs_copy_ace() 688 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid() 726 static void dump_ace(struct cifs_ace *pace, char *end_of_acl) in dump_ace() 769 struct cifs_ace **ppace; in parse_dacl() 802 if (num_aces > ULONG_MAX / sizeof(struct cifs_ace *)) in parse_dacl() 804 ppace = kmalloc_array(num_aces, sizeof(struct cifs_ace *), in parse_dacl() 810 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl() 864 unsigned int setup_authusers_ACE(struct cifs_ace *pntace) in setup_authusers_ACE() 888 unsigned int setup_special_mode_ACE(struct cifs_ace *pntace, __u64 nmode) in setup_special_mode_ACE() 910 unsigned int setup_special_user_owner_ACE(struct cifs_ace *pntace) in setup_special_user_owner_ACE() [all …]
|
D | cifsacl.h | 38 (sizeof(struct cifs_ace) * 4)) 114 struct cifs_ace { struct
|
D | cifsproto.h | 242 extern unsigned int setup_authusers_ACE(struct cifs_ace *pace); 243 extern unsigned int setup_special_mode_ACE(struct cifs_ace *pace, __u64 nmode); 244 extern unsigned int setup_special_user_owner_ACE(struct cifs_ace *pace);
|
D | cifssmb.c | 2858 struct cifs_posix_ace *cifs_ace) in cifs_init_posix_acl() argument 2861 ace->e_perm = cifs_ace->cifs_e_perm; in cifs_init_posix_acl() 2862 ace->e_tag = cifs_ace->cifs_e_tag; in cifs_init_posix_acl() 2867 le64_to_cpu(cifs_ace->cifs_uid)); in cifs_init_posix_acl() 2871 le64_to_cpu(cifs_ace->cifs_uid)); in cifs_init_posix_acl() 2947 static void cifs_init_ace(struct cifs_posix_ace *cifs_ace, in cifs_init_ace() argument 2950 cifs_ace->cifs_e_perm = local_ace->e_perm; in cifs_init_ace() 2951 cifs_ace->cifs_e_tag = local_ace->e_tag; in cifs_init_ace() 2955 cifs_ace->cifs_uid = in cifs_init_ace() 2959 cifs_ace->cifs_uid = in cifs_init_ace() [all …]
|
D | smb2pdu.c | 2585 *len = round_up(sizeof(struct crt_sd_ctxt) + (sizeof(struct cifs_ace) * 4), 8); in create_sd_buf() 2634 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode); in create_sd_buf() 2641 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr); in create_sd_buf() 2648 acelen = setup_authusers_ACE((struct cifs_ace *)ptr); in create_sd_buf()
|
D | cifsglob.h | 185 struct cifs_ace *aces;
|