5 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
13 struct BlockCache
*next
;
15 ULONG blocknum
; /* zero means block is empty */
23 struct BlockCache
*initCache(struct AFSBase
*, struct Volume
*volume
, ULONG
);
24 void freeCache(struct AFSBase
*, struct BlockCache
*);
25 struct BlockCache
*getFreeCacheBlock(struct AFSBase
*, struct Volume
*, ULONG
);
26 struct BlockCache
*getBlock(struct AFSBase
*, struct Volume
*, ULONG
);
27 LONG
writeBlock(struct AFSBase
*, struct Volume
*, struct BlockCache
*, LONG
);
28 VOID
writeBlockDeferred(struct AFSBase
*, struct Volume
*, struct BlockCache
*, LONG
);
29 void clearCache(struct AFSBase
*, struct BlockCache
*);
30 VOID
flushCache(struct AFSBase
*, struct Volume
*);
31 void checkCache(struct AFSBase
*, struct Volume
*);