Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
| 3 | * datastream.h |
| 4 | * |
| 5 | */ |
| 6 | |
| 7 | struct buffer_head *befs_read_datastream(struct super_block *sb, |
Al Viro | 22341d8 | 2016-05-10 14:24:06 -0400 | [diff] [blame] | 8 | const befs_data_stream *ds, |
Luis de Bethencourt | 12ecb38 | 2016-08-14 18:31:38 +0100 | [diff] [blame] | 9 | befs_off_t pos, uint *off); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Al Viro | 22341d8 | 2016-05-10 14:24:06 -0400 | [diff] [blame] | 11 | int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data, |
Luis de Bethencourt | 12ecb38 | 2016-08-14 18:31:38 +0100 | [diff] [blame] | 12 | befs_blocknr_t fblock, befs_block_run *run); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Al Viro | 22341d8 | 2016-05-10 14:24:06 -0400 | [diff] [blame] | 14 | size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | void *buff, befs_off_t len); |
| 16 | |
Al Viro | 22341d8 | 2016-05-10 14:24:06 -0400 | [diff] [blame] | 17 | befs_blocknr_t befs_count_blocks(struct super_block *sb, |
| 18 | const befs_data_stream *ds); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
| 20 | extern const befs_inode_addr BAD_IADDR; |