patch-2.3.20 linux/include/linux/dcache.h

Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/acpi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/include/linux/dcache.h linux/include/linux/dcache.h
@@ -131,7 +131,6 @@
 
 /* allocate/de-allocate */
 extern struct dentry * d_alloc(struct dentry *, const struct qstr *);
-extern void prune_dcache(int);
 extern void shrink_dcache_sb(struct super_block *);
 extern void shrink_dcache_parent(struct dentry *);
 extern int d_invalidate(struct dentry *);
@@ -139,10 +138,12 @@
 #define shrink_dcache() prune_dcache(0)
 
 /* dcache memory management */
-extern int  select_dcache(int, int);
-extern void shrink_dcache_memory(int, unsigned int);
-extern void check_dcache_memory(void);
-extern void free_inode_memory(int);	/* defined in fs/inode.c */
+extern int shrink_dcache_memory(int, unsigned int);
+extern void prune_dcache(int);
+
+/* icache memory management (defined in linux/fs/inode.c) */
+extern int shrink_icache_memory(int, int);
+extern void prune_icache(int);
 
 /* only used at mount-time */
 extern struct dentry * d_alloc_root(struct inode *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)