#include <linux/module.h>
#include <linux/init.h>
#include <linux/parser.h>
#include <linux/mount.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/statfs.h>
#include <linux/user_namespace.h>
#include <linux/blkdev.h>
#include "adfs.h"
#include "dir_f.h"
#include "dir_fplus.h"
#define ADFS_SB_FLAGS …
#define ADFS_DEFAULT_OWNER_MASK …
#define ADFS_DEFAULT_OTHER_MASK …
void __adfs_error(struct super_block *sb, const char *function, const char *fmt, ...)
{ … }
void adfs_msg(struct super_block *sb, const char *pfx, const char *fmt, ...)
{ … }
static int adfs_checkdiscrecord(struct adfs_discrecord *dr)
{ … }
static void adfs_put_super(struct super_block *sb)
{ … }
static int adfs_show_options(struct seq_file *seq, struct dentry *root)
{ … }
enum { … };
static const match_table_t tokens = …;
static int parse_options(struct super_block *sb, struct adfs_sb_info *asb,
char *options)
{ … }
static int adfs_remount(struct super_block *sb, int *flags, char *data)
{ … }
static int adfs_statfs(struct dentry *dentry, struct kstatfs *buf)
{ … }
static struct kmem_cache *adfs_inode_cachep;
static struct inode *adfs_alloc_inode(struct super_block *sb)
{ … }
static void adfs_free_inode(struct inode *inode)
{ … }
static int adfs_drop_inode(struct inode *inode)
{ … }
static void init_once(void *foo)
{ … }
static int __init init_inodecache(void)
{ … }
static void destroy_inodecache(void)
{ … }
static const struct super_operations adfs_sops = …;
static int adfs_probe(struct super_block *sb, unsigned int offset, int silent,
int (*validate)(struct super_block *sb,
struct buffer_head *bh,
struct adfs_discrecord **bhp))
{ … }
static int adfs_validate_bblk(struct super_block *sb, struct buffer_head *bh,
struct adfs_discrecord **drp)
{ … }
static int adfs_validate_dr0(struct super_block *sb, struct buffer_head *bh,
struct adfs_discrecord **drp)
{ … }
static int adfs_fill_super(struct super_block *sb, void *data, int silent)
{ … }
static struct dentry *adfs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data)
{ … }
static struct file_system_type adfs_fs_type = …;
MODULE_ALIAS_FS(…) …;
static int __init init_adfs_fs(void)
{ … }
static void __exit exit_adfs_fs(void)
{ … }
module_init(…) …
module_exit(…)
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;