Lines Matching refs:policyfs
423 securityfs_recursive_remove(p->policyfs); in ipe_del_policyfs_node()
424 p->policyfs = NULL; in ipe_del_policyfs_node()
437 struct dentry *policyfs = NULL; in ipe_new_policyfs_node() local
443 if (p->policyfs) in ipe_new_policyfs_node()
446 policyfs = securityfs_create_dir(p->parsed->name, policy_root); in ipe_new_policyfs_node()
447 if (IS_ERR(policyfs)) in ipe_new_policyfs_node()
448 return PTR_ERR(policyfs); in ipe_new_policyfs_node()
450 root = d_inode(policyfs); in ipe_new_policyfs_node()
455 d = securityfs_create_file(f->name, f->access, policyfs, in ipe_new_policyfs_node()
464 p->policyfs = policyfs; in ipe_new_policyfs_node()
470 securityfs_recursive_remove(policyfs); in ipe_new_policyfs_node()