Lines Matching refs:smk_of_inode
516 char *isp = smk_of_inode(inode); in smack_inode_init_security()
517 char *dsp = smk_of_inode(dir); in smack_inode_init_security()
569 isp = smk_of_inode(old_dentry->d_inode); in smack_inode_link()
573 isp = smk_of_inode(new_dentry->d_inode); in smack_inode_link()
601 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink()
608 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink()
632 rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE, &ad); in smack_inode_rmdir()
639 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir()
669 isp = smk_of_inode(old_dentry->d_inode); in smack_inode_rename()
673 isp = smk_of_inode(new_dentry->d_inode); in smack_inode_rename()
705 return smk_curacc(smk_of_inode(inode), mask, &ad); in smack_inode_permission()
726 return smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE, &ad); in smack_inode_setattr()
743 return smk_curacc(smk_of_inode(dentry->d_inode), MAY_READ, &ad); in smack_inode_getattr()
791 rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE, &ad); in smack_inode_setxattr()
851 return smk_curacc(smk_of_inode(dentry->d_inode), MAY_READ, &ad); in smack_inode_getxattr()
883 rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE, &ad); in smack_inode_removexattr()
916 isp = smk_of_inode(inode); in smack_inode_getsecurity()