Searched refs:fsd (Results 1 – 2 of 2) sorted by relevance
217 struct debugfs_fsdata *fsd = dentry->d_fsdata; in debugfs_release_dentry() local219 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT) in debugfs_release_dentry()222 kfree(fsd); in debugfs_release_dentry()227 struct debugfs_fsdata *fsd = path->dentry->d_fsdata; in debugfs_automount() local229 return fsd->automount(path->dentry, d_inode(path->dentry)->i_private); in debugfs_automount()607 struct debugfs_fsdata *fsd; in debugfs_create_automount() local613 fsd = kzalloc(sizeof(*fsd), GFP_KERNEL); in debugfs_create_automount()614 if (!fsd) { in debugfs_create_automount()619 fsd->automount = f; in debugfs_create_automount()623 kfree(fsd); in debugfs_create_automount()[all …]
52 struct debugfs_fsdata *fsd = F_DENTRY(filp)->d_fsdata; in debugfs_real_fops() local54 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT) { in debugfs_real_fops()63 return fsd->real_fops; in debugfs_real_fops()84 struct debugfs_fsdata *fsd; in debugfs_file_get() local97 fsd = d_fsd; in debugfs_file_get()99 fsd = kmalloc(sizeof(*fsd), GFP_KERNEL); in debugfs_file_get()100 if (!fsd) in debugfs_file_get()103 fsd->real_fops = (void *)((unsigned long)d_fsd & in debugfs_file_get()105 refcount_set(&fsd->active_users, 1); in debugfs_file_get()106 init_completion(&fsd->active_users_drained); in debugfs_file_get()[all …]