Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | xfs_mru_cache_elem |
Typedefs | |
typedef struct xfs_mru_cache_elem | xfs_mru_cache_elem_t |
Functions | |
STATIC unsigned long | _xfs_mru_cache_migrate (xfs_mru_cache_t *mru, unsigned long now) |
STATIC void | _xfs_mru_cache_list_insert (xfs_mru_cache_t *mru, xfs_mru_cache_elem_t *elem) |
STATIC void | _xfs_mru_cache_clear_reap_list (xfs_mru_cache_t *mru) __releases(mru-> lock) __acquires(mru->lock) |
STATIC void | _xfs_mru_cache_reap (struct work_struct *work) |
int | xfs_mru_cache_init (void) |
void | xfs_mru_cache_uninit (void) |
int | xfs_mru_cache_create (xfs_mru_cache_t **mrup, unsigned int lifetime_ms, unsigned int grp_count, xfs_mru_cache_free_func_t free_func) |
void | xfs_mru_cache_destroy (xfs_mru_cache_t *mru) |
int | xfs_mru_cache_insert (xfs_mru_cache_t *mru, unsigned long key, void *value) |
void * | xfs_mru_cache_remove (xfs_mru_cache_t *mru, unsigned long key) |
void | xfs_mru_cache_delete (xfs_mru_cache_t *mru, unsigned long key) |
void * | xfs_mru_cache_lookup (xfs_mru_cache_t *mru, unsigned long key) |
void | xfs_mru_cache_done (xfs_mru_cache_t *mru) __releases(mru-> lock) |
STATIC void _xfs_mru_cache_clear_reap_list | ( | xfs_mru_cache_t * | mru | ) | -> lock) __acquires(mru->lock) |
Definition at line 233 of file xfs_mru_cache.c.
STATIC void _xfs_mru_cache_list_insert | ( | xfs_mru_cache_t * | mru, |
xfs_mru_cache_elem_t * | elem | ||
) |
Definition at line 195 of file xfs_mru_cache.c.
STATIC unsigned long _xfs_mru_cache_migrate | ( | xfs_mru_cache_t * | mru, |
unsigned long | now | ||
) |
Definition at line 131 of file xfs_mru_cache.c.
STATIC void _xfs_mru_cache_reap | ( | struct work_struct * | work | ) |
Definition at line 277 of file xfs_mru_cache.c.
int xfs_mru_cache_create | ( | xfs_mru_cache_t ** | 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 | ( | xfs_mru_cache_t * | mru, |
unsigned long | key | ||
) |
Definition at line 513 of file xfs_mru_cache.c.
void xfs_mru_cache_destroy | ( | xfs_mru_cache_t * | mru | ) |
Definition at line 422 of file xfs_mru_cache.c.
void xfs_mru_cache_done | ( | xfs_mru_cache_t * | mru | ) | -> lock) |
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 | ( | xfs_mru_cache_t * | mru, |
unsigned long | key, | ||
void * | value | ||
) |
Definition at line 440 of file xfs_mru_cache.c.
void* xfs_mru_cache_lookup | ( | xfs_mru_cache_t * | mru, |
unsigned long | key | ||
) |
Definition at line 544 of file xfs_mru_cache.c.
void* xfs_mru_cache_remove | ( | xfs_mru_cache_t * | mru, |
unsigned long | key | ||
) |
Definition at line 482 of file xfs_mru_cache.c.
Definition at line 325 of file xfs_mru_cache.c.