Searched refs:smb_ace (Results 1 – 8 of 8) sorted by relevance
/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 *), KSMBD_DEFAULT_GFP); 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 | smb2pdu.c | 3350 sizeof(struct smb_ace) * ace_num * 2, in smb2_open()
|
/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() 804 (offsetof(struct smb_ace, sid) + in parse_dacl() 808 ppace = kmalloc_array(num_aces, sizeof(struct smb_ace *), in parse_dacl() 814 ppace[i] = (struct smb_ace *) (acl_base + acl_size); in parse_dacl() 868 unsigned int setup_authusers_ACE(struct smb_ace *pntace) in setup_authusers_ACE() 892 unsigned int setup_special_mode_ACE(struct smb_ace *pntace, in setup_special_mode_ACE() 919 unsigned int setup_special_user_owner_ACE(struct smb_ace *pntace) in setup_special_user_owner_ACE() [all …]
|
H A D | cifsacl.h | 31 (sizeof(struct smb_ace) * 4))
|
H A D | cifsproto.h | 246 extern unsigned int setup_authusers_ACE(struct smb_ace *pace); 247 extern unsigned int setup_special_mode_ACE(struct smb_ace *pace, 250 extern unsigned int setup_special_user_owner_ACE(struct smb_ace *pace);
|
H A D | smb2pdu.c | 2633 *len = round_up(sizeof(struct crt_sd_ctxt) + (sizeof(struct smb_ace) * 4), 8); in create_sd_buf() 2682 acelen = setup_special_mode_ACE((struct smb_ace *)ptr, false, (__u64)mode); in create_sd_buf() 2689 acelen = setup_special_user_owner_ACE((struct smb_ace *)ptr); in create_sd_buf() 2696 acelen = setup_authusers_ACE((struct smb_ace *)ptr); in create_sd_buf()
|
H A D | cifsglob.h | 250 struct smb_ace *aces;
|
/linux/fs/smb/common/ |
H A D | smbacl.h | 114 struct smb_ace { struct
|