Searched refs:smb_ace (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/fs/smb/server/ |
H A D | smbacl.c | 193 static __u16 fill_ace_for_sid(struct smb_ace *pntace, in fill_ace_for_sid() 374 struct smb_ace **ppace; in parse_dacl() 402 (offsetof(struct smb_ace, sid) + in parse_dacl() 415 ppace = kmalloc_array(num_aces, sizeof(struct smb_ace *), GFP_KERNEL); in parse_dacl() 431 ppace[i] = (struct smb_ace *)(acl_base + acl_size); in parse_dacl() 433 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl() 585 struct smb_ace *pndace, in set_posix_acl_entries_dacl() 591 struct smb_ace *ntace; in set_posix_acl_entries_dacl() 629 ntace = (struct smb_ace *)((char *)ntace + in set_posix_acl_entries_dacl() 636 ntace = (struct smb_ace *)((char *)pndace + *size); in set_posix_acl_entries_dacl() [all …]
|
H A D | smbacl.h | 143 struct smb_ace { struct
|
H A D | smb2pdu.c | 3345 sizeof(struct smb_ace) * ace_num * 2, in smb2_open()
|
/openbmc/linux/fs/smb/client/ |
H A D | cifsacl.c | 669 static __u16 cifs_copy_ace(struct smb_ace *dst, struct smb_ace *src, struct smb_sid *psid) in cifs_copy_ace() 688 static __u16 fill_ace_for_sid(struct smb_ace *pntace, in fill_ace_for_sid() 726 static void dump_ace(struct smb_ace *pace, char *end_of_acl) in dump_ace() 769 struct smb_ace **ppace; in parse_dacl() 802 if (num_aces > ULONG_MAX / sizeof(struct smb_ace *)) in parse_dacl() 804 ppace = kmalloc_array(num_aces, sizeof(struct smb_ace *), in parse_dacl() 810 ppace[i] = (struct smb_ace *) (acl_base + acl_size); in parse_dacl() 864 unsigned int setup_authusers_ACE(struct smb_ace *pntace) in setup_authusers_ACE() 888 unsigned int setup_special_mode_ACE(struct smb_ace *pntace, in setup_special_mode_ACE() 915 unsigned int setup_special_user_owner_ACE(struct smb_ace *pntace) in setup_special_user_owner_ACE() [all …]
|
H A D | cifsacl.h | 38 (sizeof(struct smb_ace) * 4)) 114 struct smb_ace { struct
|
H A D | cifsproto.h | 244 extern unsigned int setup_authusers_ACE(struct smb_ace *pace); 245 extern unsigned int setup_special_mode_ACE(struct smb_ace *pace, 248 extern unsigned int setup_special_user_owner_ACE(struct smb_ace *pace);
|
H A D | smb2pdu.c | 2626 *len = round_up(sizeof(struct crt_sd_ctxt) + (sizeof(struct smb_ace) * 4), 8); in create_sd_buf() 2675 acelen = setup_special_mode_ACE((struct smb_ace *)ptr, false, (__u64)mode); in create_sd_buf() 2682 acelen = setup_special_user_owner_ACE((struct smb_ace *)ptr); in create_sd_buf() 2689 acelen = setup_authusers_ACE((struct smb_ace *)ptr); in create_sd_buf()
|
H A D | cifsglob.h | 209 struct smb_ace *aces;
|