Searched refs:smb_acl (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/smb/server/ |
| H A D | smbacl.c | 371 struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() 389 if (end_of_acl < (char *)pdacl + sizeof(struct smb_acl) || in parse_dacl() 400 acl_size = sizeof(struct smb_acl); in parse_dacl() 406 if (num_aces > (le16_to_cpu(pdacl->size) - sizeof(struct smb_acl)) / in parse_dacl() 704 struct smb_acl *pndacl, in set_ntacl_dacl() 705 struct smb_acl *nt_dacl, in set_ntacl_dacl() 716 pndace = (struct smb_ace *)((char *)pndacl + sizeof(struct smb_acl)); in set_ntacl_dacl() 718 ntace = (struct smb_ace *)((char *)nt_dacl + sizeof(struct smb_acl)); in set_ntacl_dacl() 744 struct smb_acl *pndacl, struct smb_fattr *fattr) in set_mode_dacl() 752 pace = pndace = (struct smb_ace *)((char *)pndacl + sizeof(struct smb_acl)); in set_mode_dacl() [all …]
|
| H A D | vfs.c | 1347 struct xattr_smb_acl *smb_acl = NULL; in ksmbd_vfs_make_xattr_posix_acl() local 1360 smb_acl = kzalloc(sizeof(struct xattr_smb_acl) + in ksmbd_vfs_make_xattr_posix_acl() 1363 if (!smb_acl) in ksmbd_vfs_make_xattr_posix_acl() 1366 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl() 1368 xa_entry = smb_acl->entries; in ksmbd_vfs_make_xattr_posix_acl() 1405 return smb_acl; in ksmbd_vfs_make_xattr_posix_acl() 1417 struct xattr_smb_acl *smb_acl, *def_smb_acl = NULL; in ksmbd_vfs_set_sd_xattr() local 1440 smb_acl = ksmbd_vfs_make_xattr_posix_acl(idmap, inode, in ksmbd_vfs_set_sd_xattr() 1447 smb_acl, def_smb_acl); in ksmbd_vfs_set_sd_xattr() 1470 kfree(smb_acl); in ksmbd_vfs_set_sd_xattr() [all …]
|
| H A D | smb2pdu.c | 3389 sizeof(struct smb_acl) + in smb2_open()
|
| /linux/fs/smb/client/ |
| H A D | cifsacl.c | 762 static void parse_dacl(struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() 782 if (end_of_acl < (char *)pdacl + sizeof(struct smb_acl) || in parse_dacl() 798 acl_size = sizeof(struct smb_acl); in parse_dacl() 804 if (num_aces > (le16_to_cpu(pdacl->size) - sizeof(struct smb_acl)) / in parse_dacl() 1065 static __u16 replace_sids_and_copy_aces(struct smb_acl *pdacl, struct smb_acl *pndacl, in replace_sids_and_copy_aces() 1080 size = sizeof(struct smb_acl); in replace_sids_and_copy_aces() 1084 nsize = sizeof(struct smb_acl); in replace_sids_and_copy_aces() 1105 static int set_chmod_dacl(struct smb_acl *pdacl, struct smb_acl *pndacl, in set_chmod_dacl() 1122 nsize = sizeof(struct smb_acl); in set_chmod_dacl() 1134 size = sizeof(struct smb_acl); in set_chmod_dacl() [all …]
|
| H A D | cifsacl.h | 30 sizeof(struct smb_acl) + \
|