Lines Matching defs:qedi
7 #include "qedi.h"
18 qedi_dbg_host_init(struct qedi_dbg_ctx *qedi,
24 sprintf(host_dirname, "host%u", qedi->host_no);
25 qedi->bdf_dentry = debugfs_create_dir(host_dirname, qedi_dbg_root);
31 debugfs_create_file(dops->name, 0600, qedi->bdf_dentry, qedi,
39 qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi)
41 debugfs_remove_recursive(qedi->bdf_dentry);
42 qedi->bdf_dentry = NULL;
143 struct qedi_ctx *qedi = s->private;
148 for (id = 0; id < MIN_NUM_CPUS_MSIX(qedi); id++) {
149 spin_lock_irqsave(&qedi->hba_lock, flags);
151 fp = &qedi->fp_array[id];
157 que = qedi->global_queues[fp->sb_id];
161 spin_unlock_irqrestore(&qedi->hba_lock, flags);
170 struct qedi_ctx *qedi = container_of(qedi_dbg, struct qedi_ctx,
173 return single_open(file, qedi_gbl_ctx_show, qedi);
180 struct qedi_ctx *qedi = s->private;
185 spin_lock_irqsave(&qedi->io_trace_lock, flags);
186 idx = qedi->io_trace_idx;
188 io_log = &qedi->io_trace_buf[idx];
209 spin_unlock_irqrestore(&qedi->io_trace_lock, flags);
217 struct qedi_ctx *qedi = container_of(qedi_dbg, struct qedi_ctx,
220 return single_open(file, qedi_io_trace_show, qedi);
224 qedi_dbg_fileops_seq(qedi, gbl_ctx),
225 qedi_dbg_fileops(qedi, do_not_recover),
226 qedi_dbg_fileops_seq(qedi, io_trace),