Lines Matching refs:dentry
19 static struct dentry *rootdir;
32 debugfs_remove_recursive(opp->dentry); in opp_debug_remove_one()
37 struct dentry *pdentry) in opp_debug_create_supplies()
39 struct dentry *d; in opp_debug_create_supplies()
66 struct dentry *pdentry = opp_table->dentry; in opp_debug_create_one()
67 struct dentry *d; in opp_debug_create_one()
98 opp->dentry = d; in opp_debug_create_one()
105 struct dentry *d; in opp_list_debug_create_dir()
112 opp_dev->dentry = d; in opp_list_debug_create_dir()
113 opp_table->dentry = d; in opp_list_debug_create_dir()
124 opp_dev->dentry = debugfs_create_symlink(name, rootdir, in opp_list_debug_create_link()
139 if (opp_table->dentry) in opp_debug_register()
150 struct dentry *dentry; in opp_migrate_dentry() local
159 debugfs_remove_recursive(new_dev->dentry); in opp_migrate_dentry()
163 dentry = debugfs_rename(rootdir, opp_dev->dentry, rootdir, in opp_migrate_dentry()
165 if (!dentry) { in opp_migrate_dentry()
171 new_dev->dentry = dentry; in opp_migrate_dentry()
172 opp_table->dentry = dentry; in opp_migrate_dentry()
185 if (opp_dev->dentry == opp_table->dentry) { in opp_debug_unregister()
191 opp_table->dentry = NULL; in opp_debug_unregister()
194 debugfs_remove_recursive(opp_dev->dentry); in opp_debug_unregister()
197 opp_dev->dentry = NULL; in opp_debug_unregister()