#include "qedi.h"
#include "qedi_dbg.h"
#include <linux/uaccess.h>
#include <linux/debugfs.h>
#include <linux/module.h>
int qedi_do_not_recover;
static struct dentry *qedi_dbg_root;
void
qedi_dbg_host_init(struct qedi_dbg_ctx *qedi,
const struct qedi_debugfs_ops *dops,
const struct file_operations *fops)
{ … }
void
qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi)
{ … }
void
qedi_dbg_init(char *drv_name)
{ … }
void
qedi_dbg_exit(void)
{ … }
static ssize_t
qedi_dbg_do_not_recover_enable(struct qedi_dbg_ctx *qedi_dbg)
{ … }
static ssize_t
qedi_dbg_do_not_recover_disable(struct qedi_dbg_ctx *qedi_dbg)
{ … }
static struct qedi_list_of_funcs qedi_dbg_do_not_recover_ops[] = …;
const struct qedi_debugfs_ops qedi_debugfs_ops[] = …;
static ssize_t
qedi_dbg_do_not_recover_cmd_write(struct file *filp, const char __user *buffer,
size_t count, loff_t *ppos)
{ … }
static ssize_t
qedi_dbg_do_not_recover_cmd_read(struct file *filp, char __user *buffer,
size_t count, loff_t *ppos)
{ … }
static int
qedi_gbl_ctx_show(struct seq_file *s, void *unused)
{ … }
static int
qedi_dbg_gbl_ctx_open(struct inode *inode, struct file *file)
{ … }
static int
qedi_io_trace_show(struct seq_file *s, void *unused)
{ … }
static int
qedi_dbg_io_trace_open(struct inode *inode, struct file *file)
{ … }
const struct file_operations qedi_dbg_fops[] = …;