Searched refs:cifs_ace (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-6.6/fs/smb/client/ |
H A 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() 852 sizeof(struct cifs_ace)); */ in parse_dacl() 864 unsigned int setup_authusers_ACE(struct cifs_ace *pntac [all...] |
H A D | cifsacl.h | 38 (sizeof(struct cifs_ace) * 4)) 114 struct cifs_ace { struct
|
H A D | cifsproto.h | 244 extern unsigned int setup_authusers_ACE(struct cifs_ace *pace); 245 extern unsigned int setup_special_mode_ACE(struct cifs_ace *pace, __u64 nmode); 246 extern unsigned int setup_special_user_owner_ACE(struct cifs_ace *pace);
|
H A D | cifssmb.c | 2850 * @cifs_ace: ACL in cifs format 2858 struct cifs_posix_ace *cifs_ace) in cifs_init_posix_acl() 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() 2944 * @cifs_ace: the cifs ACL entry to store into 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 in cifs_init_ace() 2857 cifs_init_posix_acl(struct posix_acl_entry *ace, struct cifs_posix_ace *cifs_ace) cifs_init_posix_acl() argument [all...] |
H A D | smb2pdu.c | 2590 *len = round_up(sizeof(struct crt_sd_ctxt) + (sizeof(struct cifs_ace) * 4), 8); in create_sd_buf() 2639 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode); in create_sd_buf() 2646 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr); in create_sd_buf() 2653 acelen = setup_authusers_ACE((struct cifs_ace *)ptr); in create_sd_buf()
|
H A D | cifsglob.h | 185 struct cifs_ace *aces;
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifsacl.c | 640 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() 795 sizeof(struct cifs_ace)); */ 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 *pntac [all...] |
H A D | cifsacl.h | 48 (sizeof(struct cifs_ace) * 4)) 124 struct cifs_ace { struct
|
H A D | cifsproto.h | 226 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);
|
H A D | cifssmb.c | 3419 struct cifs_posix_ace *cifs_ace) in cifs_convert_ace() 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() 3418 cifs_convert_ace(struct posix_acl_xattr_entry *ace, struct cifs_posix_ace *cifs_ace) cifs_convert_ace() argument
|
H A D | smb2pdu.c | 2303 *len = roundup(sizeof(struct crt_sd_ctxt) + (sizeof(struct cifs_ace) * 4), 8); in create_sd_buf() 2352 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode); in create_sd_buf() 2359 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr); in create_sd_buf() 2366 acelen = setup_authusers_ACE((struct cifs_ace *)ptr); in create_sd_buf()
|
H A D | cifsglob.h | 176 struct cifs_ace *aces;
|
Completed in 44 milliseconds