xref: /openbmc/linux/fs/befs/datastream.h (revision d2ba09c1)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * datastream.h
4  *
5  */
6 
7 struct buffer_head *befs_read_datastream(struct super_block *sb,
8 					 const befs_data_stream *ds,
9 					 befs_off_t pos, uint *off);
10 
11 int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
12 		     befs_blocknr_t fblock, befs_block_run *run);
13 
14 size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data,
15 			  void *buff, befs_off_t len);
16 
17 befs_blocknr_t befs_count_blocks(struct super_block *sb,
18 			  const befs_data_stream *ds);
19 
20 extern const befs_inode_addr BAD_IADDR;
21