Searched refs:fsd (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/debugfs/ |
D | file.c | 51 struct debugfs_fsdata *fsd = F_DENTRY(filp)->d_fsdata; in debugfs_real_fops() local 53 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT) { in debugfs_real_fops() 62 return fsd->real_fops; in debugfs_real_fops() 83 struct debugfs_fsdata *fsd; in debugfs_file_get() local 88 fsd = d_fsd; in debugfs_file_get() 90 fsd = kmalloc(sizeof(*fsd), GFP_KERNEL); in debugfs_file_get() 91 if (!fsd) in debugfs_file_get() 94 fsd->real_fops = (void *)((unsigned long)d_fsd & in debugfs_file_get() 96 refcount_set(&fsd->active_users, 1); in debugfs_file_get() 97 init_completion(&fsd->active_users_drained); in debugfs_file_get() [all …]
|
D | inode.c | 188 void *fsd = dentry->d_fsdata; in debugfs_release_dentry() local 190 if (!((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)) in debugfs_release_dentry() 621 struct debugfs_fsdata *fsd; in __debugfs_remove_file() local 633 fsd = READ_ONCE(dentry->d_fsdata); in __debugfs_remove_file() 634 if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT) in __debugfs_remove_file() 636 if (!refcount_dec_and_test(&fsd->active_users)) in __debugfs_remove_file() 637 wait_for_completion(&fsd->active_users_drained); in __debugfs_remove_file()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_ioctl32.c | 515 struct fsdmidata fsd; in xfs_compat_fssetdm_by_handle() local 534 if (copy_from_user(&fsd, compat_ptr(dmhreq.data), sizeof(fsd))) { in xfs_compat_fssetdm_by_handle() 539 error = xfs_set_dmattrs(XFS_I(d_inode(dentry)), fsd.fsd_dmevmask, in xfs_compat_fssetdm_by_handle() 540 fsd.fsd_dmstate); in xfs_compat_fssetdm_by_handle()
|
D | xfs_ioctl.c | 337 struct fsdmidata fsd; in xfs_fssetdm_by_handle() local 361 if (copy_from_user(&fsd, dmhreq.data, sizeof(fsd))) { in xfs_fssetdm_by_handle() 366 error = xfs_set_dmattrs(XFS_I(d_inode(dentry)), fsd.fsd_dmevmask, in xfs_fssetdm_by_handle() 367 fsd.fsd_dmstate); in xfs_fssetdm_by_handle()
|