#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <linux/uaccess.h>
#include "masklog.h"
struct mlog_bits mlog_and_bits = …;
EXPORT_SYMBOL_GPL(…);
struct mlog_bits mlog_not_bits = …;
EXPORT_SYMBOL_GPL(…);
static ssize_t mlog_mask_show(u64 mask, char *buf)
{ … }
static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count)
{ … }
void __mlog_printk(const u64 *mask, const char *func, int line,
const char *fmt, ...)
{ … }
EXPORT_SYMBOL_GPL(…);
struct mlog_attribute { … };
#define to_mlog_attr(_attr) …
#define define_mask(_name) …
static struct mlog_attribute mlog_attrs[MLOG_MAX_BITS] = …;
static struct attribute *mlog_default_attrs[MLOG_MAX_BITS] = …;
ATTRIBUTE_GROUPS(…);
static ssize_t mlog_show(struct kobject *obj, struct attribute *attr,
char *buf)
{ … }
static ssize_t mlog_store(struct kobject *obj, struct attribute *attr,
const char *buf, size_t count)
{ … }
static const struct sysfs_ops mlog_attr_ops = …;
static struct kobj_type mlog_ktype = …;
static struct kset mlog_kset = …;
int mlog_sys_init(struct kset *o2cb_kset)
{ … }
void mlog_sys_shutdown(void)
{ … }