Lines Matching refs:debugfs_dir

686 	debugfs_create_files(q->debugfs_dir, q, blk_mq_debugfs_queue_attrs);  in blk_mq_debugfs_register()
698 if (!hctx->debugfs_dir) in blk_mq_debugfs_register()
721 ctx_dir = debugfs_create_dir(name, hctx->debugfs_dir); in blk_mq_debugfs_register_ctx()
733 if (!q->debugfs_dir) in blk_mq_debugfs_register_hctx()
737 hctx->debugfs_dir = debugfs_create_dir(name, q->debugfs_dir); in blk_mq_debugfs_register_hctx()
739 debugfs_create_files(hctx->debugfs_dir, hctx, blk_mq_debugfs_hctx_attrs); in blk_mq_debugfs_register_hctx()
747 if (!hctx->queue->debugfs_dir) in blk_mq_debugfs_unregister_hctx()
749 debugfs_remove_recursive(hctx->debugfs_dir); in blk_mq_debugfs_unregister_hctx()
751 hctx->debugfs_dir = NULL; in blk_mq_debugfs_unregister_hctx()
782 if (!q->debugfs_dir) in blk_mq_debugfs_register_sched()
788 q->sched_debugfs_dir = debugfs_create_dir("sched", q->debugfs_dir); in blk_mq_debugfs_register_sched()
818 if (!rqos->q->debugfs_dir) in blk_mq_debugfs_unregister_rqos()
820 debugfs_remove_recursive(rqos->debugfs_dir); in blk_mq_debugfs_unregister_rqos()
821 rqos->debugfs_dir = NULL; in blk_mq_debugfs_unregister_rqos()
831 if (rqos->debugfs_dir || !rqos->ops->debugfs_attrs) in blk_mq_debugfs_register_rqos()
836 q->debugfs_dir); in blk_mq_debugfs_register_rqos()
838 rqos->debugfs_dir = debugfs_create_dir(dir_name, in blk_mq_debugfs_register_rqos()
841 debugfs_create_files(rqos->debugfs_dir, rqos, rqos->ops->debugfs_attrs); in blk_mq_debugfs_register_rqos()
856 if (!hctx->debugfs_dir) in blk_mq_debugfs_register_sched_hctx()
863 hctx->debugfs_dir); in blk_mq_debugfs_register_sched_hctx()
872 if (!hctx->queue->debugfs_dir) in blk_mq_debugfs_unregister_sched_hctx()