fsd 51 fs/debugfs/file.c struct debugfs_fsdata *fsd = F_DENTRY(filp)->d_fsdata; fsd 53 fs/debugfs/file.c if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT) { fsd 62 fs/debugfs/file.c return fsd->real_fops; fsd 83 fs/debugfs/file.c struct debugfs_fsdata *fsd; fsd 88 fs/debugfs/file.c fsd = d_fsd; fsd 90 fs/debugfs/file.c fsd = kmalloc(sizeof(*fsd), GFP_KERNEL); fsd 91 fs/debugfs/file.c if (!fsd) fsd 94 fs/debugfs/file.c fsd->real_fops = (void *)((unsigned long)d_fsd & fsd 96 fs/debugfs/file.c refcount_set(&fsd->active_users, 1); fsd 97 fs/debugfs/file.c init_completion(&fsd->active_users_drained); fsd 98 fs/debugfs/file.c if (cmpxchg(&dentry->d_fsdata, d_fsd, fsd) != d_fsd) { fsd 99 fs/debugfs/file.c kfree(fsd); fsd 100 fs/debugfs/file.c fsd = READ_ONCE(dentry->d_fsdata); fsd 115 fs/debugfs/file.c if (!refcount_inc_not_zero(&fsd->active_users)) fsd 133 fs/debugfs/file.c struct debugfs_fsdata *fsd = READ_ONCE(dentry->d_fsdata); fsd 135 fs/debugfs/file.c if (refcount_dec_and_test(&fsd->active_users)) fsd 136 fs/debugfs/file.c complete(&fsd->active_users_drained); fsd 212 fs/debugfs/inode.c void *fsd = dentry->d_fsdata; fsd 214 fs/debugfs/inode.c if (!((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)) fsd 672 fs/debugfs/inode.c struct debugfs_fsdata *fsd; fsd 681 fs/debugfs/inode.c fsd = READ_ONCE(dentry->d_fsdata); fsd 682 fs/debugfs/inode.c if ((unsigned long)fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT) fsd 684 fs/debugfs/inode.c if (!refcount_dec_and_test(&fsd->active_users)) fsd 685 fs/debugfs/inode.c wait_for_completion(&fsd->active_users_drained); fsd 331 fs/xfs/xfs_ioctl.c struct fsdmidata fsd; fsd 355 fs/xfs/xfs_ioctl.c if (copy_from_user(&fsd, dmhreq.data, sizeof(fsd))) { fsd 360 fs/xfs/xfs_ioctl.c error = xfs_set_dmattrs(XFS_I(d_inode(dentry)), fsd.fsd_dmevmask, fsd 361 fs/xfs/xfs_ioctl.c fsd.fsd_dmstate); fsd 511 fs/xfs/xfs_ioctl32.c struct fsdmidata fsd; fsd 530 fs/xfs/xfs_ioctl32.c if (copy_from_user(&fsd, compat_ptr(dmhreq.data), sizeof(fsd))) { fsd 535 fs/xfs/xfs_ioctl32.c error = xfs_set_dmattrs(XFS_I(d_inode(dentry)), fsd.fsd_dmevmask, fsd 536 fs/xfs/xfs_ioctl32.c fsd.fsd_dmstate);