#include "edac_module.h"
static struct dentry *edac_debugfs;
static ssize_t edac_fake_inject_write(struct file *file,
const char __user *data,
size_t count, loff_t *ppos)
{ … }
static const struct file_operations debug_fake_inject_fops = …;
void __init edac_debugfs_init(void)
{ … }
void edac_debugfs_exit(void)
{ … }
void edac_create_debugfs_nodes(struct mem_ctl_info *mci)
{ … }
struct dentry *edac_debugfs_create_dir(const char *dirname)
{ … }
EXPORT_SYMBOL_GPL(…);
struct dentry *
edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent)
{ … }
EXPORT_SYMBOL_GPL(…);
struct dentry *
edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
void *data, const struct file_operations *fops)
{ … }
EXPORT_SYMBOL_GPL(…);
void edac_debugfs_create_x8(const char *name, umode_t mode,
struct dentry *parent, u8 *value)
{ … }
EXPORT_SYMBOL_GPL(…);
void edac_debugfs_create_x16(const char *name, umode_t mode,
struct dentry *parent, u16 *value)
{ … }
EXPORT_SYMBOL_GPL(…);
void edac_debugfs_create_x32(const char *name, umode_t mode,
struct dentry *parent, u32 *value)
{ … }
EXPORT_SYMBOL_GPL(…);