blob: 39b1d4766ccff875055d071e763255bace538f8e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * datastream.h
4 *
5 */
6
7struct buffer_head *befs_read_datastream(struct super_block *sb,
Al Viro22341d82016-05-10 14:24:06 -04008 const befs_data_stream *ds,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +01009 befs_off_t pos, uint *off);
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Al Viro22341d82016-05-10 14:24:06 -040011int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +010012 befs_blocknr_t fblock, befs_block_run *run);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Al Viro22341d82016-05-10 14:24:06 -040014size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data,
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 void *buff, befs_off_t len);
16
Al Viro22341d82016-05-10 14:24:06 -040017befs_blocknr_t befs_count_blocks(struct super_block *sb,
18 const befs_data_stream *ds);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20extern const befs_inode_addr BAD_IADDR;