root/fs/fat/msbuffer.h

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

INCLUDED FROM


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

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