root/fs/fat/msbuffer.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* Number of bytes to readahead on disc access */
   2 #define FAT_READAHEAD (18*1024)
   3 
   4 struct buffer_head *fat_bread (struct super_block *sb, int block);
   5 struct buffer_head *fat_getblk (struct super_block *sb, int block);
   6 void fat_brelse (struct super_block *sb, struct buffer_head *bh);
   7 void fat_mark_buffer_dirty (struct super_block *sb,
   8          struct buffer_head *bh,
   9          int dirty_val);
  10 void fat_set_uptodate (struct super_block *sb,
  11          struct buffer_head *bh,
  12          int val);
  13 int fat_is_uptodate (struct super_block *sb, struct buffer_head *bh);
  14 void fat_ll_rw_block (struct super_block *sb, int opr,
  15         int nbreq, struct buffer_head *bh[32]);
  16 
  17 /* These macros exist to avoid modifying all the code */
  18 /* They should be removed one day I guess */
  19 
  20 /* The versioning mechanism of the modules system defines those macros */
  21 /* This removes some warnings */
  22 #ifdef brelse
  23         #undef brelse
  24 #endif
  25 #ifdef bread
  26         #undef bread
  27 #endif
  28 #ifdef getblk
  29         #undef getblk
  30 #endif
  31 
  32 #define brelse(b)                       fat_brelse(sb,b)
  33 #define bread(d,b,s)                    fat_bread(sb,b)
  34 #define getblk(d,b,s)                   fat_getblk(sb,b)
  35 #define mark_buffer_dirty(b,v)          fat_mark_buffer_dirty(sb,b,v)
  36 

/* [previous][next][first][last][top][bottom][index][help] */