Lines Matching defs:fsd
216 struct debugfs_fsdata *fsd = dentry->d_fsdata;
218 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)
221 kfree(fsd);
226 struct debugfs_fsdata *fsd = path->dentry->d_fsdata;
228 return fsd->automount(path->dentry, d_inode(path->dentry)->i_private);
606 struct debugfs_fsdata *fsd;
612 fsd = kzalloc(sizeof(*fsd), GFP_KERNEL);
613 if (!fsd) {
618 fsd->automount = f;
622 kfree(fsd);
630 kfree(fsd);
637 dentry->d_fsdata = fsd;
702 struct debugfs_fsdata *fsd;
711 fsd = READ_ONCE(dentry->d_fsdata);
712 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)
714 if (!refcount_dec_and_test(&fsd->active_users))
715 wait_for_completion(&fsd->active_users_drained);