Lines Matching refs:dir
990 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security() argument
997 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security()
1021 smk_inode_transmutable(dir))) { in smack_inode_init_security()
1065 static int smack_inode_link(struct dentry *old_dentry, struct inode *dir, in smack_inode_link() argument
1097 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink() argument
1116 smk_ad_setfield_u_fs_inode(&ad, dir); in smack_inode_unlink()
1117 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink()
1118 rc = smk_bu_inode(dir, MAY_WRITE, rc); in smack_inode_unlink()
1131 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir() argument
1149 smk_ad_setfield_u_fs_inode(&ad, dir); in smack_inode_rmdir()
1150 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir()
1151 rc = smk_bu_inode(dir, MAY_WRITE, rc); in smack_inode_rmdir()