blob: 7ff9ff09ec6e70718b4b8bd398239922d1065f84 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * datastream.h
3 *
4 */
5
6struct buffer_head *befs_read_datastream(struct super_block *sb,
Al Viro22341d82016-05-10 14:24:06 -04007 const befs_data_stream *ds,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +01008 befs_off_t pos, uint *off);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Al Viro22341d82016-05-10 14:24:06 -040010int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +010011 befs_blocknr_t fblock, befs_block_run *run);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Al Viro22341d82016-05-10 14:24:06 -040013size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data,
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 void *buff, befs_off_t len);
15
Al Viro22341d82016-05-10 14:24:06 -040016befs_blocknr_t befs_count_blocks(struct super_block *sb,
17 const befs_data_stream *ds);
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19extern const befs_inode_addr BAD_IADDR;