blob: 91ba8203d83f221278df23e8bb4ab5c3e9cb6d11 [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,
8 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,
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 befs_blocknr_t fblock, befs_block_run * run);
12
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;
20