Implementation of the storage structure related operations. More...
#include <linux/module.h>#include <linux/slab.h>#include "storage.h"#include "cache.h"
Go to the source code of this file.
Functions | |
| struct mumufs_storage * | mumufs_allocate_storage (void) |
| Allocates and initializes a single mumufs_storage struct. | |
| void | mumufs_free_storage (struct mumufs_storage *element) |
| Frees the mumufs_storage structure and the related lists. | |
Implementation of the storage structure related operations.
This file is released under the GPL.
Definition in file storage.c.
| struct mumufs_storage* mumufs_allocate_storage | ( | void | ) | [read] |
Allocates and initializes a single mumufs_storage struct.
Definition at line 24 of file storage.c.
References mumufs_storage_cache.
| void mumufs_free_storage | ( | struct mumufs_storage * | element | ) |
Frees the mumufs_storage structure and the related lists.
| element | A pointer to the structure to be deallocated |
Definition at line 54 of file storage.c.
References mumufs_storage::buffer, and mumufs_storage_cache.
Referenced by mumufs_kill_super().