Lines Matching refs:smk_of_inode
233 sskp->smk_known, smk_of_inode(inode)->smk_known, acc, in smk_bu_file()
263 sskp->smk_known, smk_of_inode(inode)->smk_known, acc, in smk_bu_credfile()
954 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security()
955 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security()
1007 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link()
1012 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link()
1041 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink()
1049 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink()
1074 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir()
1082 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir()
1113 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_rename()
1118 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_rename()
1150 if (smk_of_inode(inode) != sbsp->smk_root) in smack_inode_permission()
1159 rc = smk_curacc(smk_of_inode(inode), mask, &ad); in smack_inode_permission()
1184 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_setattr()
1203 rc = smk_curacc(smk_of_inode(inode), MAY_READ, &ad); in smack_inode_getattr()
1269 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_setxattr()
1330 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_READ, &ad); in smack_inode_getxattr()
1369 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_removexattr()
1416 isp = smk_of_inode(inode); in smack_inode_getsecurity()
1473 struct smack_known *skp = smk_of_inode(inode); in smack_inode_getsecid()
1537 rc = smk_curacc(smk_of_inode(inode), MAY_WRITE, &ad); in smack_file_ioctl()
1542 rc = smk_curacc(smk_of_inode(inode), MAY_READ, &ad); in smack_file_ioctl()
1567 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); in smack_file_lock()
1601 rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); in smack_file_fcntl()
1608 rc = smk_curacc(smk_of_inode(inode), MAY_WRITE, &ad); in smack_file_fcntl()
1836 rc = smk_curacc(smk_of_inode(inode), may, &ad); in smack_file_receive()
1861 rc = smk_tskacc(tsp, smk_of_inode(inode), MAY_READ, &ad); in smack_file_open()
4626 struct smack_known *skp = smk_of_inode(inode); in smack_inode_getsecctx()
4773 rc = smk_tskacc(tsp, smk_of_inode(inode), MAY_READ, &ad); in smack_uring_cmd()