Lines Matching refs:qedi
18 qedi_dbg_host_init(struct qedi_dbg_ctx *qedi, in qedi_dbg_host_init() argument
24 sprintf(host_dirname, "host%u", qedi->host_no); in qedi_dbg_host_init()
25 qedi->bdf_dentry = debugfs_create_dir(host_dirname, qedi_dbg_root); in qedi_dbg_host_init()
31 debugfs_create_file(dops->name, 0600, qedi->bdf_dentry, qedi, in qedi_dbg_host_init()
39 qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi) in qedi_dbg_host_exit() argument
41 debugfs_remove_recursive(qedi->bdf_dentry); in qedi_dbg_host_exit()
42 qedi->bdf_dentry = NULL; in qedi_dbg_host_exit()
139 struct qedi_ctx *qedi = s->private; in qedi_gbl_ctx_show() local
144 for (id = 0; id < MIN_NUM_CPUS_MSIX(qedi); id++) { in qedi_gbl_ctx_show()
145 spin_lock_irqsave(&qedi->hba_lock, flags); in qedi_gbl_ctx_show()
147 fp = &qedi->fp_array[id]; in qedi_gbl_ctx_show()
153 que = qedi->global_queues[fp->sb_id]; in qedi_gbl_ctx_show()
157 spin_unlock_irqrestore(&qedi->hba_lock, flags); in qedi_gbl_ctx_show()
166 struct qedi_ctx *qedi = container_of(qedi_dbg, struct qedi_ctx, in qedi_dbg_gbl_ctx_open() local
169 return single_open(file, qedi_gbl_ctx_show, qedi); in qedi_dbg_gbl_ctx_open()
176 struct qedi_ctx *qedi = s->private; in qedi_io_trace_show() local
181 spin_lock_irqsave(&qedi->io_trace_lock, flags); in qedi_io_trace_show()
182 idx = qedi->io_trace_idx; in qedi_io_trace_show()
184 io_log = &qedi->io_trace_buf[idx]; in qedi_io_trace_show()
205 spin_unlock_irqrestore(&qedi->io_trace_lock, flags); in qedi_io_trace_show()
213 struct qedi_ctx *qedi = container_of(qedi_dbg, struct qedi_ctx, in qedi_dbg_io_trace_open() local
216 return single_open(file, qedi_io_trace_show, qedi); in qedi_dbg_io_trace_open()
220 qedi_dbg_fileops_seq(qedi, gbl_ctx),
221 qedi_dbg_fileops(qedi, do_not_recover),
222 qedi_dbg_fileops_seq(qedi, io_trace),