Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dsmbacl.c1221 struct posix_acl *posix_acls; in smb_check_perm_dacl() local
1317 posix_acls = get_inode_acl(d_inode(path->dentry), ACL_TYPE_ACCESS); in smb_check_perm_dacl()
1318 if (!IS_ERR_OR_NULL(posix_acls) && !found) { in smb_check_perm_dacl()
1321 pa_entry = posix_acls->a_entries; in smb_check_perm_dacl()
1322 for (i = 0; i < posix_acls->a_count; i++, pa_entry++) { in smb_check_perm_dacl()
1337 posix_acl_release(posix_acls); in smb_check_perm_dacl()
1342 if (!IS_ERR_OR_NULL(posix_acls)) in smb_check_perm_dacl()
1343 posix_acl_release(posix_acls); in smb_check_perm_dacl()
Dvfs.c1400 struct posix_acl *posix_acls; in ksmbd_vfs_make_xattr_posix_acl() local
1408 posix_acls = get_inode_acl(inode, acl_type); in ksmbd_vfs_make_xattr_posix_acl()
1409 if (IS_ERR_OR_NULL(posix_acls)) in ksmbd_vfs_make_xattr_posix_acl()
1413 sizeof(struct xattr_acl_entry) * posix_acls->a_count, in ksmbd_vfs_make_xattr_posix_acl()
1418 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl()
1419 pa_entry = posix_acls->a_entries; in ksmbd_vfs_make_xattr_posix_acl()
1421 for (i = 0; i < posix_acls->a_count; i++, pa_entry++, xa_entry++) { in ksmbd_vfs_make_xattr_posix_acl()
1456 posix_acl_release(posix_acls); in ksmbd_vfs_make_xattr_posix_acl()