Lines Matching refs:debugfs_dir
832 debugfs_create_files(q->debugfs_dir, q, blk_mq_debugfs_queue_attrs); in blk_mq_debugfs_register()
844 if (!hctx->debugfs_dir) in blk_mq_debugfs_register()
872 ctx_dir = debugfs_create_dir(name, hctx->debugfs_dir); in blk_mq_debugfs_register_ctx()
884 if (!q->debugfs_dir) in blk_mq_debugfs_register_hctx()
888 hctx->debugfs_dir = debugfs_create_dir(name, q->debugfs_dir); in blk_mq_debugfs_register_hctx()
890 debugfs_create_files(hctx->debugfs_dir, hctx, blk_mq_debugfs_hctx_attrs); in blk_mq_debugfs_register_hctx()
898 debugfs_remove_recursive(hctx->debugfs_dir); in blk_mq_debugfs_unregister_hctx()
900 hctx->debugfs_dir = NULL; in blk_mq_debugfs_unregister_hctx()
929 if (!q->debugfs_dir) in blk_mq_debugfs_register_sched()
935 q->sched_debugfs_dir = debugfs_create_dir("sched", q->debugfs_dir); in blk_mq_debugfs_register_sched()
948 debugfs_remove_recursive(rqos->debugfs_dir); in blk_mq_debugfs_unregister_rqos()
949 rqos->debugfs_dir = NULL; in blk_mq_debugfs_unregister_rqos()
957 if (rqos->debugfs_dir || !rqos->ops->debugfs_attrs) in blk_mq_debugfs_register_rqos()
962 q->debugfs_dir); in blk_mq_debugfs_register_rqos()
964 rqos->debugfs_dir = debugfs_create_dir(dir_name, in blk_mq_debugfs_register_rqos()
967 debugfs_create_files(rqos->debugfs_dir, rqos, rqos->ops->debugfs_attrs); in blk_mq_debugfs_register_rqos()
985 hctx->debugfs_dir); in blk_mq_debugfs_register_sched_hctx()