#include <linux/module.h>
#include <linux/iversion.h>
#include "fat.h"
static unsigned char bad_chars[] = …;
static unsigned char bad_if_strict[] = …;
static int msdos_format_name(const unsigned char *name, int len,
unsigned char *res, struct fat_mount_options *opts)
{ … }
static int msdos_find(struct inode *dir, const unsigned char *name, int len,
struct fat_slot_info *sinfo)
{ … }
static int msdos_hash(const struct dentry *dentry, struct qstr *qstr)
{ … }
static int msdos_cmp(const struct dentry *dentry,
unsigned int len, const char *str, const struct qstr *name)
{ … }
static const struct dentry_operations msdos_dentry_operations = …;
static struct dentry *msdos_lookup(struct inode *dir, struct dentry *dentry,
unsigned int flags)
{ … }
static int msdos_add_entry(struct inode *dir, const unsigned char *name,
int is_dir, int is_hid, int cluster,
struct timespec64 *ts, struct fat_slot_info *sinfo)
{ … }
static int msdos_create(struct mnt_idmap *idmap, struct inode *dir,
struct dentry *dentry, umode_t mode, bool excl)
{ … }
static int msdos_rmdir(struct inode *dir, struct dentry *dentry)
{ … }
static int msdos_mkdir(struct mnt_idmap *idmap, struct inode *dir,
struct dentry *dentry, umode_t mode)
{ … }
static int msdos_unlink(struct inode *dir, struct dentry *dentry)
{ … }
static int do_msdos_rename(struct inode *old_dir, unsigned char *old_name,
struct dentry *old_dentry,
struct inode *new_dir, unsigned char *new_name,
struct dentry *new_dentry, int is_hid)
{ … }
static int msdos_rename(struct mnt_idmap *idmap,
struct inode *old_dir, struct dentry *old_dentry,
struct inode *new_dir, struct dentry *new_dentry,
unsigned int flags)
{ … }
static const struct inode_operations msdos_dir_inode_operations = …;
static void setup(struct super_block *sb)
{ … }
static int msdos_fill_super(struct super_block *sb, struct fs_context *fc)
{ … }
static int msdos_get_tree(struct fs_context *fc)
{ … }
static int msdos_parse_param(struct fs_context *fc, struct fs_parameter *param)
{ … }
static const struct fs_context_operations msdos_context_ops = …;
static int msdos_init_fs_context(struct fs_context *fc)
{ … }
static struct file_system_type msdos_fs_type = …;
MODULE_ALIAS_FS(…) …;
static int __init init_msdos_fs(void)
{ … }
static void __exit exit_msdos_fs(void)
{ … }
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
module_init(…) …
module_exit(…)