Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ksmbd/
Dsmbacl.c1196 struct posix_acl *posix_acls; in smb_check_perm_dacl() local
1292 posix_acls = get_acl(d_inode(path->dentry), ACL_TYPE_ACCESS); in smb_check_perm_dacl()
1293 if (posix_acls && !found) { in smb_check_perm_dacl()
1296 pa_entry = posix_acls->a_entries; in smb_check_perm_dacl()
1297 for (i = 0; i < posix_acls->a_count; i++, pa_entry++) { in smb_check_perm_dacl()
1312 posix_acl_release(posix_acls); in smb_check_perm_dacl()
1317 if (posix_acls) in smb_check_perm_dacl()
1318 posix_acl_release(posix_acls); in smb_check_perm_dacl()
Dvfs.c1370 struct posix_acl *posix_acls; in ksmbd_vfs_make_xattr_posix_acl() local
1378 posix_acls = get_acl(inode, acl_type); in ksmbd_vfs_make_xattr_posix_acl()
1379 if (!posix_acls) in ksmbd_vfs_make_xattr_posix_acl()
1383 sizeof(struct xattr_acl_entry) * posix_acls->a_count, in ksmbd_vfs_make_xattr_posix_acl()
1388 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl()
1389 pa_entry = posix_acls->a_entries; in ksmbd_vfs_make_xattr_posix_acl()
1391 for (i = 0; i < posix_acls->a_count; i++, pa_entry++, xa_entry++) { in ksmbd_vfs_make_xattr_posix_acl()
1426 posix_acl_release(posix_acls); in ksmbd_vfs_make_xattr_posix_acl()