Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | xfs_mru_cache |
Typedefs | |
typedef void(* | xfs_mru_cache_free_func_t )(unsigned long, void *) |
typedef struct xfs_mru_cache | xfs_mru_cache_t |
Functions | |
int | xfs_mru_cache_init (void) |
void | xfs_mru_cache_uninit (void) |
int | xfs_mru_cache_create (struct xfs_mru_cache **mrup, unsigned int lifetime_ms, unsigned int grp_count, xfs_mru_cache_free_func_t free_func) |
void | xfs_mru_cache_destroy (struct xfs_mru_cache *mru) |
int | xfs_mru_cache_insert (struct xfs_mru_cache *mru, unsigned long key, void *value) |
void * | xfs_mru_cache_remove (struct xfs_mru_cache *mru, unsigned long key) |
void | xfs_mru_cache_delete (struct xfs_mru_cache *mru, unsigned long key) |
void * | xfs_mru_cache_lookup (struct xfs_mru_cache *mru, unsigned long key) |
void | xfs_mru_cache_done (struct xfs_mru_cache *mru) |
Definition at line 23 of file xfs_mru_cache.h.
typedef struct xfs_mru_cache xfs_mru_cache_t |
int xfs_mru_cache_create | ( | struct xfs_mru_cache ** | mrup, |
unsigned int | lifetime_ms, | ||
unsigned int | grp_count, | ||
xfs_mru_cache_free_func_t | free_func | ||
) |
Definition at line 338 of file xfs_mru_cache.c.
void xfs_mru_cache_delete | ( | struct xfs_mru_cache * | mru, |
unsigned long | key | ||
) |
Definition at line 513 of file xfs_mru_cache.c.
void xfs_mru_cache_destroy | ( | struct xfs_mru_cache * | mru | ) |
Definition at line 422 of file xfs_mru_cache.c.
void xfs_mru_cache_done | ( | struct xfs_mru_cache * | mru | ) |
Definition at line 572 of file xfs_mru_cache.c.
Definition at line 305 of file xfs_mru_cache.c.
int xfs_mru_cache_insert | ( | struct xfs_mru_cache * | mru, |
unsigned long | key, | ||
void * | value | ||
) |
Definition at line 440 of file xfs_mru_cache.c.
void* xfs_mru_cache_lookup | ( | struct xfs_mru_cache * | mru, |
unsigned long | key | ||
) |
Definition at line 544 of file xfs_mru_cache.c.
void* xfs_mru_cache_remove | ( | struct xfs_mru_cache * | mru, |
unsigned long | key | ||
) |
Definition at line 482 of file xfs_mru_cache.c.
Definition at line 325 of file xfs_mru_cache.c.