Searched refs:smb_acl (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/smb/server/ |
H A D | smbacl.c | 366 struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() 384 if (end_of_acl < (char *)pdacl + sizeof(struct smb_acl) || in parse_dacl() 395 acl_size = sizeof(struct smb_acl); in parse_dacl() 696 struct smb_acl *pndacl, in set_ntacl_dacl() 697 struct smb_acl *nt_dacl, in set_ntacl_dacl() 708 pndace = (struct smb_ace *)((char *)pndacl + sizeof(struct smb_acl)); in set_ntacl_dacl() 710 ntace = (struct smb_ace *)((char *)nt_dacl + sizeof(struct smb_acl)); in set_ntacl_dacl() 736 struct smb_acl *pndacl, struct smb_fattr *fattr) in set_mode_dacl() 744 pace = pndace = (struct smb_ace *)((char *)pndacl + sizeof(struct smb_acl)); in set_mode_dacl() 819 struct smb_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc() [all …]
|
H A D | vfs.c | 1395 struct xattr_smb_acl *smb_acl = NULL; in ksmbd_vfs_make_xattr_posix_acl() local 1408 smb_acl = kzalloc(sizeof(struct xattr_smb_acl) + in ksmbd_vfs_make_xattr_posix_acl() 1411 if (!smb_acl) in ksmbd_vfs_make_xattr_posix_acl() 1414 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl() 1416 xa_entry = smb_acl->entries; in ksmbd_vfs_make_xattr_posix_acl() 1453 return smb_acl; in ksmbd_vfs_make_xattr_posix_acl() 1465 struct xattr_smb_acl *smb_acl, *def_smb_acl = NULL; in ksmbd_vfs_set_sd_xattr() local 1492 smb_acl = ksmbd_vfs_make_xattr_posix_acl(idmap, inode, in ksmbd_vfs_set_sd_xattr() 1499 smb_acl, def_smb_acl); in ksmbd_vfs_set_sd_xattr() 1527 kfree(smb_acl); in ksmbd_vfs_set_sd_xattr() [all …]
|
H A D | smbacl.h | 137 struct smb_acl { struct
|
H A D | smb2pdu.c | 3344 sizeof(struct smb_acl) + in smb2_open()
|
/openbmc/linux/fs/smb/client/ |
H A D | cifsacl.c | 761 static void parse_dacl(struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() 796 acl_size = sizeof(struct smb_acl); in parse_dacl() 1045 static __u16 replace_sids_and_copy_aces(struct smb_acl *pdacl, struct smb_acl *pndacl, in replace_sids_and_copy_aces() 1060 size = sizeof(struct smb_acl); in replace_sids_and_copy_aces() 1064 nsize = sizeof(struct smb_acl); in replace_sids_and_copy_aces() 1085 static int set_chmod_dacl(struct smb_acl *pdacl, struct smb_acl *pndacl, in set_chmod_dacl() 1102 nsize = sizeof(struct smb_acl); in set_chmod_dacl() 1114 size = sizeof(struct smb_acl); in set_chmod_dacl() 1207 struct smb_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc() 1219 dacl_ptr = (struct smb_acl *)((char *)pntsd + dacloffset); in parse_sec_desc() [all …]
|
H A D | cifsacl.h | 37 sizeof(struct smb_acl) + \ 77 struct smb_acl { struct
|