Home
last modified time | relevance | path

Searched refs:posix_acls (Results 1 – 2 of 2) sorted by relevance

/linux/fs/smb/server/
H A Dsmbacl.c1457 struct posix_acl *posix_acls; in smb_check_perm_dacl() local
1597 posix_acls = get_inode_acl(d_inode(path->dentry), ACL_TYPE_ACCESS); in smb_check_perm_dacl()
1598 if (!IS_ERR_OR_NULL(posix_acls) && !found && !others_ace) { in smb_check_perm_dacl()
1601 pa_entry = posix_acls->a_entries; in smb_check_perm_dacl()
1602 for (i = 0; i < posix_acls->a_count; i++, pa_entry++) { in smb_check_perm_dacl()
1617 posix_acl_release(posix_acls); in smb_check_perm_dacl()
1622 if (!IS_ERR_OR_NULL(posix_acls)) in smb_check_perm_dacl()
1623 posix_acl_release(posix_acls); in smb_check_perm_dacl()
H A Dvfs.c1548 struct posix_acl *posix_acls; in ksmbd_vfs_make_xattr_posix_acl() local
1556 posix_acls = get_inode_acl(inode, acl_type); in ksmbd_vfs_make_xattr_posix_acl()
1557 if (IS_ERR_OR_NULL(posix_acls)) in ksmbd_vfs_make_xattr_posix_acl()
1561 sizeof(struct xattr_acl_entry) * posix_acls->a_count, in ksmbd_vfs_make_xattr_posix_acl()
1566 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl()
1567 pa_entry = posix_acls->a_entries; in ksmbd_vfs_make_xattr_posix_acl()
1569 for (i = 0; i < posix_acls->a_count; i++, pa_entry++, xa_entry++) { in ksmbd_vfs_make_xattr_posix_acl()
1604 posix_acl_release(posix_acls); in ksmbd_vfs_make_xattr_posix_acl()