Lines Matching refs:dentry
19 static struct dentry *rootdir;
32 debugfs_remove_recursive(opp->dentry);
52 static void opp_debug_create_bw(struct dev_pm_opp *opp, struct opp_table *opp_table, struct dentry *pdentry)
54 struct dentry *d;
70 static void opp_debug_create_supplies(struct dev_pm_opp *opp, struct opp_table *opp_table, struct dentry *pdentry)
72 struct dentry *d;
95 struct dentry *pdentry = opp_table->dentry;
96 struct dentry *d;
128 opp->dentry = d;
134 struct dentry *d;
141 opp_dev->dentry = d;
142 opp_table->dentry = d;
152 opp_dev->dentry = debugfs_create_symlink(name, rootdir, opp_table->dentry_name);
166 if (opp_table->dentry) {
177 struct dentry *dentry;
184 debugfs_remove_recursive(new_dev->dentry);
188 dentry = debugfs_rename(rootdir, opp_dev->dentry, rootdir, opp_table->dentry_name);
189 if (!dentry) {
194 new_dev->dentry = dentry;
195 opp_table->dentry = dentry;
207 if (opp_dev->dentry == opp_table->dentry) {
208 /* Move the real dentry object under another device */
213 opp_table->dentry = NULL;
216 debugfs_remove_recursive(opp_dev->dentry);
219 opp_dev->dentry = NULL;