#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hash.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/mbcache.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Andreas Gruenbacher <[email protected]>") |
|
| MODULE_DESCRIPTION ("Meta block cache (for extended attributes)") |
|
| MODULE_LICENSE ("GPL") |
|
| EXPORT_SYMBOL (mb_cache_create) |
|
| EXPORT_SYMBOL (mb_cache_shrink) |
|
| EXPORT_SYMBOL (mb_cache_destroy) |
|
| EXPORT_SYMBOL (mb_cache_entry_alloc) |
|
| EXPORT_SYMBOL (mb_cache_entry_insert) |
|
| EXPORT_SYMBOL (mb_cache_entry_release) |
|
| EXPORT_SYMBOL (mb_cache_entry_free) |
|
| EXPORT_SYMBOL (mb_cache_entry_get) |
|
| EXPORT_SYMBOL (mb_cache_entry_find_first) |
|
| EXPORT_SYMBOL (mb_cache_entry_find_next) |
|
struct mb_cache * | mb_cache_create (const char *name, int bucket_bits) |
|
void | mb_cache_shrink (struct block_device *bdev) |
|
void | mb_cache_destroy (struct mb_cache *cache) |
|
struct mb_cache_entry * | mb_cache_entry_alloc (struct mb_cache *cache, gfp_t gfp_flags) |
|
int | mb_cache_entry_insert (struct mb_cache_entry *ce, struct block_device *bdev, sector_t block, unsigned int key) |
|
void | mb_cache_entry_release (struct mb_cache_entry *ce) |
|
void | mb_cache_entry_free (struct mb_cache_entry *ce) |
|
struct mb_cache_entry * | mb_cache_entry_get (struct mb_cache *cache, struct block_device *bdev, sector_t block) |
|
struct mb_cache_entry * | mb_cache_entry_find_first (struct mb_cache *cache, struct block_device *bdev, unsigned int key) |
|
struct mb_cache_entry * | mb_cache_entry_find_next (struct mb_cache_entry *prev, struct block_device *bdev, unsigned int key) |
|
#define mb_assert |
( |
|
c | ) |
do { } while(0) |
#define MB_CACHE_WRITER ((unsigned short)~0U >> 1) |
#define mb_debug |
( |
|
f... | ) |
do { } while(0) |
Value:do { \
printk("\n"); \
} while(0)
Definition at line 53 of file mbcache.c.