Lines Matching defs:fsd
239 struct debugfs_fsdata *fsd = dentry->d_fsdata;
241 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)
244 kfree(fsd);
249 struct debugfs_fsdata *fsd = path->dentry->d_fsdata;
251 return fsd->automount(path->dentry, d_inode(path->dentry)->i_private);
639 struct debugfs_fsdata *fsd;
645 fsd = kzalloc(sizeof(*fsd), GFP_KERNEL);
646 if (!fsd) {
651 fsd->automount = f;
655 kfree(fsd);
663 kfree(fsd);
670 dentry->d_fsdata = fsd;
735 struct debugfs_fsdata *fsd;
744 fsd = READ_ONCE(dentry->d_fsdata);
745 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)
747 if (!refcount_dec_and_test(&fsd->active_users))
748 wait_for_completion(&fsd->active_users_drained);