Defenition of the structures which are related to a mount point. More...
#include <linux/list.h>#include <linux/rwsem.h>#include <linux/kernel.h>#include <linux/mount.h>#include <asm/atomic.h>#include <linux/fs.h>

Go to the source code of this file.
Data Structures | |
| struct | mumu_mount_data |
| The structure is created once per mounted FS. More... | |
Defines | |
| #define | DEFAULTMAXBLOCKSIZE (32 * 1024) |
| #define | DEFAULTMAXENTRIES (64 * 1024) |
Functions | |
| int | mumufs_parse_opt (char *opt, struct mumu_mount_data *d) |
| parses mount parameters and fills the mumu_mount_data structure | |
| int | mumufs_show_options (struct seq_file *m, struct vfsmount *mnt) |
| shows the options which were used when the FS was mounted | |
| int | mumufs_init_mount_data (struct mumu_mount_data *d) |
| initialises mount point data | |
| int | mumufs_umount_cleanup (struct super_block *sb) |
| cleans up the mount point related data | |
Defenition of the structures which are related to a mount point.
This file is released under the GPL.
Definition in file mountdata.h.
| #define DEFAULTMAXBLOCKSIZE (32 * 1024) |
Default limitation: max block size
Definition at line 36 of file mountdata.h.
Referenced by mumufs_parse_opt().
| #define DEFAULTMAXENTRIES (64 * 1024) |
Default limitation: max number of entries
Definition at line 39 of file mountdata.h.
Referenced by mumufs_parse_opt().
| int mumufs_init_mount_data | ( | struct mumu_mount_data * | d | ) |
initialises mount point data
| d | mount point data structure pointer |
Definition at line 118 of file mountdata.c.
References mumu_mount_data::mount, and mumu_mount_data::number_of_entries.
| int mumufs_parse_opt | ( | char * | opt, | |
| struct mumu_mount_data * | d | |||
| ) |
parses mount parameters and fills the mumu_mount_data structure
| opt | mount parameters | |
| d | pointer to a structure where mount parameters are stored |
Definition at line 53 of file mountdata.c.
References DEFAULTMAXBLOCKSIZE, DEFAULTMAXENTRIES, mumu_mount_data::max_block_size, mumu_mount_data::max_entries, OPT_MAX_BLOCK_SIZE, and OPT_MAX_ENTRIES.
| int mumufs_show_options | ( | struct seq_file * | m, | |
| struct vfsmount * | mnt | |||
| ) |
shows the options which were used when the FS was mounted
| m | area to print into | |
| mnt | mount point |
Definition at line 99 of file mountdata.c.
References mumu_mount_data::max_block_size, and mumu_mount_data::max_entries.
| int mumufs_umount_cleanup | ( | struct super_block * | sb | ) |
cleans up the mount point related data
| sb | superblock pointer |
Definition at line 132 of file mountdata.c.
References mumu_mount_data::mount.