Implementation of the meat of the mumufs. It supports multiple writers and multiple readers. More...
#include <linux/module.h>#include <linux/fs.h>#include <linux/pagemap.h>#include <linux/highmem.h>#include <linux/init.h>#include <linux/string.h>#include <linux/smp_lock.h>#include <linux/backing-dev.h>#include <linux/slab.h>#include <linux/statfs.h>#include <asm/uaccess.h>#include "mountdata.h"#include "procfs.h"#include "storage.h"#include "file.h"
Go to the source code of this file.
Defines | |
| #define | MUMUFS_MAGIC 0x710110 |
Functions | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Sergey Satskiy") | |
| MODULE_DESCRIPTION ("MuMu filesystem supports multiple writers and multiple readers") | |
| int | mumufs_get_sb (struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) |
| Creates mumufs superblock. | |
| void | mumufs_kill_super (struct super_block *sb) |
| Kills mumufs superblock. | |
Variables | |
| struct kmem_cache * | mumufs_storage_cache |
| Extern declaration of a global pointer to the struct mumufs_storage cache. The things are done in the inode.c file. | |
Implementation of the meat of the mumufs. It supports multiple writers and multiple readers.
This file is released under the GPL.
Definition in file inode.c.
| int mumufs_get_sb | ( | struct file_system_type * | fs_type, | |
| int | flags, | |||
| const char * | dev_name, | |||
| void * | data, | |||
| struct vfsmount * | mnt | |||
| ) |
Creates mumufs superblock.
| fs_type | ||
| flags | ||
| dev_name | device name | |
| data | mount options | |
| mnt | mount point information |
Definition at line 526 of file inode.c.
References mumu_mount_data::mount.
| void mumufs_kill_super | ( | struct super_block * | sb | ) |
Kills mumufs superblock.
| sb | Pointer to the superblock to be killed |
Definition at line 551 of file inode.c.
References mumufs_free_storage().

| struct kmem_cache* mumufs_storage_cache |
Extern declaration of a global pointer to the struct mumufs_storage cache. The things are done in the inode.c file.
Global pointer to a cache
Definition at line 43 of file inode.c.
Referenced by mumufs_allocate_storage(), and mumufs_free_storage().