|
|
| File: [Development] / linux-2.4-xfs / include / linux / cache_def.h (download)
Revision 1.2, Thu May 13 03:52:55 2004 UTC (13 years, 5 months ago) by nathans
Tweak the cache_defs patch to do closer to what we need for XFS. |
/*
* linux/cache_def.h
* Handling of caches defined in drivers, filesystems, ...
*
* Copyright (C) 2002 by Andreas Gruenbacher, <a.gruenbacher@computer.org>
*/
#ifndef _LINUX_CACHE_DEF_H
#define _LINUX_CACHE_DEF_H
struct cache_definition {
const char *name;
int (*shrink)(int, unsigned int);
struct list_head link;
};
extern void register_cache(struct cache_definition *);
extern void unregister_cache(struct cache_definition *);
#endif /* _LINUX_CACHE_DEF_H */