Lines Matching refs:root_dentry
830 struct dentry *root_dentry; in icnss_debugfs_create() local
832 root_dentry = debugfs_create_dir("icnss", NULL); in icnss_debugfs_create()
834 if (IS_ERR(root_dentry)) { in icnss_debugfs_create()
835 ret = PTR_ERR(root_dentry); in icnss_debugfs_create()
840 priv->root_dentry = root_dentry; in icnss_debugfs_create()
842 debugfs_create_file("fw_debug", 0600, root_dentry, priv, in icnss_debugfs_create()
844 debugfs_create_file("stats", 0600, root_dentry, priv, in icnss_debugfs_create()
846 debugfs_create_file("reg_read", 0600, root_dentry, priv, in icnss_debugfs_create()
848 debugfs_create_file("reg_write", 0600, root_dentry, priv, in icnss_debugfs_create()
850 debugfs_create_file("control_params", 0600, root_dentry, priv, in icnss_debugfs_create()
859 struct dentry *root_dentry; in icnss_debugfs_create() local
861 root_dentry = debugfs_create_dir("icnss", NULL); in icnss_debugfs_create()
863 if (IS_ERR(root_dentry)) { in icnss_debugfs_create()
864 ret = PTR_ERR(root_dentry); in icnss_debugfs_create()
869 priv->root_dentry = root_dentry; in icnss_debugfs_create()
871 debugfs_create_file("stats", 0600, root_dentry, priv, in icnss_debugfs_create()
879 debugfs_remove_recursive(priv->root_dentry); in icnss_debugfs_destroy()