Searched refs:posix_acls (Results 1 – 2 of 2) sorted by relevance
1194 struct posix_acl *posix_acls; in smb_check_perm_dacl() local1290 posix_acls = get_acl(d_inode(path->dentry), ACL_TYPE_ACCESS); in smb_check_perm_dacl()1291 if (posix_acls && !found) { in smb_check_perm_dacl()1294 pa_entry = posix_acls->a_entries; in smb_check_perm_dacl()1295 for (i = 0; i < posix_acls->a_count; i++, pa_entry++) { in smb_check_perm_dacl()1310 posix_acl_release(posix_acls); in smb_check_perm_dacl()1315 if (posix_acls) in smb_check_perm_dacl()1316 posix_acl_release(posix_acls); in smb_check_perm_dacl()
1361 struct posix_acl *posix_acls; in ksmbd_vfs_make_xattr_posix_acl() local1369 posix_acls = get_acl(inode, acl_type); in ksmbd_vfs_make_xattr_posix_acl()1370 if (!posix_acls) in ksmbd_vfs_make_xattr_posix_acl()1374 sizeof(struct xattr_acl_entry) * posix_acls->a_count, in ksmbd_vfs_make_xattr_posix_acl()1379 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl()1380 pa_entry = posix_acls->a_entries; in ksmbd_vfs_make_xattr_posix_acl()1382 for (i = 0; i < posix_acls->a_count; i++, pa_entry++, xa_entry++) { in ksmbd_vfs_make_xattr_posix_acl()1417 posix_acl_release(posix_acls); in ksmbd_vfs_make_xattr_posix_acl()