alsa.audio: move handling of XRUN when writting to the slave task
[AROS.git] / rom / filesys / SFS / FS / bitmap_protos.h
blob5182d60a6438907147e986a21e43f5bb70b77642
1 #ifndef _BITMAP_PROTOS_H
2 #define _BITMAP_PROTOS_H
4 #include <exec/types.h>
5 #include "blockstructure.h"
7 LONG markspace(BLCK,ULONG);
8 LONG freespace(BLCK,ULONG);
9 LONG extractspace(UBYTE *dest, BLCK block, ULONG blocks);
11 LONG availablespace(BLCK block,ULONG maxneeded);
12 LONG allocatedspace(BLCK block,ULONG maxneeded);
14 LONG findspace(ULONG blocksneeded,BLCK startblock,BLCK endblock,BLCK *returned_block);
15 LONG findspace2(ULONG blocksneeded,BLCK startblock,BLCK endblock,BLCK *returned_block, ULONG *returned_blocks);
16 LONG findspace2_backwards(ULONG maxneeded, BLCK startblock, BLCK endblock, BLCK *returned_block, ULONG *returned_blocks);
17 LONG findandmarkspace(ULONG,BLCK *);
18 LONG smartfindandmarkspace(BLCK startblock,ULONG blocksneeded);
20 LONG getusedblocks(ULONG *returned_usedblocks);
21 LONG getfreeblocks(ULONG *returned_freeblocks);
22 LONG setfreeblocks(ULONG freeblocks);
24 #endif // _BITMAP_PROTOS_H